What is microcontroller pin diagram?

The pin diagram of 8051 microcontroller looks as follows − Pins 1 to 8 − These pins are known as Port 1. This port doesn’t serve any other functions. It is internally pulled up, bi-directional I/O port. Pin 9 − It is a RESET pin, which is used to reset the microcontroller to its initial values.

What is connected XTAL1 and XTAL2?

A Quartz Crystal Oscillator is connected across XTAL1 and XTAL2 pins i.e. Pins 19 and 18.

What is the use of pins in microcontroller?

A typical microcontroller can have between 6 and 60 pins on it, to which you’re expected to attach power connections, input and output connections, and communications connections. Every microcontroller has different configurations for its pins, and often one pin will have more than one function.

What are the function of Rxd and TXD pins in 8051?

The detail function of each pins are given below: P 10 (RXD) – Pin 10 is used as a RXD (serial data receive pin) which is for serial input pin. By using this input signal microcontroller receives data for serial communication. P 11 (TXD) – Pin 11 is used as a TXD (serial data transmit pin) which is serial output pin.

What is microcontroller draw pin diagram for 8051 microcontroller?

8051 microcontroller is a 40 pin Dual Inline Package (DIP). These 40 pins serve different functions like read, write, I/O operations, interrupts etc. 8051 has four I/O ports wherein each port has 8 pins which can be configured as input or output depending upon the logic state of the pins.

What is RD in microcontroller?

Pin 17 (RD): Reading Signal to read contents of external RAM. Pin 18 and 19 (XTAL2, XTAL1): X2 and X1 pins are input output pins for the oscillator. These pins are used to connect an internal oscillator to the microcontroller.

What is the function of XTAL1 and XTAL2 pins?

XTAL1 & XTAL2 are used to provide external clock frequency within range from 4MHz to 30MHz. XTAL1 is connected to input to the inverting-oscillator-amplifier. XTAL2 is connected to output from the inverting-oscillator-amplifier.

What is the function of pins?

A pin is a device used for fastening objects or material together and can have three sorts of body: a shaft of a rigid inflexible material meant to be inserted in a slot, groove, or hole (as with pivots, hinges, and jigs); a shaft connected to a head and ending in a sharp tip meant to pierce one or more pieces of soft …

What is port and pin in microcontroller?

The pins are what stick out of an IC, and connect electrically to the outside world. Ports are represented by registers inside the microcontroller, and allow the program (firmware) to control the state of the pins, or conversely, read the state of the pins if they are configured as inputs.

What is INT0 and INT1?

Interrupt sources External interrupts are – external interrupt 0(INT0) and external interrupt 1 (INT1). Timer interrupts are Timer 0 interrupt and Timer 1 interrupt. A serial interrupt is given for serial communication with the micro controller (transmit and receive) .