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 68 of 86
2016 Tiny Mesh AS
Radiocrafts
Embedded Wireless Solutions
End Device Test and Demo, Pulse Counter with Feedback
Configure End Device as Pulse Counter with Feedback
Receive periodic pulse counter status on Gateway Device
Change and observe effect of De-bounce Timer
Observe value of Pulse Counter Feedback LED
Assumptions:
End Device address (UID): 3 0 0 0
Gateway Device in Packet Mode.
LED connected to End Device GPIO 7
End Device Switch S7 connected to Pulse Counter port (Add strap per drawing below)
Gateway Device connected to TM-CCT over USB serial port
End Device Device connected to TM-CCT over USB serial port for initial Configuration
Gateway Device, Setup and actions
End Device, Setup and actions
Set End Device Demo Board in Configuration Mode
Select End Device, click 'GO' button:
Set new configurations:
Address
Data
Hex
Dec
IMA Time
7
7
10
GPIO7 Function
0x17
23
0
IMA Time Base
0x55
85
0
Wakeup Enable GPIO(8)+IMA(1)=9)
0x57
87
9
Pulse Counter Mode
0x60
96
1
Pulse Counter Feedback Port
0x68
104
7
Feedback Enable
0x69
105
2
IMA Data Field Contents
0x6A
106
2
Click
to write new configuration settings
Click
to exit Configuration Mode
Observe:
Observe:
RSSI and Connect LEDS flashing briefly while establishing
connection to Gateway Device, then Off, as device goes to sleep
Observe each 10 seconds:
Press S7 button to simulate pulse input
Observe:
Short flash on Pulse Counter Feedback LED
random glitches on pressing and releasing switch
Add 10ms De-bounce Timer:
Re-enter Configuration Mode
Pulse Counter De-bounce Time
0x61
97
10
Click
, Click
to exit Configuration Mode
Observe each 10 seconds:
STATUS MESSAGE (IMA)
Press S7 button to simulate pulse input
Observe:
Short flash on Pulse Counter Feedback LED,
No glitches on pressing and releasing switch
Device Reset
Counter status
Counter status