icon

UniLink Modbus Poll: Unihiker+modbus

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

Ā 

Ā 

SourceCode:

Ā 

Ā 

Ā 

CODE:Ā 

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

Ā 

CODE
https://github.com/YakrooThai/UNIHIKER/blob/main/EP2/modbuspoll.py
License
All Rights
Reserved
licensBg
1