meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
code:rp2040_eth_modul_bme680_modbus [2026/05/12 19:02] vamsancode:rp2040_eth_modul_bme680_modbus [2026/05/12 21:04] (current) vamsan
Line 1: Line 1:
-====== lamaPLC: RP2040_ETH_Modul: Read BME 680 sensor data and store in Modbus input registers  ======+====== lamaPLC: RP2040_ETH_Modul: Read BME 680/688 sensor data and store in Modbus input registers  ======
 The program reads the following data from the [[sensor:bmp_bme|BME680 sensor]] and displays it in the Modbus input registers: The program reads the following data from the [[sensor:bmp_bme|BME680 sensor]] and displays it in the Modbus input registers:
   * Temperature: Provides ambient temperature readings.   * Temperature: Provides ambient temperature readings.
Line 5: Line 5:
   * Barometric Pressure: Can be used to calculate altitude or track weather changes.   * Barometric Pressure: Can be used to calculate altitude or track weather changes.
   * Gas (VOC): Features a heated metal-oxide sensor that detects Volatile Organic Compounds (VOCs) to estimate indoor air quality.   * Gas (VOC): Features a heated metal-oxide sensor that detects Volatile Organic Compounds (VOCs) to estimate indoor air quality.
 +
 +The program is also suitable for reading the **BME688 sensor**.
  
 <WRAP center round important 100%> <WRAP center round important 100%>
Line 10: Line 12:
  
 //uart1 = UART(1, baudrate=115200, tx=Pin(20), rx=Pin(21), timeout=50)// //uart1 = UART(1, baudrate=115200, tx=Pin(20), rx=Pin(21), timeout=50)//
 +
 +Required library: https://github.com/robert-hh/BME680-Micropython/blob/master/bme680.py
 </WRAP> </WRAP>