After the count has reached binary 1111, the next pulse sends the O4 output of IC3 high, which disables IC2c and IC3 stops counting. The four used outputs of IC3 are connected to a resistor 'ladder' which acts as a simple digital to analog convert-er (DAC). As the count increases so does the voltage produced at the top of the ladder and this is connected to the inverting inputs of four comparators inside IC4 (an LM339) and to IC5, which is a 741 op amp also connected as a comparator.
Circuit diagram:
Grand Prix Starting Lights Circuit Diagram
The positive inputs of the comparators are connected to the taps of a voltage divider, with the tapping voltages set using VR1, a 100kO trimpot. As IC3 counts, the rising stepped voltage from the DAC ladder switches the comparators on in sequence, starting with IC4d and working up to IC5. As each comparator is turned on, its pair of LEDs is lit; first LEDs 1 & 2, then LEDs 3 & 4 and so on. When all five pairs of LEDs are lit, the next pulse from IC1 moves the binary count of IC3 to 10000, so the DAC voltage drops back to zero and all LEDs are extinguished. At the same time, counting also stops, because the high on O4 causes IC2c to block further gate pulses. The circuit then remains inactive until the counter is reset by pressing pushbutton switch S1. This allows a new sequence to begin.
Author: David Richards - Copyright: Silicon Chip Electronics
Post a Comment