BME688 UDP | BME688 Data Analysis for bme688 Bosch sensor

BME688 UDP, BME688 Data Analysis.

Retrieve and display data from your bme688 sensor in real time under Windows, and save to a database for analysis and more.

Categories: , , ,

Description

Database schema

+---------+---------+--------+--------+---------+----------+--------+
| bm_date | bm_time | bm_air | bm_gas | bm_temp | bm_press | bm_hum |
+---------+---------+--------+--------+---------+----------+--------+

API BME688 UDP

If you use your own sensor script for send UDP data, use this command-lines in your script for connect to BME688 UDP software.

+------------+------------------+
| Data send  | command send     |
+------------+------------------+
+------------+------------------+
| Air        | Air: value %aq   |
+------------+------------------+
| Gas        | Gas: value kOhm  |
+------------+------------------+
| Temp       | Tmp: value C     |
+------------+------------------+
| Pression   | Pres: value hPa  |
+------------+------------------+
| Humidity   | Hum: value %RH   |
+------------+------------------+
| Cycle Burn | cycle burn value |
+------------+------------------+
| Burn-in    | burn-in value    |
+------------+------------------+

Sample script

        out_string = "Air: {0:.2f} %aq".format(AQ)

        sendData(out_string)

The “bme688_iaq.py” script that retrieves data from the bme688 sensor has been modified. The author of the original script is thstielow. Read the README.md file to learn more about how the original script works. The changes made concern UDP transfer, export to an HTML file for distribution, etc. You can use your own script to communicate in UDP with the BME688 UDP software API.

Use:

After download archive. Copy “bme688_iaq.py” and “bme688.py” file, on your Rasp or use your own script with BM688 UDP software API.

! Change values in “bme688_iaq.py” file if necessary.

- sensor680 = bme680.BME680(i2c_addr=bme680.I2C_ADDR_PRIMARY)
- createPage = 0 # 0 = no; 1 = yes
- udpdataSend = 1 # 0 None; 1 = send UDP data on local network; 2 = No UDP send, print result on console
- UDP_IP = "YOUR_IP"
- UDP_PORT = 15000

Open command console and type:

> python3 bme688_iaq.py

On PC:

Start BME688 UDP on your computer and click “Start UDP” button to display real-time data.

Start “BME688 Data Analysis” to view recorded data. You can modify the MySql commands in the config.xml file from the software by clicking on the menu. Customize your charts plots.

Checksum SHA-512 *BME688_Soft.zip

cf6770fba81b745b427a3bed7ae9cb96199a07247feb584afe2e561c01466a8facf15c65811a29f069b63f6be1243af5f3bce158d6b9ee3c67b7ca8e88055872

To check the checksum of a software we recommend the software ChecksumVerify https://www.microsoft.com/