This distributed IoT node by Hackster user Amedee uses some Adafruit tech 🙂
This is a re-mix of my original The Things Network Node for TTNmapper.orgproject.
The original project uses a smartphone to map The Things Network (TTN) coverage on TTN Mapper; this version adds an Adafruit Ultimate GPS FeatherWing to the node which then can be used standalone: it will transmit its coordinates through TTN and the TTN Mapper Integration does the rest!
The Adafruit Feather/FeatherWings building blocks are easy to use, it doesn’t take more than a couple of hours to get your node online (a bit more if you decide to print the enclosure!).
Assembling the electronics
The Adafruit LoRa Feather and the OLED and GPS FeatherWings are almostready for TTN! There are two things which we need to look at.
First, the
Button A
of the FeatherWing is routed toDigital #9
pin of the M0 micro-controller. But this pin is alsoAnalog A7
which can be used to measure battery voltage! The Arduino sketch is currently not using the buttons, but to avoid any issue we re-routeButton A
toDigital #10
.The other point is more important: the LMIC(LoraMAC-in-C) Arduino library which is used to communicate with TTN needs access to the
DIO1
pin of the RFM95 radio chip. The Feather exposes this pin (labeledIO1
on the board) but it is not routed to the M0 micro-controller. We need to routeIO1
to a free Digital pin; we will useDigital #11
.Enough for the reading, let’s assemble the electronics!