Skip to main content

6 posts tagged with "modbus"

View All Tags

Modbus Scan

This utility project scans the range of possible modbus sensor ids and prints out the ids of the sensors that respond to the query. The project is useful for identifying the modbus id of a sensor.

Photos below illustrate the test arrangement. All sensor Tibbits are plugged into the same socket S1.

MQTT Publish Sensor Data

This project demonstrates how to upload temperature readings from a modbus temperature sensor to the cloud via MQTT.

The temperature sensor data is polled automatically, and is sent over MQTT to a MQTT broker every 20 seconds.

You can also manually trigger the data upload by pressing the MD button.

Modbus Temperature Sensor (Bus Probe 01)

This project outputs sensor measurements using sys.debugprint, therefore it needs to run in debug mode.

Modbus TCP Master Device

This project shows how to use modbus TCP to poll a sensor value of a modbus slave device over TCP.

This project is to be used with the Modbus TCP Slave example project.

Modbus TCP Slave Device (Bus Probe 01)

This project shows how to use modbus TCP to transmit a sensor value to a modbus tcp master.

This project is to be used with the Modbus TCP Master example project.