I am somewhat experienced with Raspberry Pi, but I just got a set of IR receivers and emitters that I can't find a good tutorial for. The receiver I'm having troubles with is the VS 1838B receiver, I figured out the emitter well enough. I want to use this on a pair of rc tanks that can interact with each other, but I can't find a good tutorial for receiving my own frequency. The only frequency I really need to receive is the 'you got shot' frequency, so is there a way just to get yes or no from the emitter, and have the code say something like;
if ir_detected == yes:
or maybe, if I can't get Yes/No
if ir not == 0:
But I would still need a way to get data from the sensor back into the python script, and all I could find list the data in the terminal, which doesn't help much. Let me know if you find anything on this or have any solutions.