|
D.I.Y. Laser Tag Game System |
||
|
|
| Overview |
|
|
| Protocol | ||
| 5.XX Main Board | ||
| Micro MT Board | ||
| ISD Sounds | ||
| Bootloader | ||
| Sensors | ||
| Optics | ||
| Online Parts Store | ||
| The Real MILES | ||
| LTTO Protocol | ||
| LTTO Grenade | ||
NEW MilesTag II Data Protocol
Infrared Carrier Signal
The carrier frequency is selectable between 38KHz/40KHz/56KHz.
The system's transmit carrier frequency must be matched to the sensor used.
Data Packet
The MilesTag II "shot" packet consists of a header pulse followed by 14 data bits. A "control packet" consists of a header pulse followed by 16 data bits or more. The header pulse and data bits are encoded onto a 56KHz infrared carrier signal using pulse-length modulation. This modulation is similar to the format used in many IR remote controls.
Pulse-Length Modulation
In this modulation scheme, the value of the data bits ("1" or "0") and the header pulse are represented by the length of the pulse. Each pulse is a burst of 56 KHz infrared light lasting the period (length) of the corresponding data bit.
The Header Pulse is represented by a pulse (56 KHz carrier ON) with a period of 2400 uS (microseconds).
A bit value of "1" is represented by a pulse (56 KHz carrier ON) with a period of 1200 uS.
A bit value of "0" is represented by a pulse (56 KHz carrier ON) with a period of 600 uS.
The space (56 KHz carrier OFF) between each of the bit pulses is 600uS.

Data Bytes
First Bit Transmitted (0=Shot, 1=Control)
G
|
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
|
|
|
|
|
|
|
Shot
Packet (14 bits)
|
1 |
7 |
2 |
4 |
|
|
|
|
|
|
|
|
|
|
0 |
PID |
TID |
Damage |
|
|
|
|
|
|
|
|
|
PID = Player ID (100 Players)
0 to 39
-Players (basic system)
40 to 99 -Players
(expanded system)
100 to 127 -Grenades, Mines, Crew Served Weapons, etc.
TID = Team ID (4 teams)
0 Red
1 Blu
2 Yel
3 Grn
Damage = 16 Values
Control
Packet (16 bits +)
|
1 |
7 |
8 |
|
|
|
|
|
|
|
|
1 |
Control
ID |
Data |
…
additional bytes … |
||||||
Referee Control Signals
Admin Kill
Respawn Player
Pause Player
End Game
New Game
Reset Clock
Test Sensor
Game Devices
Medic Stations
Ammo Stations
Flag Stations
Data Transfers
Cloning (Tagger Settings)
Score Download
CLONE DATA FORMAT
Cloning MilesTag 5.30 -
MilesTag Mode (DRAFT)
|
BYTE |
VALUE
(DEC) |
|
|
Valid
Range |
|
H |
|
Header Pulse |
2400 uS |
|
|
1 |
135 |
Message Type |
Sys Ex Data |
|
|
2 |
1 |
Message ID |
Clone Data |
|
|
3 |
232 |
System ID |
MilesTag |
|
|
4 |
1 |
Boot Mode |
Normal |
|
|
5 |
8 |
Start |
First Parameter |
|
|
6 |
33 |
End |
Last Parameter |
|
|
7 |
nnn |
Team ID |
|
0
- 3 |
|
8 |
0 |
Zone ID |
Not Supported |
0,1 |
|
9 |
0 |
Ammo Box |
Not Supported |
|
|
10 |
0 |
Medic Box |
Not Supported |
|
|
11 |
nnn |
Reserved |
|
|
|
12 |
nnn |
Kill LED |
Hit LED Timeout |
30
- 240 |
|
13 |
nnn |
Parameter 08 |
Sound Set |
0,1 |
|
14 |
0 |
Parameter 09 |
Reserved |
|
|
15 |
0 |
Parameter 10 |
Reserved |
|
|
16 |
nnn |
Parameter 11 |
Weapon Preset |
0
- 10 |
|
17 |
nnn |
Parameter 12 |
Damage |
0
- 15 (See Table) |
|
18 |
nnn |
Parameter 13 |
Rounds Per Clip |
1
- 250 |
|
19 |
nnn |
Parameter 14 |
Clips |
1
- 99 |
|
20 |
nnn |
Parameter 15 |
Fire Mode |
0=Semi,
1=Burst, 2=Full |
|
21 |
nnn |
Parameter 16 |
Burst Rounds |
3
- 6 |
|
22 |
nnn |
Parameter 17 |
Cyclic |
0
- 11 (Table) |
|
23 |
nnn |
Parameter 18 |
Reload Delay |
1
- 20 |
|
24 |
0 |
Parameter 19 |
Reserved |
|
|
25 |
10 |
Parameter 20 |
PWM Duty |
|
|
26 |
nnn |
Parameter 21 |
Weapon Flags |
See
Table |
|
27 |
nnn |
Parameter 22 |
Health |
1
- 65 (See Table) |
|
28 |
0 |
Parameter 23 |
Reserved |
|
|
29 |
nnn |
Parameter 24 |
Respawn Delay |
10
- 240 |
|
30 |
nnn |
Parameter 25 |
Armor |
0
- 100 |
|
31 |
nnn |
Parameter 26 |
Bit Flags 1 |
See
Table |
|
32 |
nnn |
Parameter 27 |
Bit Flags 2 |
See
Table |
|
33 |
nnn |
Parameter 28 |
Hit Delay |
0
- 24 (See Table) |
|
34 |
nnn |
Parameter 29 |
Start Delay |
0
- 30 |
|
35 |
nnn |
Parameter 30 |
Death Delay |
0
- 240 |