You are on page 1of 1

SMALL CIRCUITSCOLLECTION

relay. 10V
R6 +12V
The cable between the sensor and 1k
2mA25...48mA
the input of the circuit should be C2
R2 R3 R4 R5
C5
R11

10k

10k

3k3

3k3
270k
shielded and as short as possible. If *
220µ 220µ
strong RF fields are a problem, connect 25V 25V

a 1-nF ceramic capacitor between the 11V8


50mV 0V T4 T6
base of T1 and ground. (1V4)
C4 R12

Finally, ‘known’ sources of vibration


* see text 11V8 5k6
T3 100n
BC547 BD140
(including sound but also a large relay) 0V6 0V
should be kept away as far as possible 3V
C3
T2
R10
T5
BC547
0V
from the sensor because they may R1
100k
100n 0V7
cause false triggering of the alarm BC547 0V BC547

1M
RE1
0V6 T1 D2
and/or oscillating behaviour.
Current consumption of the circuit 12V
BC549C
will be of the order of a few milli-amps X1 *
R7 R8
D1
R9
*
C6 1N4148

1k

22k

220k
C1
plus, of course, the relay energizing
1µ...10µ
1n
current. piezo 25V

(010076-1) 1N4148
010076 - 11

Token Number Display 054


Ketan Mehta R9
100Ω
T1
1W

Numerical display systems are (unfor-


tunately) very common in banks, shops R10

T2 100Ω
and offices where they serve to man- 1W

age a customer queue or waiting sys- +VCC


+VCC
+VCC
tem. Commercially-made systems are R11
K2
very expensive because they are T3 100Ω
R1 1 4x 10k IC1.A 1W
almost invariably microcontroller 1 2
16

1
based. The circuit shown here is cost 3
LT 13 R2
4 A 1k2 R12
effective and relatively simple to make. 2 3 4 5 IC1.B 5
BI/RBO
B
12
1k2
R3
100Ω
RBI 11 R4 T4
K1
The circuit employs BCD (binary coded 3
1
4
7
IC2 C
10
1k2
R5
1W
1 D 1k2
decimal) thumbwheel switches are 1 74LS48 9 R6
THUMBWEEL
INPUT FROM

2 E 1k2
2 15 R7
used to set any desired digit on the dis- IC1.C
6
4 F
14
1k2
R8
R13
5 6 8 G 1k2 100Ω
play. The switches are a cost-effective 1 T5
1W

alternative to a microcontroller or a 8
IC1.D
keypad. The floating lines of the 9 8 R14
1
thumbwheel switches are pulled up by T6
100Ω
1W
10-kΩ resistors. Four gates from a 7404 +VCC
hex inverter IC invert the thumbwheel
R15
switch lines to create the BCD equiva- 14 T1 ... T7 = MJE3055 100Ω
T7
lent of the number selected on the IC1 IC1 = 74LS04 1W
7
switch. The BCD output is applied to
020027 - 11
the inputs of BCD to a 7-segment
decoder type 74LS48 which is capable
of driving a common-cathode (CC) display. Here, however, The current consumption of the circuit will be negligible com-
extra drive current is required for the (large) display so the pared to that of the common-anode display.
7448 outputs are connected to MJE3055 segment drivers. Three modules of this kind are required to display numbers
Because of the inverting action of these drivers, a common- up to 999. Next, please!
anode (CA) 7-segment display has to be used. (020027-1)

12/2002 Elektor Electronics 91