u-blox / XPLR-IOT-1-Air-Quality-Monitor-Example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Air Quality Monitor Example

This application demonstrates how can someone use an XPLR-IOT-1 device to get measurement data from a wireless Bluetooth LE sensor, and how can these data be sent to the Thingstream platform via MQTT, and then visualized in a Node-RED dashboard. For this purpose a Wireless Air Quality Monitor Solution is implemented. This solution consists of the elements shown in the picture that follows:

  • A Bluetooth LE sensor measurement broadcaster (wireless sensor)
  • An XPLR-IOT-1 Gateway
  • A Thingstream flow which gets the measurements and publishes them to the dashboard
  • A Node-RED dashboard for data visualization

AirQualityMonitorSolution should be here.

In this project a wireless Bluetooth LE sensor is imlemented using a Sensirion SCD41 CO2 sensor in a MikroE HVAC Click board MIKROE-4290. In order to render this sensor wireless you can connect it to a MINI-NORA-B1 Evaluation kit or an XPLR-IOT-1 device (in the latter case you will need two XPLR-IOT-1 devices).

The wireless sensor broadcasts its measurements via Bluetooth LE, and an XPLR-IOT-1 device can be used as a Gateway to pick up those measurements, and send them via a Wi-Fi connection to Thingstream platform using MQTT protocol.

After been transmitted to Thingstream, a Thingstream flow can be created to publish those measurements to a Node-RED dashboard for visualisation.

All these elements are implemented in this project, to provide a complete example.

  • The wireless Air Quality sensor is implemented and described here
  • The Air Quality Gateway is implemented and described here
  • The Thingstream flow is described here
  • The Node-RED dashboard can be found here

Disclaimer

Copyright © u-blox

u-blox reserves all rights in this deliverable (documentation, software, etc., hereafter “Deliverable”).

u-blox grants you the right to use, copy, modify and distribute the Deliverable provided hereunder for any purpose without fee.

THIS DELIVERABLE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR U-BLOX MAKES ANY REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS DELIVERABLE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.

In case you provide us a feedback or make a contribution in the form of a further development of the Deliverable (“Contribution”), u-blox will have the same rights as granted to you, namely to use, copy, modify and distribute the Contribution provided to us for any purpose without fee.

About


Languages

Language:C 96.3%Language:CMake 2.9%Language:Batchfile 0.8%