Skip to main content

Things Network Hardware Makes LoRaWAN Easy

Things_UNO_35019f421d2322a47dd655599ae9d7ad6e6fa886.jpg

Official hardware from The Things Network expedites LoRaWAN application development.

Just as The Things Network makes it easy to roll out LoRaWAN networks at scale, new hardware from The Things Network makes it trivial to develop LoRaWAN applications. In this post, we take a first look at the Things Node and Things Uno — a compact, IP54 rated LoRaWAN sensor node, and an Arduino-compatible development board equipped with a Microchip RN2483 module.

Things_ca762b4cdcf5e0b1cf5f461b31901b7c737c422f.jpg

Originally announced via The Things Network Kickstarter campaign, the Things Node (135-9784) and Things Uno (135-9860) have both now fully launched and are available to order.

The Things Node

Things_Node_1af725166aca7e46af971e280fa11c365d3e2a95.jpg

The Things Node is a turnkey LoRaWAN sensor node based around an ATmega32U4, packaged in a neat IP54 rated enclosure, powered by three AAA batteries and also integrating:

  • Temperature sensor
  • Light sensor
  • Digital accelerometer
  • Button
  • RGB LED

TH_Activate_8ee45f3bfae12989b2bf3f31fb765fb016e5d0b1.jpg

A particularly nice feature is that the Things Node comes pre-loaded with a default firmware that calls home to an “Activate” application, which causes the Node to appear on a map that is linked to from the URL printed on the packaging. This same page also links off to device documentation.

Things_Node-Open_93c30c84e7cae79239002c37e4d96e00d9e7fdf8.jpg

Removing two screws from the underside of the Node allows the cover to be removed, providing access to the battery compartment and a Micro USB connector for programming.

TH_LibraryManager_e14d5ef0e004f38820b1046288c5c1e0753300ea.jpg

The Things Node is programmed via the Arduino IDE and this requires:

  • TheThingsNetwork library
  • TheThingsNode library
  • SparkFun AVR Boards board support

Installation of the first two items is done via the Library Manager, while the third requires a Boards Manager URL to be configured via the Arduino IDE Preferences, following which board support can be installed using this. Full instructions are provided via a Quick Start Guide.

What does this give us? Well, TheThingsNetwork library makes it easy to perform an OTAA network join and to send uplink etc. There is also an example supplied that retrieves device info — such as the hardware EUI required when you provision a device on the network — and another that demonstrates basic use of the sensors, amongst others.

It’s also worth noting that TheThingsNode library includes handy methods for setting callbacks for when the Node wakes/sleeps, together with callbacks for when a temperature bound is reached or motion detected etc. For example, to set a function to be called upon detecting the start of motion:

void onMotionStart(void(*callback)(void));

For detailed information see the API documentation.

The Things Uno

Things_UNO-Detail_2dcdbc1d5fe379ff8ea5572445cd2776c8e31ce1.jpg

Based on the Arduino Leonardo design — rather than as the name might suggest, the Arduino UNO — the Things Uno is also powered by an ATmega32u4. However, this time board support comes bundled with the IDE and we just need to select Tools → Board → Arduino Leonardo. Although it is still necessary to install TheThingsNetwork library in order to get the same easy-to-use methods for joining the network and sending uplink etc.

Once again there is a Quick Start Guide.

Things_UNO-AntennaDetail_25d76b86de929329f3971b0b0705b0b304eacce6.jpg

The Things Uno is, in essence, a high-quality Arduino-compatible with that instantly recognisable form factor plus an integrated Microchip RN2483, with development via the Arduino IDE. A PCB antenna is integrated, although it does appear as though a resistor can be removed and a U.FL socket fitted for use with an external antenna.

First thoughts

While the Things Node provides a neatly packaged solution to quickly get you up and running with applications that require a simple button or RGB LED, and/or sensors for light, temperature and motion, the Things Uno allows extension via add-on shields and custom hardware. With both benefiting from a rich ecosystem of Arduino libraries that further expedite development.

Andrew Back

Open source (hardware and software!) advocate, Treasurer and Director of the Free and Open Source Silicon Foundation, organiser of Wuthering Bytes technology festival and founder of the Open Source Hardware User Group.

Comments