I'm trying to mod an existing laser tag gun adding new features. To do this I need to "piggy back" on the guns IR receiver and read values from it using a microcontroller (in my case a microbit) whilst its still connected to the existing guns circuitry.
I'm pretty sure the receiver being used is this:
I perhaps naively assumed I could attach the signal pin of the IR receiver to an analogue GPIO pin and read values from it as the gun is hit by the other gun.
This doesn't appear to work however as I just get a load of low level noise and no obvious peaks and troughs. I'm taking a reading every 0.026 milliseconds which should be roughly in sync with the 38khz frequency of the receiver.
Just to make sure I've tried reading all three pins in case I got the signal pin wrong but they all read the same kind of noise.
Am I just wrong expecting to be able to get a reading from it whilst its also connected to its existing circuit?
Thanks for any help
Thanks for the help so far. Do I need to put a resistor on the wire out to my GPIO pin, will that let the existing circuit get more of the signal from the IR receiver?