# Counter Circuit

#### fkrtk123

Joined Feb 16, 2016
3
Hi all,
I would like to build a counter circuit for my project.

Basically, i need a counter that turns on the product for a specified number from a time range of 5-30 seconds
and i need it to turn off the product for a different specified time also of the range 5-30 seconds.

So far i have two 5 bit counters connected through and AND gate to a 5 bit binary switch, i would like to know
how i could toggle between the two counters.

For example i want the device kept ON for 20 seconds then OFF for 10 seconds. After that repeating the cycle of ON for 20 seconds
and OFF for 10 seconds.

Any recommendations of the logic circuit or the possible ics i could use?

#### Picbuster

Joined Dec 2, 2013
990
use a cheap PIC (1$approx.) , a dc power source (3v3 to 5V) and few lines of programming. The output on/off ? want a serial monitor also? Time accuracy second per month? Thread Starter #### fkrtk123 Joined Feb 16, 2016 3 use a cheap PIC (1$ approx.) , a dc power source (3v3 to 5V) and few lines of programming.
The output on/off ? want a serial monitor also?
Time accuracy second per month?
Thank you that would save alot of digital ics. I could command it to repeat the ON and OFF cycle to about 30000 to 50000 times right?