This project will show how to collect Bluetooth low energy data and export it as. csv.
For this project, I am using a Bluetooth Low Energy USB dongle called BlueIO, which will act as a central device to retrieve data. Hibou Air Quality Monitor which will serve as a peripheral device to transmit the data. The script is simple to use and can be used for other purposes such as store the data in a database or cloud.
Things we need:
- Google Chrome version 78 or later (windows)
- BleuIO β Bluetooth Low Energy Adapter
- Hibou Air Quality Monitor sensor device
Before we start
The article assumes you have some general knowledge of how Bluetooth Low Energy (BLE) work. Since the Chrome Serial specification on Google Chrome is not finalized yet, you will have to go to enable the highlighted flag, and restart Chrome.
openΒ chrome://flags/#enable-experimental-web-platform-featuresΒ in chrome browser.
In this example, we are going to use JavaScript + html (and some CSS for styling) to setup theΒ BleuIOΒ and quickly start scanning.
Read more:Β COLLECT AND EXPORT DATA FROM BLUETOOTH DEVICES