Hi,
I am trying to make a device for laser tag which records the code sent from my gun using an IR receiver (tsop4838) at the start of a game, and can then send out that data in all directions after I press a button (so like a laser tag grenade).
I am using the Adafruit 940mm IR LEDs, and from what I have done so far I have found they work well as they have a fairly wide angle.
I am struggling to find a way to accurately capture the message that my gun will send, and I have no way of confirming the exact protocol (etc) that the laser guns at the place I am going will use.
I suspect that the best method will be to try and capture the raw data from the gun, rather than try and decode it as the IRremote library seems to, but I am struggling to work out how to do this.
Would there be additional problems if the guns included other things in the data sent after each shot (e.g. a long pulse before the data starts, or sending the code multiple times per shot)?
Any help will be appreciated!
Thank you