4. Microprocessor
Is a device which performs Arithmetic & Logic Operations.
◦ No inbuilt RAM
◦ No inbuilt ROM
◦ No inbuilt I/O ports
◦ Bulkier & Expensive
5. Microcontroller
isdefined as combination of Microprocessor & its external
units.
◦ Inbuilt RAM
◦ Inbuilt ROM
◦ Inbuilt I/O ports
8. Pin Diagram
AT89C51 IC is a 40 pin IC.
DIP (Dual In-line package)
4 ports
2 supply pins
2 crystal pins
1 reset pin
3 control signal
9. Interrupts
Any kind of emergency is called Interrupts.
◦ 6 interrupts
RST 0000H
INT0 0003H
TF0 000BH
INT1 0013H
TF1 001BH
Serial (TI & RI) 0023H
10. Project
DTMF based ROBO Car
◦ On pressing 2, the robot will move forward
◦ On pressing 4, the robot will turn left
◦ On pressing 6, the robot will turn right
◦ On pressing 8, the robot will move
backwards
◦ On pressing 5, the robot will stop