Microcontrollers Architecture
Control System
Not ProgrammingProgramming
Microprocessor Microcontroller PLC
Relay
Logic
Gates
OP-amp
Relay
PIC 16F877A Hardware.
Main Connections.
 Software Requirements.
Hardware Requirements.
PIC 16F877A Hardware
Port A
Port E
Port C
Port B
Port D Port D
Port C
Port D
 IO ports of MCUs are 8 bit data registers that connect MCUs to
outside world.
 IO ports in PIC16F877A are 5 ports named " PORT A,PORTB
PORT C,PORT D,PORT E.
IO ports of MCUs are "Bidirectional" that the single port can be used
either input or output.
The register for each port is used to control port data direction flow
called TRISx ,any pin could be an input pin if its equivalent TRISx bit is
1 and output if 0.
VDD : Connected to DC source 5v.
Vss : Connected to the Ground
 Supply Current : 100 mA
 Output current : 25 mA
Power supply
Circuits
 It’s used As the restart button in your Computer.
PIC 16F877A Hardware.
Main Connections.
 Software Requirements.
Hardware Requirements.
Main Connections
10 KΩ
PIC 16F877A Hardware.
Main Connections.
 Software Requirements.
Hardware Requirements.
Software Requirements.
1. Proteus.
2. Micro c Pro.
3. Burner program.
PIC 16F877A Hardware.
Main Connections.
 Software Requirements.
Hardware Requirements.
Hardware Requirements.
1. Pc.
2. Programmer..
3. Other components as
pic16f877a..breadboard..resisto
rs….capacitors…lcd...sensor…
power supply…

Microcontroller lec 2