|
3 years ago | |
---|---|---|
.. | ||
README.md | 3 years ago | |
config.h | 4 years ago | |
lora-gps.ino | 4 years ago | |
lora.h | 4 years ago | |
register-osem.sh | 3 years ago | |
sd.h | 4 years ago |
This is a GPS tracked senseBox measuring particulate matter concentrations, transmitting its data via LoRaWAN through TheThingsNetwork to openSenseMap.
It's based on
SD_PIN
in config.h
)For mobile power supply I used an Adafruit LiPo charger + 5.6Ah LiPo.
The device only measures and transmits once there was an initial GPS fix and a successful handshake with TheThingsNetwork. This means the device only begins operating when placed outdoors in areas with TTN coverage.
Important: TheThingsNetwork has a fair use policy, giving each device an uplink transmission time of 300 seconds per day. This means, that the rate at which you transmit depends on the duration you use the device per day. Each message payload has 24 bytes and is sent on a slow datarate SF10 (for higher range). You can use this calculator to find a transmission interval that suits you.
Register a device under https://console.thethingsnetwork.org
https://ttn.opensensemap.org/v1.1
(no authentication headers are required)Register a senseBox at https://opensensemap.org/register (or use the script register-osem.sh
!)
mobile
for exposureLuftdaten with SDS011 & DHT22
lora-serialization
.
Insert the following into Decode Options:
[{"decoder":"latLng"},{"decoder":"temperature","sensor_title":"Temperatur"},{"decoder":"humidity","sensor_title":"rel. Luftfeuchte"},{"decoder":"temperature","sensor_title":"PM2.5"},{"decoder":"temperature","sensor_title":"PM10"}]
Insert the EUIs & App Session Key you received from TTN in config.h
GPS_TX
and GPS_RX
jumpers on the Dragino Shield, and wire these
pins instead to the Arduinos RX2
and TX2
pins.RX3
and TX3
on the Arduino, GND to GND, 5V to 5V ;)