AT89C51 is an 8-bit microcontroller and belongs to Atmel's 8051 family. ATMEL 89C51 has 4KB of Flash programmable and erasable read only memory (PEROM) and 128 bytes of RAM. It can be erased and program to a maximum of 1000 times.
In 40 pin AT89C51, there are four ports designated as P1, P2, P3 and P0. All these ports are 8-bit bi-directional ports, i.e., they can be used as both input and output ports. Except P0 which needs external pull-ups, rest of the ports have internal pull-ups. When 1s are written to these port pins, they are pulled high by the internal pull-ups and can be used as inputs. These ports are also bit addressable and so their bits can also be accessed individually.
Power on Circuit:
- AT89C51 microcontroller
- Push buttons
- 12MHz Crystal oscillator
- 30pF Capacitor
- Jumper wires
- Bread Board
- AA Battery
- 8.2k ohm resistor
- 10uF resistor
The LEDs in the circuit are connected to the different ports of the micro controller the purple one wire is the ground and the green one wire is the Vcc of the micro controller the circuit diagram is given below:
No comments:
Post a Comment