Reference
Last revision 2026/01/21
API Description
- Create a bme object and write to IIC address.
DFRobot_BME680_I2C bme(0x77); - Initialize BME680 and library
begin(); - Start data converting
startConvert(); - Read converted data
update(); - support reading the IAQ
supportIAQ(); - Start data converting with IAQ
iaqUpdate(); - Query whether the IAQ conversion is complete. If Completed return 1, else return 0.
isIAQReady(); - Get temperature data, unit of ℃, precision of 0.01℃
readTemperature(); - Get atmosphere pressure, unit of pa, precision of 0.01pa
readPressure(); - Get humidity, unit of %rh, precision of 0.01%rh
readHumidity(); - Get resistance value of gas-resistance, unit of ohm, precision of 0.01ohm
readGasResistance(); - Get altitude, unit of m, precision of 0.01m
readAltitude(); - Get sea level atmosphere pressure reference value and send altitude data
readSeaLevel(float altitude); - Get calibrated altitude value and send atmosphere pressure reference value
readCalibratedAltitude(float seaLevel);
Principle

Other Supplementary Information
| MCU | Pass | Fail | Untested | Note |
|---|---|---|---|---|
| FireBeetle-Board328P | √ | Do Not Support IAQ | ||
| FireBeetle-ESP32 | √ | Do Not Support IAQ | ||
| FireBeetle-ESP8266 | √ | Support IAQ | ||
| Leonardo | √ | Do Not Support IAQ |
Was this article helpful?

