Hi all,
I'm an Arduino user and not to skilled in electronics (not at all actually). I'm trying to build a lamp that switches on and off if a digital proximity sensor detects and object for more than one second. I'm actually using an Adafruit Trinket, but I'd really like to use integrated circuits thant don't need to be programmed, since the application is really easy.
In order to toggle the on/off I guess I can use a T-type flip flop, but I really don't know how to check if the signal of the sensor stays high for one second. In short, I need an integrated chip or a circuit that reproduces this behaviour:
Any ideas?
I'm an Arduino user and not to skilled in electronics (not at all actually). I'm trying to build a lamp that switches on and off if a digital proximity sensor detects and object for more than one second. I'm actually using an Adafruit Trinket, but I'd really like to use integrated circuits thant don't need to be programmed, since the application is really easy.
In order to toggle the on/off I guess I can use a T-type flip flop, but I really don't know how to check if the signal of the sensor stays high for one second. In short, I need an integrated chip or a circuit that reproduces this behaviour:
The On-Delay S5 Timer instruction starts a specified timer if there is a
positive edge (that is, a change in signal state from 0 to 1) at the Start (S)
input. A signal change is always necessary to start a timer. The timer
continues to run with the specified time at the Time Value (TV) input as long
as the signal state at input S is 1. A signal state check for 1 at output Q
produces a result of 1 when the time has elapsed without error and when the
signal state at input S is still 1. When the signal state at input S changes from
1 to 0 while the timer is running, the timer is stopped. In this case, a signal
state check for 1 at output Q always produces the result 0.
Any ideas?