Sunteți pe pagina 1din 1

In

12VDC

Out

Vcc out

7805
U5

Gnd

1
C1
22uF

C2
22uF

CC

DP

CC

NPN
2

10 7SEGCC
U1
9

R1
Q1

1k

NPN

CC

DP

CC

10 7SEGCC
U2

Stock ECUs usually power the switch with R13,


R2

but the capacitor is necessary to prevent noise.

2
Q2

1k

You could also use a Hall sensor or any 0-5V signal.


3

Vcc

Vcc

R13

R4
100k

R3
1
2
3
4

6
7
8
9

RA2/AN2/VREF

RA1/AN1

RA3/AN3/CMP1

RA0/AN0

RA4/T0KI/CMP2

RA7/OSC1/CKIN

RA5/*MCLR/VPP

RB0/INT
RB1/RX/DT

RA6/OSC2/CKOOUT

RB7/T1OSI/PGD
RB6/T1OSO/T1CKI/PGC

RB2/TX/CK

RB5

RB3/CCP1

RB4/PGM

18

16F648A
U4

1k

NPN

CC

DP

CC

10 7SEGCC
U3

17
2
16

Q3

15
3

13
4
12

120

11

5
10

R5
R6

C4
10nF

R7
R8
R9
R10

Note: These 7-segment resistors can be connected to processor in any order.

R11
R12
Speedo Reed Switch
S2A

120

Title
PIC16F648A Digital Speedometer
Author
Jeffrey Hiner

S1
C3
10nF

File
Button

Programming implementation and more information available at:


http://www.randomwisdom.com/2007/10/digital-speedometer-using-pic-microcontroller/

Revision
1.01

Document
C:\speedometer\speedo.dsn
Date
October 3, 2008

Sheets
1 of 1

S-ar putea să vă placă și