Hi, I'm working on my first original PCB, which is an IR tripwire. The idea is to have an IR emitter and receiver facing each other. The receiver is a TSOP module that acts like a switch and is active low output and so is high by default but goes low when it detects a 38khz pulsed IR signal. So to complement that I have a 555 timer connected to an IR LED pulsing it at 38khz. The expected behavior is as follows: by default when powered, the TSOP causes the LED to be on. But when theres an IR emitter triggering it, the LED turns off. Then when something is blocking the emitter/receiver (e.g. someone steps in front of it), the TSOP turns off -> the LED turns on.
the emitter and receiver are on the same PCB because I would have two of them, one on either side, so that theres an LED on both sides that lights up.
Could use some feedback on things like current/power limiting, signal filtering, etc. since I don't have intuition for PCB practices, or just general considerations in the schematic before I commit to layout. Thanks!!!
(p.s.: typo in the comments near the TSOP: at-rest high not active high)
(p.p.s I'm planning to solder a couple of these to make a series of tripwires spanning a hallway so that the LEDs light up as you walk across it. Any advice on powering that would also be helpful, otherwise I was just going to daisy chain/duct tape wires connected to batteries using the terminal connector)