• Ads

Simple Digital Event Counter

The basic digital circuits are Flip Flop and Counter, both are here. This circuit can be cascaded to make even a 6 digit event counter, even a simple frequency counter can be made.

These are best done with microcontrollers today. Then what if you have to design your own microcontroller on a FPGA, so the basics have to be sound, hence you have to know what gates, flip flops and counters are.

Simple Digital Event Counter

see the seven segment display. Inc, Dec, and Set buttons are momentary acting and Clk Button is latching type. The Dip Switch in the also can be set.

a. – Set the DIP Switch as you like and then Press the Set button. The BCD value will be at the 4029 output, The Decimal value will be seen in the seven segment Display. Now try for different dip switch settings and see the BCD and Decimal output.

b. – Now Press The Inc and Dec pushbuttons. Set it to Increment up-count or Decrement which is down-count. This is a simple flip flop control.

c. – Now Click the Clk – clock or count button, the switch will latch, press it again to release. If you toggle it once the counter will get a single pulse and it will count it, see the BCD and decimal displays. Now you turn it on and leave it, the counter will keep counting one per second till you turn it off, the clock nand gate is wired to be an oscillator.

The decimal point LED of display is given to Carry Out pin of 4029 so observe this at 9 and 0 or transitions.

Add 104 CD, 0.1uF ceramic disc cap to all the ICs across the supply pins. Also add a 104 CD cap across Inc switch and one across the Set switch for power on default settings.

See a Tutor Digital up down BCD counter that will help you take the first step in digital electronics.

LED Voltage Level Indicator

This circuit is derived from a Siemens Application Note 1974. This circuit uses common components of today.

The circuit is here as it is of high educational value. I have not tested it. You can ‘simulate and test’ or ‘wire it up and try’ and let me know how it worked. The Circuit is also a simple analog to digital converter. You can use optos in place of LEDs.

Battery Level Indicator

T1 and T2 make a differential amplifier. T3, T4 and T5 driving the LEDs are comparators.  When input voltage is increased T1 is turned on which leads to more base current for T3 which Lights LED1. When input voltage is less T2 turns on as it gets a better base current from P3 which turns on LED2 via T4. When both LEDs are off T5 gets biased as no drop across R5 which lights the LED3 thru T5 hopefully.

LED Voltage Level Indicator

What you need to know is a small current Ib thru the base-emitter path in the direction of the emitter arrow will lead to a large Current Ic thru the emitter-collector path in direction of arrow. Ic = B * Ib where B – beta is the DC current gain, it could be 100-400

Fluid or Water Level with Reed Relays 

Beta is different in each transistor you buy and varies with the test conditions and even with temperature and age. The LED1 and LED2 will indicate above or below Limits set by P2 and P1. The Limit Threshold itself is set at P3 i think. LED3 will light when Hi LED and Lo LED both are off.

The applications of this circuit are FM tuning indicator, Stereo Balance Indicator (Wire T2 like T1 then we get two channel inputs) and battery level indicator.