@hidara - do not do as the bulk of the engineers in the world do, which would be:
- Skip the reading
- Start with a multi-part project
- Use the bare minimum of components
- Skip the reading
- Ask questions on here without any indication of prior research
LoRaWAN has many parts to it, try not to have too many elements being worked on in parallel unless you have plenty of duct tape to reseal your head when your brain explodes, but a good running order would be something like:
Order a gateway and TWO different device platforms - I’d go with one of the TTGO boards with a LoRa & GPS module - plus what feels like it’s pricey but has first class support for the software stack, an Adafruit Feather M0 RFM95
Install/setup:
Which makes using this so much simpler:
Setup your un-modded gateway, get both devices working on ABP on the v3 console.
Leave the Feather alone so you have a “is it working” device - I have one on my desk with a pushbutton so I can “is any of this stuff actually working / online / hearing me” when I’ve disappeared up my own backside.
Create a new project for each sensor / add-on, get each one working.
Use a personal Git to preserve known good code bases so you can roll back and do releases for code base that is deployed.
Then start to merge the code base, one item at a time, testing each time.
At some point when you know your Feather is reliable, crack open the TTIG to add a serial console AND an external antenna connection.
At some point, do some OTAA setup on the Feather so you know about OTAA - the preferred connection method for static devices, a bit useless for trackers.
Setup Data Storage so you have a back-up of your uplinks.
Figure out a way to get your data out, these work:
Do not try out TTN Mapper YET - it’s the coverage mapper but it is being fettled for v3 and you will have enough on without trying to figure out if it’s you or TTN Mapper (it will be both).
And then you will be in the top 10% of LoRaWAN makers in the world. Really!
They are v2 docs, but this makes a good reading list:
- Read all of: https://www.thethingsnetwork.org/docs/lorawan/
- The devices section of: https://www.thethingsnetwork.org/docs/devices/
- The gateways section of: https://www.thethingsnetwork.org/docs/gateways/
- The network section of: https://www.thethingsnetwork.org/docs/network/
- The applications and API sections of: https://www.thethingsnetwork.org/docs/applications/
I’ll figure out the links for the v3 equivalent soon. The Working with Bytes in the devices section will be important for you.
If you can copy & paste output, do that, pictures of text are bad. Screen shots of things that won’t copy & paste are OK:
https://www.thethingsnetwork.org/forum/t/how-do-i-format-my-forum-post-howto/8735
Airtime calculator which will fill in the blanks on the above:
https://avbentem.github.io/airtime-calculator/ttn/eu868/2
As an aside, there are various WiFi location lookup services around - thanks to Google StreetView. Adding a simple GSM module for simple web gets or using SMS on to the TTGO won’t be trivial but is a good upgrade path.
Give us regular progress reports here or on blog!