guidosch / bikecounter

This repository contains the hardware and software components of a PIR based tracking device to monitor the usage of local bike trails. The data is sent over LoRaWAN to TTN and from there to a Google Cloud backend which stores the data and provides api endpoints for the data visualization web UI.
Creative Commons Zero v1.0 Universal
5 stars 0 forks source link

Improve LoRa connection logic #93

Open MeierTobias opened 11 months ago

MeierTobias commented 11 months ago

The MKRWAN library has some flaws regarding the timing and handling of the downlink message. Unfortunatly there is a lot of work to do to improve the library so here are some options:

Use a better antenna:

Change to MKRWAN_v2 and update library:

STM dev kit

guidosch commented 10 months ago

Below a screen shot of the July on the Adlisberg Trail with fresh loaded batteries. It first was online a few days then offline and then felt again in the endless sending mode and the offline again. Later no more data but the batteries where drained within just a few weeks by doing something...

Bildschirmfoto 2023-09-08 um 22 48 04
MeierTobias commented 7 months ago

Regarding the MKRWAN_v2 library:

Another issue is the signal strenght from my desk to the next gateway. It is very hard to debug the application if I encounter a signal error every second time. To fix this I orderd a cheap Gateway (<100chf) for my office place. (As we discussed last time)

So the current open points are: