RC11xx(HP)-TM
RC25xx(HP)-TM
RC17xx(HP)-TM
2016 Radiocrafts AS
RC11xx(HP)/25xx(HP)/17xx(HP)-TM Data Sheet rev. 1.48 Page 66 of 86
2016 Tiny Mesh AS
Radiocrafts
Embedded Wireless Solutions
Packet Mode Demo: Digital Output Control, PWM Dimming and Input
Trigger
Configuring a networked Router Device from the Gateway Device
Controlling a Router Digital Output Port by command from the Gateway Device
Dimming an LED by using the PWM Output feature
Using a digital input to trigger an alarm message.
Assumptions:
Router Device address (UID): 2 0 0 0, Gateway Device in Packet Mode.
LED indicators connected to Router Device GPIO 0 and GPIO 7 per drawing below
Gateway Device connected to TM-CCT over USB serial port
Router Device powered by batteries or USB port
Gateway Device, Setup and actions
Router Device, Setup and actions
Configuring a networked Router Device from the Gateway Device
Desired Configuration:
GPIO 0: Output, default High, (Address 16 = 0)
GPIO 7: PWM Output, (Address 23= 3)
GPIO 4: Negative Edge Input Trig (Addr 28 = 2)
Command String, for desired Configuration:
'40 2 0 0 0 1 3 3 16 0 23 3 28 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0'
Paste Command String to TM-CCT, click
Observe response messages from Router Device:
COMMAND RECEIVED AND EXECUTED
DEVICE RESET
Observe:
Connect and RSSI LEDs will stop flashing as the
Router Device goes through a full Reset Cycle and
then re-connects to the Gateway.
Connect- and RSSI LEDs resume flashing as the
Router Device reconnects to the Gateway.
GPIO 7 LED (PWM) = On (0 % Dimming)
GPIO 0 LED = On (Output is High)
Controlling a Router Digital Output Port by command from the Gateway Device
Set GPIO 0 Low
Use Command String: '10 2 0 0 0 1 3 1 0 1'
Paste the Command String to TM-CCT, click
Observe response message from Router Device:
COMMAND RECEIVED AND EXECUTED
Observe:
GPIO 0 LED = Off (Output is Low)
Set GPIO 0 High
Use Command String: '10 2 0 0 0 1 3 1 1 0'
Paste the Command String to TM-CCT, click
Observe response message from Router Device:
Observe:
GPIO 0 LED = Off (Output is Low)
Response from 02
00 00 00
Command Received
and Executed
Device Reset
Length of received
packet: 0x23 = 35d