Hey guys, I'm trying to setup a dual tripwire setup for entry/exit detection however I'm having a hard time getting the tripwires to work right.
I'm using a PIC microcontroller to generate a 38khz signal at 20% duty cycle to power my IR emitter which is then amplified by a transistor, not really sure at what gain right now. Then i'm using a TSOP382 IR receiver to pick up the IR signal.
The issue is that when I trip it frequently the system works great, however if I leave the tripwire untripped for a minute then try to trip it, the receiver takes a few seconds to realize it's been tripped, what gives? there's no capacitor on the output (at least not in my circuit)
Has anyone experienced this issue or have any advice on what to do next?
I've not done much testing but even when it trips quick it's not instant (seems like there's a few ms delay, but that could just be arduino/serial delay so not worried about it yet). I must be doing something wrong.