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:index [2026/05/12 21:08] – [MicroPython example codes for the RP2040_ETH_Module] vamsancode:index [2026/05/14 11:35] (current) – [MicroPython example codes for the RP2040_ETH_Module] vamsan
Line 1: Line 1:
 ====== lamaPLC: Code! ====== ====== lamaPLC: Code! ======
 +
 +
 +==== MicroPython example codes (hardware-independent) ====
 +|<100% 30% 70%>|
 +|[[:code:micropython_modul_flame_sensor|Flame Sensor Modul]]|This MicroPython code reads the infrared analogue signal from an IR module (ignoring the DI signal), and outputs the converted analogue value read, as well as generating its own digital signal (“FLAME DETECTED! 🔥”) based on the captured threshold value (FLAME_THRESHOLD).|
  
 ==== MicroPython example codes for the RP2040_ETH_Module ==== ==== MicroPython example codes for the RP2040_ETH_Module ====
Line 7: Line 12:
 |[[:code:rp2040_eth_modul_i2c_scanner|I2C scanner]]|The program scans the addresses of devices connected via I²C.| |[[:code:rp2040_eth_modul_i2c_scanner|I2C scanner]]|The program scans the addresses of devices connected via I²C.|
 |[[:code:rp2040_eth_modul_mlx90614_1|MLX90614 simple]]|Read [[:sensor:mlx90614|MLX90614 (GY-906) infrared non-contact Thermometer]] to serial.| |[[:code:rp2040_eth_modul_mlx90614_1|MLX90614 simple]]|Read [[:sensor:mlx90614|MLX90614 (GY-906) infrared non-contact Thermometer]] to serial.|
-|[[:code:rp2040_eth_modul_bme680|Read BME 680/688 sensor data]]|Reads data from the [[sensor:bmp_bme|BME680 sensor]]| +|[[:code:rp2040_eth_modul_bme680|Read BME 680 sensor data]]|Reads data from the [[sensor:bmp_bme|BME680 sensor]]| 
-|[[:code:rp2040_eth_modul_bme680_modbus|Read BME 680/688 sensor data and store in Modbus input registers]]|Reads data from the [[sensor:bmp_bme|BME680 sensor]] and displays it in the Modbus input registers.|+|[[:code:rp2040_eth_modul_bme680_modbus|Read BME 680 sensor data and store in Modbus input registers]]|Reads data from the [[sensor:bmp_bme|BME680 sensor]] and displays it in the Modbus input registers.|