Hi there
I have a battery powered loop (6V) broken by a normally open magnetic switch.
When a metal object passes close by, the magnet closes the loop, and the 6V is fed into the opto side of an ASSR-1218 solid-state relay.
I've sized the limiting resistors on the opto side to pull 5mA according to the ASSR-1218 datasheet. That closes an input into a micro-controller on the other side, which wakes it up and causes it to do its thing. All working.
However, I'm worried that if the metal object stops right next to the switch, the switch will remain on (could be for hours), pulling 5mA all the time, and steadily draining the battery.
How can I make the detection of a metal object send a single pulse of a few microseconds (approx 100 to be on the safe side), and then pull no current until the object moves away, which would reset the circuit?
Any thoughts?
Regards
Mark
I have a battery powered loop (6V) broken by a normally open magnetic switch.
When a metal object passes close by, the magnet closes the loop, and the 6V is fed into the opto side of an ASSR-1218 solid-state relay.
I've sized the limiting resistors on the opto side to pull 5mA according to the ASSR-1218 datasheet. That closes an input into a micro-controller on the other side, which wakes it up and causes it to do its thing. All working.
However, I'm worried that if the metal object stops right next to the switch, the switch will remain on (could be for hours), pulling 5mA all the time, and steadily draining the battery.
How can I make the detection of a metal object send a single pulse of a few microseconds (approx 100 to be on the safe side), and then pull no current until the object moves away, which would reset the circuit?
Any thoughts?
Regards
Mark