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.
Button Aof the FeatherWing is routed to
Digital #9pin of the M0 micro-controller. But this pin is also
Analog A7which can be used to measure battery voltage! The Arduino sketch is currently not using the buttons, but to avoid any issue we re-route
The other point is more important: the LMIC(LoraMAC-in-C) Arduino library which is used to communicate with TTN needs access to the
DIO1pin of the RFM95 radio chip. The Feather exposes this pin (labeled
IO1on the board) but it is not routed to the M0 micro-controller. We need to route
IO1to a free Digital pin; we will use
Enough for the reading, let’s assemble the electronics!