I have some equipment from an abandoned internal project at a French research institute.
Each pollution sensor kit includes:
an Arduino MKR WAN 1310 board
an SDS011 particle sensor
an HTU21D temperature/humidity sensor soldered to a PCBA (printed circuit board)
a LoRa antenna
a battery.
More information is available here:
I would like to know if it would be possible to reuse this equipment to integrate it into the Sensor.Community network.
Do you think it would be possible to integrate Sensor.Community compatible firmware directly onto the Arduino MKR WAN 1310 and transmit the data via the LoRa antenna over a paid network ( Couverture LoRa® Orange | Orange Business ) to then view it on the Sensor.Community board?
There seem to be many challenges (Arduino, LoRa, battery), but who knows!
All your advice and examples would be greatly appreciated. I found this project; are you familiar with it?
What I did to get PM sensors working on TheThingsNetwork:
Create a TTN community account
Create an ‘application’ on the TTN account
Implement a LoRaWAN stack on the Arduino, something like arduino-lmic or the LoRaWAN support in RadioLib. To connect a LoRaWAN device, you need a set of three identifying this: a) a device EUI, b) a “join EUI” and c) a “join secret”. You can usually derive a) from the hardware, then generate b) and c) on the TTN console and program them into your device.
I wrote an backend application (in Java, but could also be python for example) that listens for LoRaWAN messages from TTN, then converts them to air quality values. Finally it forwards the measurements to sensor.community, basically emulating a normal sensor.community node. You need to have registered a node with sensor.comunity with the proper sensor types etc. This application also needs to know how the arduino application packed the data into a binary blob.
I think the coverage of TheThingsNetwork is not so great in France.
I have also been experimenting to get community science data through meshtastic and meshcore LoRa networks. I managed to get the basic mechanism working for meshtastic, need more work for meshcore. Meshtastic basically has internet-connectivity basically built-in, the meshcore community seems anti-internet-connectivity. These networks are still developing, frequencies are changing, algorithms and software is still changing, not everyone is using the same settings, so it’s a bit unstable still. I think that most boards that can do LoRaWAN can also do meshtastic/meshcore.
Next, @bertrik I’m interested in your program for sending data to sensor.community via TTN. I have an antenna near my house; I’ll try to connect and if not, I’ll borrow one. If that works, I’ll connect to a paid network.
However, I am not a developer and do not know JavaScript and Python, do you have a tutorial or anything else?