Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

12VDC

In Out Vcc out


7805
U5
1 10 7SEGCC
CC A

Gnd
C1 C2 U1
22uF 22uF NPN

2 9
F B
R1
1k Q1
3 8
G C

4 7
E DP

5 6
D CC

NPN 1 10 7SEGCC
CC A
U2
Stock ECUs usually power the switch with R13,
R2 2 9
but the capacitor is necessary to prevent noise. Q2 F B
1k
You could also use a Hall sensor or any 0-5V signal.
3 8
G C

Vcc Vcc 4 7
E DP

R13 R4 5 6
D CC
100k
R3
1k
16F648A NPN 1 10 7SEGCC
1 18 CC A
RA2/AN2/VREF RA1/AN1 U4 U3
2 17
RA3/AN3/CMP1 RA0/AN0 2 9
3 16 Q3 F B
RA4/T0KI/CMP2 RA7/OSC1/CKIN
4 15
RA5/*MCLR/VPP RA6/OSC2/CKOOUT 3 8
G C

6 13
RB0/INT RB7/T1OSI/PGD 4 7
7 12 E DP
RB1/RX/DT RB6/T1OSO/T1CKI/PGC
120
8 11
RB2/TX/CK RB5 5 6
9 10 D CC
RB3/CCP1 RB4/PGM R5

C4 R6
10nF
R7

R8
R9

R10

R11 Note: These 7-segment resistors can be connected to processor in any order.
R12
Speedo Reed Switch 120
S2A S1 Title
PIC16F648A Digital Speedometer
C3
10nF Author
Jeffrey Hiner

File Document
C:\speedometer\speedo.dsn
Button Programming implementation and more information available at:
Revision Date Sheets
http://www.randomwisdom.com/2007/10/digital-speedometer-using-pic-microcontroller/
1.01 October 3, 2008 1 of 1

You might also like