
Radiometrix Ltd
TDL2 Data Sheet
page 6
Programming the TDL2
In order to use all the functions embedded in the TDL2, the user must be aware of the
setup/programming facility, which allow different addresses to be set up, and if necessary accesses
diagnostic test modes.
The TDL2 is programmed through the same RS232 port that is used for sending/receiving data. An
RS232 terminal emulator (such as Aterm or HyperTerminal) is an ideal tool.
To enter program mode, the SETUP pin must be pulled low. In this mode the radio link is disabled, but
characters sent (at 9600 baud, as normal) to the unit are echoed back on the RXD pin.
The unit will only respond to certain command strings:
ADDR0 to ADDR7
These commands set up one of 8 unique addresses. A TDL2 will only
communicate with a unit set to the same address.
Address number is stored in volatile memory. On power-up the TDL2 reverts to
the default in EEPROM (as supplied this is always address 0)
SETPROGRAM:
Writes the current set address into EEPROM as the new default.
After a successful program cycle, a ~ (tilda) is sent to the terminal.
(these commands are normally only used for factory diagnostics)
NOTONE:
Transmit unmodulated carrier
LFTONE:
Transmit carrier modulated with 8KHz squarewave
HFTONE:
Transmit carrier modulated with 16KHz squarewave
#
Transmitter off
Releasing the SETUP pin to high state returns the TDL2 to normal operation.
Interfacing a microcontroller to TDL2
Figure 7: TDL2 interfaced directly to a microcontroller
TDL2 can be directly interfaced to any microcontrollers. If the microcontroller has a built-in UART, it
can concentrate on its main task and leave the packet formatting, bit balancing and error checking of
serial data to TDL2.
Serial data should be in the following format:
1 start bit, 8 data bits, no parity, 1 or 2 stop bits
9600bps
0V=low, 5V=high