
UniLink Modbus Poll: Unihiker+modbus (Building a Portable Modbus Poller)
In today’s fast-paced industrial environment, real-time data access is crucial for efficient monitoring and troubleshooting. Traditional fixed monitoring setups can limit mobility and slow down response times. That’s why we’ve developed a portable Modbus Poller using RainbowLink from DFRobot and UniHIKER, combined with Python and Tkinter for a flexible and user-friendly monitoring solution.
Introduction
Modbus is a widely used protocol in industrial automation, enabling seamless communication between sensors, controllers, and other devices. However, monitoring these systems often requires being at a fixed location, which can cause delays in troubleshooting and optimization. Our portable Modbus Poller changes that by offering real-time system monitoring on a compact and mobile device.
System Overview
The portable Modbus Poller integrates cutting-edge technologies to deliver a seamless and efficient monitoring experience:
- RainbowLink (DFRobot): Ensures reliable and stable Modbus communication.
- UniHIKER: Handles data processing and provides an interactive touchscreen for real-time display.
- Python and Tkinter: Power the software, enabling customizable polling functions and a graphical user interface (GUI) for an intuitive user experience.
With these components working together, the system can read and display real-time data from Modbus meters, offering instant insights for industrial applications.
Hardware and Software Integration
Hardware Components
- UniHIKER: Acts as the central processing unit and display interface.
- RainbowLink Module:** Facilitates Modbus communication between UniHIKER and the Modbus meter.
- Modbus Meter: The device from which data is read.
UNIHIKER:

RainBowLink:

https://www.dfrobot.com/product-2879.html
Specification
USB Interface: Type-C
Input Voltage : 5V
Baud Rate : 2400 - 128,000 bps
TTL Level : 3.3V
TTL Channels: 2
RS485 Channel: 1
RS232 Channel: 1
Output Voltage:
3.3V: Rated current 200mA
5V: Directly connected to the Type-C interface (Max 2A when connected to a Type-C port on a computer; Max 500mA when connected to a USB-A port)
12V: Rated current 800mA
Compatibility: Supports Windows and Linux; compatible with LattePanda and Raspberry Pi.Driver Requirements: Driver-free for basic functionality; installing drivers enhances performance with unique device identifiers.
Modbus Meter:

CIRCUIT:

Install and CODE:
Install :
pip install pymodbus

https://github.com/YakrooThai/UNIHIKER/blob/main/EP2/modbuspoll.py
