2

Would anyone have any recommendations for a modbus newbie on getting a pi to talk to a communicating sensor?

2 options

Option 1, $10: https://www.amazon.com/Serial-Converter-Adapter-interface-FT232RL/dp/B01MYSQLF0

And these steps https://medium.com/@boonsanti/raspberry-pi-3-model-b-modbus-rs-485-to-modbus-tcp-ip-gateway-9ed14ce2c08e

OR this pihat option 2, $40: https://www.instructables.com/id/How-to-Use-Modbus-With-Raspberry-Pi/

Option 2 seems like it even has a package to install in the directions called minimal modbus. Any idea if that would be utilized on both options? If one option seems easier for a beginner that's what I'll choose!

Temp and humidity sensor test trial if I can get it to work I'm hoping for a modbus electrical sub meter:)

https://www.amazon.com/Display-Temperature-Humidity-Sensor-External/dp/B078PHLR4T

Thanks for any help/tips!

bbartling
  • 237
  • 2
  • 14

1 Answers1

3

That depends what you want I guess. The second option includes a galvanic isolation which makes it safer (both in terms of signal interference and personal safety) in more industrial environment and it also has more features in general. But because you want to use it to communicate with a rather simple sensor the USB to RS485 should be enough. MinimalModbus is just a python library so that should work with either of your hardware options.

kyjanond
  • 231
  • 1
  • 3