mikroC - C Compiler for Microchip PIC microcontrollers
Hardware Connection
+5V
|
|
|
| 10K |
| PIC16F877A |
| |
|
|
|
|
|
| MCLR/Vpp/THV | RB7/PGD |
|
|
|
|
|
|
| RA0/AN0 | RB6/PGC |
|
|
|
|
|
|
| RA1/AN1 | RB5 |
|
|
|
|
|
|
| RA2/AN2/Vref- | RB4 |
|
|
|
|
|
|
| RA3/AN3/Vref+ | RB3/PGM |
|
|
|
|
|
|
| RA4/TOCKI | RB2 |
|
|
|
|
| Reset |
| RA5/AN4 | RB1 |
|
|
|
|
|
| RE0/RD/AN5 | RB0/INT |
| |
|
|
|
|
|
|
| ||
|
|
|
|
| +5V | RE1/WR/AN6 | Vdd |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
| RE2/CS/AN7 | Vss | D7 |
|
|
|
|
|
| Vdd | RD7/PSP7 | |
|
|
|
|
|
| D6 | ||
|
|
|
|
|
| Vss | RD6/PSP6 | |
|
|
|
| +5V |
| D5 | ||
+125 | DS1820 |
| OSC1 | RD5/PSP5 | ||||
O C |
|
|
|
| D4 | |||
|
|
|
|
|
| OSC2 | RD4/PSP4 | |
|
|
|
|
|
|
| ||
| GND |
| Vdd |
|
| RCO/T1OSO | RC7/RX/DT |
|
DQ | 4MHz |
| RC1/T1OSI | RC6/TX/CK |
| |||
|
|
|
|
| RC5 |
| ||
|
|
|
|
| RC2/CCP1 |
| ||
|
|
|
|
|
|
| ||
|
|
|
|
|
| RC3 | RC4 | E |
|
|
|
|
|
| RD0/PSP0 | RD3/PSP3 | |
|
|
|
|
|
| RS | ||
|
|
|
|
|
| RD1/PSP1 | RD2/PSP2 | |
|
|
|
|
|
|
| ||
| K7 |
|
| +5V |
|
|
|
|
| 4 |
|
| LCDcontrast |
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
| 1 |
|
|
|
|
|
|
|
| Vss Vdd Vee RS R/W E | D0 D1 D2 D3 D4 D5 D6 D7 |
|
|
m i k roel E kt ron i ka
mikroC
making it simple...
page |
|
236 | MikroElektronika: Development tools - Books - Compilers |
|