Read RS-485 Modbus temp/humidity on IRIV IO Controller and send to Blynk (V0/V1) over Ethernet using WIZnet W5x00 in CircuitPython. Includes steps and code.
COMPONENTS
PROJECT DESCRIPTION
This tutorial shows how to use an IRIV IO Controller to read temperature/humidity from an RS-485 (Modbus RTU) sensor and upload the values to the Blynk cloud (virtual pins V0/V1) over Ethernet using a WIZnet W5x00 driver in CircuitPython. Blynk provides an easy mobile/dashboard UI so you can monitor values in real time. The original Cytron guide demonstrates the full flow with example code and screenshots.
🔧 Project Overview
Project Name: IRIV IO Controller IoT Gateway : Blynk Author (Tutorial): Hussien Jawhar Sathik (Cytron) Platform: IRIV IO Controller (CircuitPython) Networking: WIZnet W5x00 (CircuitPython adafruit_wiznet5k) Field Bus: RS-485 (Modbus RTU) Cloud/App: Blynk IoT (Virtual Pins V0 = Temperature, V1 = Humidity) What You’ll See: Terminal prints that match the live values on the Blynk dashboard.
The tutorial uses Blynk virtual pins V0/V1, shows how to get a Blynk Auth Token, and explains where to place it in the code.
Note: Any token shown in screenshots is an example—use your own token from Blynk.
Troubleshooting Tips
No updates on Blynk: Double-check token spelling, virtual pin names (V0/V1), and request URL. Ensure blynk.cloud is reachable (no firewall/proxy blocks).
Modbus read errors: Verify slave address, register indices (0/1), baud rate, parity, stop bits, and any scaling factors from your sensor datasheet.
DHCP issues: Check cable/switch/router. If needed, test with a static IP on the W5x00 to rule out DHCP conflicts.