How to Read Modbus Data with Python - Part 1

Published: 31 August 2023
on channel: Chipsee
30,517
425

(Part 1 of How to Read Modbus Data with Python)

Part 2:    • How to Read Modbus Data with Python - Part 2  

The 5 inch industrial panel PC in the video: https://chipsee.com/product/ppc-a55-050/

pymodbus: https://github.com/pymodbus-dev/pymodbus

I used Chipsee 5 inch RK3568 HMI and Python pymodbus to read a temperature + humidity sensor data, using Modbus and RS485.

This video shows how to wire the devices, how to install Python packages, how to invoke Python functions to read the temperature data, and how to use logging to learn what's going on under the hood.

In the end you should be able to read your own Modbus sensor including but not limited to simple ones like temperature and humidity sensor.

In the next video I'll also show you how to build a GUI to display the data we get from sensor on the Chipsee human machine interface.

Follow us on Facebook:   / chipseeipc  
Follow us on Twitter:   / chipseeipc  

00:00 Intro
01:02 Wiring
03:16 Install Pymodbus
04:12 Pymodbus programming
05:04 Chipsee Doc - How to decide port
06:45 Sensor Doc - Which registers
09:25 Pymodbus Doc - How to read holding register


On this page of the site you can watch the video online How to Read Modbus Data with Python - Part 1 with a duration of hours minute second in good quality, which was uploaded by the user Chipsee 31 August 2023, share the link with friends and acquaintances, this video has already been watched 30,517 times on youtube and it was liked by 425 viewers. Enjoy your viewing!