mikroC
mikroC - C Compiler for Microchip PIC microcontrollers
making it simple...
Hardware Connection
+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 | |||||||
|
|
|
| RB1/INT1 | ||||
RA5/AN4/SS/LVDIN |
| |||||||
|
|
|
|
|
|
|
| |
RE0/AN5/RD/ |
|
| RB0/INT0 | |||||
|
|
|
|
| Vdd | |||
RE1/AN6/WR/C1OUT | ||||||||
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/CCP1RC5/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 |
|
|
|
|
|
|
|
|
|
| MMC | |||||||
|
|
|
|
|
|
|
|
|
| |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| /CS |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Data_IN |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| GND |
3K3 |
|
| 3K3 |
|
| 3K3 |
|
|
|
|
|
|
|
|
|
|
| +3V3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| CLK | |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| GND |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Data_OUT |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SV1
1 2 3 4 5 6 7
MMC
Back view
page |
|
232 | MikroElektronika: Development tools - Books - Compilers |
|