BY CHARLES IRWIN
pensate for the PIC’s inability to deal
with negative numbers. The PIC must
be programmed with the code
“TRHNegNr.hex” within “TRHProj.zip”
available from the Nuts & Volts
website. The zipped file also contains
all of the figures mentioned in this
article, all of the files generated by the
PIC Compiler (suitable for use and
modification by the MPLAB IDE
program available from www.micro
chip.com for free), and also a BASIC
Stamp II version of the program; i.e., a
BASIC Stamp II could be used instead
of the 16F870 PIC. Check the file
“ TRHProj.bs2” for the connections
between the BS2 chip and the SHT15s,
LCD display, and jack plugs.
LCD EL DRIVER PARTS LIST
RESISTORS SUPPLIERPARTNO. PRICE
❑ 47K Digi-Key 47KEBK-ND Pkg of 5 at $. 28 each
❑ 10K Digi-Key 10KEBK-ND Pkg of 5 at $. 28 each
❑
8.2K Digi-Key 8.2KEBK-ND Pkg of 5 at $. 26 each
CAPACITORS
❑ .01μF disc Digi-Key
❑ .1μF disc Digi-Key
SEMICONDUCTORS
❑ 555 timer Digi-Key $. 45
❑ MPF960 FET Digi-Key $. 81
N-channel or equivalent
❑ 1N914 diode Digi-Key $.09
MISCELLANEOUS
❑ Audio transformer RadioShack 273-1380 $2.49
1K center tap primary/
8Ω secondary
❑ N.O. push button switch Digi-Key 506PB-ND $. 86
445-1260-1-ND Pkg of 10 at $. 50 ea
445-1325-1-ND Pkg of 10 at $. 57 ea
296-1411-ND
MPF960OS-ND
1N914CT-ND
■ FIGURE 5. TRH Project Schematic
6 VDC Fm Battery
+ -
+V
1N4001
25K
Contrast
CD4011
1
14 A 3
2 7 1K
5
B
6
4
Vee
4.7K
E
D4
LCD D5
DISPLAY D6
D7
RS
+V
10K
+V
39 pf
Clock
Data
1 mclr B7 28
2 A0 B6
27
3 A1 B5 26
4 A2 B4 25
5 A3 B3
24
6 A4 B2 23
7 A5 B1 22
16F870
8 B0 21
9 osc1 V+ 20
Osc
10 osc2 19
T.P.
11 C0 C7 18
12 C1 C6 17
13 C2 C5 16
14 C3 C4 15
100K
100K
47
MF
NO
PB
1M
G
SD
+V
8
10
C
9
12
D
13
FET
MPF960
11
nc
Data
Clock
Sleeve
Tip
Lcl SHT15
+V
3.5mm Mini 2 Cond Jack
330
V+
Both Jacks go to Remote SHT15
Sleeve
Gnd
Ring Rem SHT15 Sense
(Ground when connected)
Tip 3.5mm Mini-Stereo Jack To Remote
February 2006 47