ETRX357 Development Kit
©2016 Silicon Labs
- 24 -
ETRX357DVK Product Manual (Rev 1.12)
12.6 Temperature display
The AT command set provides two powerful features:
1. A node can be defined as a “sink”. It broadcasts its address to the rest of the network, so the
other devices can use commands and built-in functions that send data to the sink. In this way, an
application can be designed without the need to know in advance the address of the sink node, which
will be different in each installation.
2. Software timers implemented in the firmware can execute various predefined functions. Simple
applications can therefore often be implemented without the need for a host processor to send AT
commands to a device.
As an example of both of these features, the following commands demonstrate how to collect
temperature information from development kit boards:
1. Define the module on the data-gathering development board as the network sink with the
command
ATS104=1
2. Instruct one or more sensor development boards to send their ADC readings to the sink at
regular intervals by setting a Timer/Counter on the ETRX357, eg to send every second
using Timer/Counter 5 use these commands on each sensor board:
ATS33=0004
ATS34=8130
3. Activate all four ADCs on each sensor board with the command
ATS15=0002E600
4. Turn on the sensor power on each sensor board with the commands
ATS182=1
ATS183=1
5.
The ADC readings will appear at the sink in the form of a “FN130” prompt, which also
contains the digital I/O values and the contents of the S46 counter register. See the AT
Command Manual for full details of the prompt and the registers used here. The units are
0.1mV; the sensor has a slope of 10mV/deg with a 600mV offset.
It is usually easiest to set the sensor device’s registers by accessing them via USB, but you can also
use the ATREMS command from the sink node.