Manual Lab-X1
Manual Lab-X1
Manual Lab-X1
Install the programming software according to the instructions included with your programmer.
Connect your programmer to the LAB-X board using a 10-pin ribbon cable (part# 10CAB). Do not twist or fold
the cable to make the connection. The connectors on the programmer and LAB-X boards should line up to
allow a straight connection.
If your LAB-X board has a ZIF socket, raise the lever. Insert the microcontroller into the socket on the LAB-X
board and lower the lever to lock it into place. Make sure that the notch on the end of the microcontroller is
aligned with the lever end of the socket.
If your LAB-X board does not have a ZIF socket, carefully line up the PICmicro microcontroller's pins with the
holes in the socket and press it into place. Make sure the notch on the end of the microcontroller is aligned
with the notch at the end of the socket.
Connect a 16VDC adapter (part# ACAD) to the programmer's power jack. You may have different adapters for
the programmer and LAB-X board. Make sure you power the programmer with the 16V adapter.
Connect a 12VDC adapter (part# ACADX) to the LAB-X power jack. You must connect power to the LAB-X
board in order to program the microcontroller.
Run the programmer software on your computer and use the programming procedure to program the part.*
*The LED indicator on the EPIC will remain lit at half intensity when the EPIC is connected to the LAB-X board.
The indicator should light fully when a programming operation is in progress.
ANSEL (16F887)
ANSELH (16F887)
ANSEL = %00011111
ANSELH = %00000000
PORTA analog
ANSEL = %00001011
ANSELH = %00000000
ANSEL = %00000000
ANSELH = %00000000
ANSEL = %00000000
ANSELH = %00000000
ANSEL = %00000001
ANSELH = %00000000
AN0 analog
ADCON1.7 = 1
result right-justified
DEFINE ADC_CLOCK does not function on the 16F887. This define must be
replaced by a setting to the ADCON0 register:
DEFINE for16F877A
DEFINE ADC_CLOCK 0
ADCON0 = %00000000
DEFINE ADC_CLOCK 1
ADCON0 = %01000000
DEFINE ADC_CLOCK 2
ADCON0 = %10000000
DEFINE ADC_CLOCK 3
ADCON0 = %11000000
Description
JDR
.1uf-MONO
100R50
10R63
1R100 (1R50)
22PF
Digi-Key: X909-ND
Digi-Key: X902-ND
Digi-Key: S2011E-05-ND
Digi-Key: HSC10H-ND
Digi-Key: S2011E-07-ND
Digi-Key: S2011E-10-ND
HDR-40
HDR-40
111704
DB25PRS
DB25SRS
DB09SRS
Other
103018
Jameco
PC21S
101178
Digi-Key: A9049-ND
Digi-Key: 593K-ND
Digi-Key: 594K-ND
230957
Digi-Key: WM17108-ND
Crystal, 20.000MHz
20.0MHZ
Crystal, 32.768KHz
32.768KHZ
Digi-Key: X036-ND
Crystal, 4.000MHz
4.0MHZ
14592
Diode, 1N4148
1N4148
179215
24C01
24C02
108839
24C04
108847
Digi-Key: 24LC08B/P-ND
Digi-Key: 24LC16B/P-ND
Digi-Key: 25LC040/P-ND
Digi-Key: 25LC080/P-ND
Digi-Key: 25LC160/P-ND
Digi-Key: 93LC56A/P-ND
Digi-Key: 93LC66A/P-ND
7407
Digi-Key: NJU6355ED-ND
DS1302
176778
DS1620
114382
DS1820
Digi-Key: 800-1037-5-ND
Digi-Key: LTC1298CN8-ND
MAX232CPE
MAX485
75176
Digi-Key: 296-1737-5-ND
Sharp: GP1U581Y
Crystalfontz: CFAH2002A-NYG-JP
LED201
LED172
LED105
Digi-Key: SE1203-ND
94705
Digi-Key: D4AA53
7805T
LM317T
R100
R10k
R1K
R240
R270
R4.7k
R470
RPS7-10K
97826
RPS9-470
97869
14 PIN ST
112221
18 PIN ST
20 PIN ST
112299
41136
40-6554-10
8 PIN ST
106500
Transistor, 2N3906
104029
153251
8 position
2N3906
38842