- #1
Liad
- 23
- 0
Hey!
I want to build a circuit to control a light bulb in such a way that Ill be able to choose the time that it'll be on [choosing from 5/10/15/20 min] and off [again, choosing from 5/10/15/20 min].
I would also like to have a counter showing how much time I have till it'll change from on to off or from off to on.
for example, I'll have 4 7-segments display and 2 buttons.
the first button will change the period of time the light will be on and every click will change the time and present it with the 7-segments.
the second button will change the period of time the light will be off and every click will change the time and present it with the other 7-segments.
Ill push the first button till ill see "5" and the other one till Ill see "10", then itll start work for 5 minutes, while showing me how much time left from that 5 min, and afterward will stop working for 10 min, showing the time left before operating again and so on.
Any help will be greatly appreciated.
I want to build a circuit to control a light bulb in such a way that Ill be able to choose the time that it'll be on [choosing from 5/10/15/20 min] and off [again, choosing from 5/10/15/20 min].
I would also like to have a counter showing how much time I have till it'll change from on to off or from off to on.
for example, I'll have 4 7-segments display and 2 buttons.
the first button will change the period of time the light will be on and every click will change the time and present it with the 7-segments.
the second button will change the period of time the light will be off and every click will change the time and present it with the other 7-segments.
Ill push the first button till ill see "5" and the other one till Ill see "10", then itll start work for 5 minutes, while showing me how much time left from that 5 min, and afterward will stop working for 10 min, showing the time left before operating again and so on.
Any help will be greatly appreciated.