Page 21 - Making PIC Microcontroller Instruments and Controllers
P. 21
A AlI II{TBODUCTIOI{ TO THE PIC I6FA77A MICROCOI{TBOLIEB UN|r
Serial intedace chip
I RS,l85
I RC servos (Two hobby R/C servos can be controlled simultaneously.)
I The LAB Xl providcs two scls ol pins for the R/C servos. A11 standard model air-
clafl servos canbe employed and you can use eilher onc or lwo servos, (Using these
is essentially anexercise in creating pulse width modulaled signals andprotiles that
meet the standards used in the radio control hobby industry.)
40-P|l{ DEVTCES
All40 pin MCUs ofered by Microchipcan be accommodated in the 40-pin ZIF socket
prcvided on rhe board. (Check for compatibility with the pin layout before selecting/
buying yowMCU. See Figure 1.1. The recommcndcd PIC l6F877A we are Lrsing is an
excellelt choice for leaming.)
BREADBOARDII{G AI{D EXPAI{SION
All of d1e MCUS 40 pins (on the LAB-X 1) have been provided with cxtra PC board holes
that can be used to exiend the signals from these pins to an oflboard location tbr tur-
ther experimentation.
The extensions are easily made with standard 0.1 inch on centcr
oins with matchins cables with henders.
1 40 BB7IPGD
2 39 B86/PGC
3 38 B85
37 RB4
RA3/AN3/VREF5 36 RB3/PG[4
RA4/TOCKI 6 35 R82
FA5/AN4/SS 34 FB1
REO/RD/AN5 a 33 FBO
9 32 VDD
RE2/CS/AN7 1 0 31 vss
VDD 1 1 30
VSS 1 2 29
oscl/cLKtN 1 3 2A RDs/PSP5
OSCZCLKOUT 27
BC0/T1S0S0/T1CKl1 5 26 RC7/$qDT
RC1/r10StCCP2 1 6 25 RC6/T)0CK
RCZCCPl 1 7 24 RCs/SDO
RC3/SCK/SCL 1 8 23 RC4/SDI/SDA
1 9 22
20 2 1 RD2/PSP2
Ptcl6Fa77lA74
rlrfuiil&t:!;llalt Pin out designarions for the 40-pin 16F8774
PIC microconlroller.