JuniorIOT / Junior-IOT-in-a-box-Project

Code and documentation for Junior-IOT-in-a-box where you can build your own diy sensoring with TTN Lorawan based on Lora32u4
GNU General Public License v3.0
1 stars 0 forks source link

I got it working! #1

Open fweijers opened 3 years ago

fweijers commented 3 years ago

This is actually not an issue, I wanted to say thanks for this project! This project was my first step into Arduina and Lora :-)

For anyone who also likes to built this I wanted to share my struggle and solution: After quite some trial and error I got this lora device working. My biggest challenge was getting the GPS to work. The arduino_test_SoftwareSerialExample worked fine, the arduino_test_GPS worked fine also (I got perfect longitude and latitude coordinates), but ... the main program arduino_juniorIOT_Lora32u4 gave no correct GPS fix....

Here is my tip: after installing the libraries NeoGPS-master.zip and NeoSWSerial-master-DamiaBranch.zip, you also have to replace these header files: GPSfix_cfg.h and NMEAGPS_cfg.h (get them from the libraries/NeoGPS folder) That did the trick.

One request: I am looking into power-down/sleep options to save battery. I am thinking of sending the info once every hour to the TTN. If you have any tips for that...

Best regards, and again many thanks for this great project.

reivis commented 2 years ago

Did you got it working in sleep-mode?

fweijers commented 2 years ago

No I never got to that point. The TTN network went from V2 to V3 and then my configuration broke. I never got it working after that, but will try again soon.