Configure Adeunis field test device on The Things Network (TTN)

The Adeunis Field Tester is a simple way to make test on a LoRaWan network. The device provide GPS information, temperature and an accelerometer to activate communications.

The device is big but it have a screen and you can have a direct feedback of the transmissions on the screen. It make it good for testing coverage manually. You can also program it to send messages periodically and easily put it in a car to create coverage maps thanks to the embedded GPS.

The following post explains how to set it to use it with TheThingsNetwork (as for any other network by-the-way).

To configure the Adeunis Field test device you need to enter in command mode. For this on Mac you need a serial tool allowing to send hexdecimal values. CoolTerm is a good and free solution for this.

Connect the Field test device on the serial port, select it in the coolTerm list with a 115200 baud communication. Activate the local echo and eventually the Line mode. Then go to menu Connection >> Send String then select hexadecimal and send the following string : FFFFFFFFFF2B2B2B

The field test will display COMMAND MODE on its screen and the terminal will print CM as a string.

Create the Application and Device in the TTN backend

Now we can create an application and associate a new device letting TTN generating the different EUI :

Then you can use these settings to configure the Adeunis test field device for LoRaWan:

# unlock the provider register (DEV_EUI, APP_EUI...)
ATT63 PROVIDER
# Configure the APP EUI
ATS214=70B3D57E
ATS215=D000A6BF
# Configure the APP KEY
ATS216=9E8434XX
ATS217=XXXXXXXX
ATS218=XXXXXXXX
ATS219=XXXXXXXX
# Change transmission rate for every 20 seconds
ATS380=20
# Change the Spread Factor to 7 (5.6 Kbps)
ATS201=7
# Switch ADR (Dynamic Rate) off
ATS220=0
# Save the configuration
AT&W

The default connectivity mode is LoRaWan OTAA so it is compliant with TTN. By default transmissions are confirmed ( register S382 = 1 )

Once the device is configured you can leave the command mode by typing

ATO 
# (this is a O not a Zero)

Then in the TTN Backend you need to change the Device EUI to match the ID written on the back of the device :

Once all of this is configure you should see your device connecting to LoRaWan TheThingsNetwork.

This entry was posted in LoRa and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *