Sunday, 14 April 2013

Open source UMT code

Visit Tagbits to see the full range of tagger products described in this blog.

Got my Milestag UMT lasertag software working.
I will be advancing the features of the software, but currently it supports:
  • Red,blue,green,yellow team id.
  • Data clone from core board.
  • Compatible with standard UMT audio samples.
  • Ammo box, respawn box,and most referee commands.

The project is very modular, and could be converted to most lasertag applications. It is available under the z-lib license on github at:

Please contact me if you would like a customised version of the code, or a particular feature adding.

This is a Hi-Tech 'C' project, their is a 45 day evaluation of the compiler available at:

Thursday, 11 April 2013

UMT Software almost finished

Visit Tagbits to see the full range of tagger products described in this blog.

My Milestag microMT lasertag is coming along nicely. The infra red signal needs to be modulated at 56KHz to match the TSOP4856 sensors that are used to detect hits. I'm using the inbuilt PIC16f684 PWM to generate this frequency.

First I did a simple test to simply check I'd got the frequency right:

Not bad for a first attempt. I've already written the Milestag protocol transmit routine, but I tested the timings by simply turning a port output high or low as described here.
I replaced the port on off code with PWM on off code and got exactly what I wanted. Timed IR pulses modulated at 56KHz.

When I tested my shot packet against another lasertag unit, the second unit picked up the shot packet and seemed to interpret the shot power consistently, but with an incorrect shot power value. I need to look into this next.