LTAR TRRS Protocol

Technical talk about the inner workings of Lazer Tag Team Ops taggers and making modifications and accessories.
Post Reply
neuron
Posts: 29
Joined: Tue Mar 28, 2017 10:08 am

LTAR TRRS Protocol

Post by neuron »

Hey Riley, I posted some information about the LTAR TRRS Protocol to the modders page last night. I think you asked a question about the frequency of the signals last night. My wife does the facebook thing so I can't actually see the page since it's private. It was late and I tried responding on her phone so I'm sure it wasn't a great answer.

Edit: Updating some incorrect information I had posted.
The lower frequencies are around 2Khz and the higher frequencies are around 4khz.

Here's a picture of the frequency spectrum as seen in Audacity.
Attachments
Specg.png
Specg.png (39.42 KiB) Viewed 24604 times
Last edited by neuron on Tue Mar 28, 2017 6:37 pm, edited 1 time in total.
neuron
Posts: 29
Joined: Tue Mar 28, 2017 10:08 am

Re: LTAR TRRS Protocol

Post by neuron »

Here's an example of a single tagger shot. I tried to make it lighter in the picture. The heart beat or pulse come at regular intervals. It's pretty much right on at 1 second.
Attachments
SingleShot.png
SingleShot.png (69.57 KiB) Viewed 24617 times
neuron
Posts: 29
Joined: Tue Mar 28, 2017 10:08 am

Re: LTAR TRRS Protocol

Post by neuron »

So, in the post from last night, if you zoom in on the heartbeat portion of the waveform you'll see something like attached picture. This is zoomed in to the heartbeat. It's right before the gun trigger is pulled. I set the team to team 2 in the attached picture.
zoomed_in.png
zoomed_in.png (66.37 KiB) Viewed 24617 times



Edit: After some additional guidance this is how the bits are separated 0xxxxxxxx11. The x bits, 8 of them, are the data and the initial 0 and ending 11 are the tokens.

Code: Select all

             Player /               Tags                n = total ammo                    Minutes    Seconds     Check
              Team                 Health    Magazine   nnnnnnnn   nn           Shield     Left       Left        Sum
0xxxxxxxx110xxxxxxxx110xxxxxxxx110xxxxxxxx110xxxxxxxx110xxxxxxxx110xxxxxxxx110xxxxxxxx110xxxxxxxx110xxxxxxxx110xxxxxxxx11
00100000011000010000110100000011100101000011001010000110111111111101111111111011110000110000000001101000000011001001010
            aaabb???   gg   h
aaa - Player number when networked, 000 - 111 is 8 Players
bb   - Team number
??? - Not sure yet ... maybe Game Type
gg - When changing the gun to auto these bits change
h - LTTO Hunt when the team being hunted changes this bit also changes. Only confirmed as Team 2 Player 1

Magazine - The number of shots, or ammo you have before you need to reload
n - This is the total amount of shots or ammo you have for the whole game.  These bits are set when Reload is limited in network mode.
Last edited by neuron on Thu Aug 31, 2017 8:53 pm, edited 9 times in total.
User avatar
riley
Site Admin
Posts: 89
Joined: Mon Jan 27, 2014 10:20 pm

Re: LTAR TRRS Protocol

Post by riley »

This is great stuff. Thanks for the info.
neuron
Posts: 29
Joined: Tue Mar 28, 2017 10:08 am

Re: LTAR TRRS Protocol

Post by neuron »

Cool deal. I hope people find it useful. And it's much easier to post on a forum or wiki.
User avatar
riley
Site Admin
Posts: 89
Joined: Mon Jan 27, 2014 10:20 pm

Re: LTAR TRRS Protocol

Post by riley »

Did you save any of these recordings? Could you send some to me at riley@lazerswarm.com?
neuron
Posts: 29
Joined: Tue Mar 28, 2017 10:08 am

Re: LTAR TRRS Protocol

Post by neuron »

Yeah, I was saving them at first, but it's pretty easy to recreate them. I can make whatever configuration with the tagger you want. I was saving them in a raw format because I was initially doing some other processing with them, so I'll save some in wav format and send them to you. Any requests for what you would like to see? Also do you want the countdown sequence included?
neuron
Posts: 29
Joined: Tue Mar 28, 2017 10:08 am

Re: LTAR TRRS Protocol

Post by neuron »

Hey Riley, I think it was mentioned that the higher frequency represents 1's and not 0's, but I'm not sure. Can you confirm for me when you get a chance?
User avatar
riley
Site Admin
Posts: 89
Joined: Mon Jan 27, 2014 10:20 pm

Re: LTAR TRRS Protocol

Post by riley »

Ryan confirmed on Facebook that the higher frequency represents 0.
DrDDS
Posts: 11
Joined: Sat Aug 05, 2017 10:29 am

Re: LTAR TRRS Protocol

Post by DrDDS »

Hey guys. I had heard there was some additional discussion here regarding the TRRS protocol on the LTAR. I wanted to ask about the conditions when you are reading these signals. Are you connected to a smart device? Are you reading just the raw output from the TRRS cable without anything attatched? Or perhaps with Ryan's displays attatched? I would love to start participating in this discussion. Thanks for your hard work with this. I think this is a huge step forward!
Post Reply