Dear Friends,
In the 1st part of the tutorial we had learned about the 7 segment display and its pins. In this part of tutorial, we will discuss about the counter and decoder.
Decoder is just a simple device which decodes the binary digit applied ( in simple words binary means 1 & 0 where 1 is on and 0 is of) so it decodes the button is on or off and depending upon that it switches respective led on/off in the 7 segment display( refer tutorial no 1) .
But to apply that binary we require counter ( think it as a keyboard)
In this tutorial we will learn only the basic usage of counter.
Count means simple adding up or ascending, or subtracting or descending or reseting the count from first.
Same goes with the counter. It has three pin :
1.) UP
2.) DOWN
3.) RESET
UP: its to add one number to the existing number (Till 9) .. Then continue with A till F . It is activated when current flows into UP pin. U can see the efect in the display.
DOWN: opposite of UP.. This pin subtracts 1 from existing number And descends the current value.
RESET : simply to reset all the counts to 0 .
You can understand easily, just press the respective push button for respective UP,DOWN,RESET to see how it works.
Summary:
UP button : ascends the value
DOWN button : descends the value.
RESET button : resets the value to 0.
Regards,
Happy learning.
|