Skip to main content

13 posts tagged with "sensor"

View All Tags

1-Wire/Single-Wire Tibbit (62) Test Project

This project shows how to use Tibbit #62. Tibbit #62 features two identical individually configurable 1-wire/single-wire channels. Each channel can accommodate up to sixteen 1-wire sensors or one single-wire sensor.

Running on just two or three wire connections and supporting long cable lengths, 1-wire digital temperature sensors offer a reliable and cost-effective solution for building automation, precision agriculture, industrial control, and other applications requiring multipoint temperature measurement. Where temperature and humidity sensing are called for, installers can opt for single-wire DHT11 and DHT22 devices.

The following walkthrough shows the step-by-step creation of this project:

Read the related blog post

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.