How to Collect & Export data from Bluetooth Devices?

This is a simple guide on collecting and exporting data from Bluetooth devices. This project will demonstrate how to use a web browser to collect real-time BLE data and export it as a CSV file. Its

I’m using a Bluetooth Low Energy USB dongle called BlueIO for this project, which will serve as a central device for data retrieval. The Hibou Air Quality Monitor will be used as a data transmission device. The script is easy to use and may be used for a variety of reasons, including storing data in a database or in the cloud.

Hardware Requirements

The following are the requirements for collecting and exporting data from Bluetooth devices.

How to Collect & Export data from Bluetooth Devices

Before we begin, we’ll assume you have a basic understanding of how Bluetooth Low Energy (BLE) works. Because the Chrome Serial specification is still being worked out, you’ll need 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 set up the BleuIO and quickly start scanning.


  • Clone the git repository.

git clone

  • Connect the Bleuio dongle to your computer.
  • Open index.html file
  • Click connect and wait for the device to load on your com port.
  • Select your com port.
  • Scan for BLE devices. (this script only scans for Hibou Devices. You can change the manufacturer value at the script.js file)
  • Select the device and start getting data. You will get real-time value on the screen.
  • Once you click on stop getting data. you will see all the data shown on a table between the time period. You can view data or export it in CSV.


I hope all of you understand how to Collect & Export data from Bluetooth Devices. We MATHA ELECTRONICS will be back soon with more informative blogs.

Leave a Reply

Your email address will not be published.