mikroC - C Compiler for Microchip PIC microcontrollers
Hardware Connection
+5V
+5V
page
248
PIC16F877A
MCLR/Vpp/THV
RB7/PGD
RA0/AN0
RB6/PGC
RA1/AN1
RB5
RB4
RA2/AN2/Vref-
RB3/PGM
RA3/AN3/Vref+
RA4/TOCKI
RB2
RB1
RA5/AN4
RE0/RD/AN5
RB0/INT
RE1/WR/AN6
Vdd
RE2/CS/AN7
Vss
Vdd
RD7/PSP7
Vss
RD6/PSP6
RD5/PSP5
OSC1
OSC2
RD4/PSP4
RCO/T1OSO
RC7/RX/DT
RC1/T1OSI
RC6/TX/CK
RC2/CCP1
RC5
RC3
RC4
RD0/PSP0
RD3/PSP3
RD1/PSP1
RD2/PSP2
+
+
RX
TX
RTS
GND
+
MikroElektronika: Development tools - Books - Compilers
Connecting PC and PIC via
RS485 communication line
+5V
R0
RE
DE
DI
LTC485
Shielded pair
less than 300m
long
4.7uF
C1+
Vcc
R0
V+
GND
RE
C1-
T1out
DE
R1in
C2+
DI
C2-
R1out
LTC485
V-
T1in
T2out
T2in
R2in
R2out
MAX232
RS232 to RS485 converter
mikroC
making it simple...
Up to 32 devices can
be connected to
RS485 line
+5V
Vcc
B
A
GND
+5V
Vcc
B
A
GND
Need help?
Do you have a question about the PIC Microcontrollers PIC12 and is the answer not in the manual?