mikroC
making it simple...
Hardware Connection
mikroC - C Compiler for Microchip PIC microcontrollers
+5V
10K
Reset | +5V |
|
4MHz
PIC18F458
|
|
|
|
|
|
|
|
|
MCLR/Vpp |
|
| RB7/PGD | |||||
RA0/AN0/Cvref |
|
| RB6/PGC | |||||
RA1/AN1 |
|
| RB5/PGM | |||||
RA2/AN2/Vref- |
|
| RB4 | |||||
RA3/AN3/Vref+ |
|
| RB3/CANRX | |||||
RA4/TOCKI | RB2/CANTX/INT2 | |||||||
|
|
|
|
| ||||
RA5/AN4/SS/LVDIN |
| RB1/INT1 | ||||||
|
|
|
|
|
|
|
| |
RE0/AN5/RD/ |
|
| RB0/INT0 | |||||
|
|
|
|
|
| |||
RE1/AN6/WR/C1OUT | Vdd | |||||||
RE2/AN7/CS/C2OUT |
| Vss | ||||||
Vdd |
| RD7/PSP7/P1D | ||||||
Vss |
| RD6/PSP6/P1C | ||||||
OSC1/CLKI |
| RD5/PSP5/P1B | ||||||
OSC2/CLKO/RA6 |
|
| RD4/PSP4/ | |||||
|
| ECCP1/P1A | ||||||
|
|
|
|
|
|
|
| |
RC0/T1OSO/T1CKI |
| RC7/RX/DT | ||||||
RC1/T1OSI |
|
| RC6/TX/CK | |||||
RC2/CCP1 |
|
| RC5/SDO | |||||
RC3/SCK/SCL |
|
| RC4/SDI/SDA | |||||
RD0/PSP0/C1IN+ | RD3/PSP3/C2IN- | |||||||
RD1/PSP1/C1IN- | RD2/PSP2/C2IN+ |
| +5V | IC1 |
|
|
|
|
| |||||||||||
|
|
|
|
|
|
| +3V3 | |||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| IN OUT |
|
|
|
|
|
| |||||
100nF |
|
|
|
|
|
|
|
|
|
|
| 22uF | ||||||
| + |
|
|
| GND |
| + |
|
| |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2K2 | 2K2 | 2K2 |
3K3 | 3K3 | 3K3 |
SD
/CS
Data_IN
GND
+3V3
CLK
GND
Data_OUT
|
| page |
|
MikroElektronika: Development tools - Books - Compilers | 253 | ||
|
|