关于rs485通讯 [英] About rs485 communication

查看:110
本文介绍了关于rs485通讯的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用rs 485 modbus端口与raspberry pi进行通信。如何联系请帮助。



我尝试过:



我使用覆盆子pi,rs485 modbus,连接的智能电表我可以通过modbus从电表收集数据告诉我如何开始......

How to communicate using rs 485 modbus port with raspberry pi. How to connect please help.

What I have tried:

I use raspberry pi , rs485 modbus , smart meter connected with i'm able to collect data's from meter via modbus tell me how to begin...

推荐答案

你需要在 PI 板上连接 USB到RS485 适配器(可能你已经拥有它)。

然后你需要一个 MODBUS 库(你可以写自己的,这并不难)。

最后你必须知道智能电表MODBUS 地址注册地图,以便制定适当的请求。
You need to connect a USB to RS485 adapter on you PI board (probably you already have it).
Then you need a MODBUS library (you may write your own, it is not difficult).
Finally you must know the smart meter MODBUS address and register map, in order to formulate the proper requests to.


这篇关于关于rs485通讯的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆