meta data for this page
lamaPLC: Code!
MicroPython example codes (hardware-independent)
| 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
| Modbus TCP example | The RP2040 module has Ethernet integrated, which can be accessed via UART1. This code creates Modbus Holding registers on the module with contents from 1 to 10. |
| Modbus TCP sniffer | The program receives and analyses incoming TCP Modbus telegrams, but does not respond. |
| I2C scanner | The program scans the addresses of devices connected via I²C. |
| MLX90614 simple | Read MLX90614 (GY-906) infrared non-contact Thermometer to serial. |
| Read BME 680 sensor data | Reads data from the BME680 sensor |
| Read BME 680 sensor data and store in Modbus input registers | Reads data from the BME680 sensor and displays it in the Modbus input registers. |
C example codes for the Arduino Module (Arduino IDE)
| Read BME680 Sensor | Read BME680 Temperature/Humidity/Barometric Pressure/Gas (VOC) Module |
This page has been accessed for: Today: 1, Until now: 102