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 to Digital #9 pin of the M0 micro-controller. But this pin is also Analog 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-route Button A to Digital #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 (labeled IO1 on the board) but it is not routed to the M0 micro-controller. We need to route IO1 to a free Digital pin; we will use Digital #11.
Enough for the reading, let’s assemble the electronics!
Make a robot friend with Adafruit’s CRICKIT – A Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express, FEATHER and other platforms to make and program robots with CircuitPython, MakeCode, and Arduino. Start controlling motors, servos, solenoids. You also get signal pins, capacitive touch sensors, a NeoPixel driver and amplified speaker output. It complements & extends your boards so you can still use all the goodies on the microcontroller, now you have a robotics playground as well.