This program connects to the The Things Network backend in OTAA Mode. It logs sensor values from a BME 280 to the backend. Tried adding support for Grove GPS using SerialGPS library but it is not working - conflicting with mbed-rtos, so it commented. Deep Sleep for mDot implemented BUT avoiding reprogramming of the mDot config is NOT working.
Dependencies: BME280 SerialGPS libmDot mbed-rtos mbed
History
Stable release -onnect to the The Things Network in OTAA mode.Make sure to program your specific keys into LoRa.h - from TTN Accnt Dashboard; The program also supports reading a BME280 sensor and logging.; Serial GPS is NOT working.
2016-07-13, by AshuJoshi [Wed, 13 Jul 2016 21:13:51 +0000] rev 13
Stable release -onnect to the The Things Network in OTAA mode.Make sure to program your specific keys into LoRa.h - from TTN Accnt Dashboard; The program also supports reading a BME280 sensor and logging.; Serial GPS is NOT working.
Dummy LoRa.h - replace with your values
2016-07-13, by AshuJoshi [Wed, 13 Jul 2016 21:10:48 +0000] rev 12
Dummy LoRa.h - replace with your values
Stable version works with local and remote TTN
2016-07-13, by AshuJoshi [Wed, 13 Jul 2016 19:33:28 +0000] rev 11
Stable version works with local and remote TTN
Cleanup from last version. Created header file and move LoRa parameters. Setup framework to check if config is saved waking out of deep sleep - it is NOT working. Logic not working, is setting up config everytime it comes out of deepsleep.
2016-07-09, by AshuJoshi [Sat, 09 Jul 2016 16:38:21 +0000] rev 10
Cleanup from last version. Created header file and move LoRa parameters. Setup framework to check if config is saved waking out of deep sleep - it is NOT working. Logic not working, is setting up config everytime it comes out of deepsleep.
Added tag Log4SensorsToTTN for changeset c17b68b03791
2016-07-08, by root@developer-sjc-cyan-compiler.local.mbed.org [Fri, 08 Jul 2016 03:27:36 +0000] rev 9
Added tag Log4SensorsToTTN for changeset c17b68b03791
Sending data to GW/TTN working, sending sensor data from BME280 and the Light Sensor
2016-07-08, by AshuJoshi [Fri, 08 Jul 2016 03:26:39 +0000] rev 8
Sending data to GW/TTN working, sending sensor data from BME280 and the Light Sensor
Now stable - can join the LoRa network in OTAA mode.
2016-07-08, by AshuJoshi [Fri, 08 Jul 2016 03:09:14 +0000] rev 7
Now stable - can join the LoRa network in OTAA mode.
LoRa Joining Network was getting stuck - not finishing up. Looked at mDot-LoRa-TTN - and matched the library versions of mbed and mbed-rtos
2016-07-08, by AshuJoshi [Fri, 08 Jul 2016 03:00:43 +0000] rev 6
LoRa Joining Network was getting stuck - not finishing up. Looked at mDot-LoRa-TTN - and matched the library versions of mbed and mbed-rtos
Added code to configure the network for LoRa / TTN
2016-07-07, by AshuJoshi [Thu, 07 Jul 2016 01:24:10 +0000] rev 5
Added code to configure the network for LoRa / TTN
Had added SerialGPS, removed it to make it stable again.
2016-07-07, by AshuJoshi [Thu, 07 Jul 2016 00:07:45 +0000] rev 4
Had added SerialGPS, removed it to make it stable again.