Dillinger is a cloud-enabled, mobile-ready, offline-storage compatible, AngularJS-powered HTML5 Markdown editor.
- 8 Bit Microcontroller
- 40 Pins with IO pins from P0-P4
- 4kb rom
- 128 Bytes of ram
- 2 16 bit Timmer
- On board interrupts
8051 microcontroller is designed by Intel in 1981. It is an 8-bit microcontroller. It is built with 40 pins DIP (dual inline package), 4kb of ROM storage and 128 bytes of RAM storage, 2 16-bit timers. It consists of are four parallel 8-bit ports, which are programmable as well as addressable as per the requirement. An on-chip crystal oscillator is integrated in the microcontroller having crystal frequency of 12 MHz.
Let us now discuss the architecture of 8051 Microcontroller.
In the following diagram, the system bus connects all the support devices to the CPU. The system bus consists of an 8-bit data bus, a 16-bit address bus and bus control signals. All other devices like program memory, ports, data memory, serial interface, interrupt control, timers, and the CPU are all interfaced together through the system bus.
Pin 1 to 8 are 1st 8 bit pins for this microcontroller that is 8 bit for port 1 range from 1.0-1.7 Pin 10 to 17 are 1st 8 bit pins for this microcontroller that is 8 bit for port 3 ranege etween 3.0-3.7 Pin 39 to 32 are 8 bit for port 0 pin 28-21 are 8 bit pins for port 2 lie bwtween 2.0-2.7
Here is require datasheet for this microcontroler Datasheet for 8051 microcontroller
Pin 10 of Arduino goes to Pin 9 RST pin of 8051 Pin 11 of Arduino goes to Pin 6 pin of 8051 Pin 12 of Arduino goes to Pin 7 pin of 8051 Pin 13 of Arduino goes to Pin 8 pin of 8051