Modbus Soil Moisture Censor to Raspberry Pi or Arduino

Thread Starter

chancej715

Joined Apr 16, 2022
1
Hello everyone. I am new to electronics so I apologize if this question is vague or not in the correct forum.

I would like to be able to read the data output from the item linked below with a Arduino or Raspberry Pi. I am very new to electronics so I do not know where to begin. In the description for the device, it says it outputs RS485 output (Modbus protocol) 4~20mA with DTU, wireless transmission. Can somebody please help me understand how I can read this output with a Raspberry Pi or Arduino? Thank you.

Firstrate FST100-2006 RS485 Modbus Soil Moisture Sensor: https://www.alibaba.com/product-det...rlist.normal_offer.d_title.d2065de7bxIcj3&s=p
 

jpeventual

Joined Apr 17, 2022
1
You might look at the work I did to get a 4-channel 0-10V MODBUS module working:
<Mod: Site Promotion link Deleted>
I can write and read registers using some Tcl/Tk code, which should run on the Raspberry Pi. There are probably easier ways to do this, but you could make a nice GUI with Tk.
 

drjohsmith

Joined Dec 13, 2021
1,553
Hello everyone. I am new to electronics so I apologize if this question is vague or not in the correct forum.

I would like to be able to read the data output from the item linked below with a Arduino or Raspberry Pi. I am very new to electronics so I do not know where to begin. In the description for the device, it says it outputs RS485 output (Modbus protocol) 4~20mA with DTU, wireless transmission. Can somebody please help me understand how I can read this output with a Raspberry Pi or Arduino? Thank you.

Firstrate FST100-2006 RS485 Modbus Soil Moisture Sensor: https://www.alibaba.com/product-det...rlist.normal_offer.d_title.d2065de7bxIcj3&s=p
Wish you well on this
My suggestion would be to get an off the shelf "hat" for the arduino
that takes care of all the electrical interfaces for you,
and provides a set of libraries / examples to get it going,

If you prefer a RiPi,
then there are hats for this as well

https://www.instructables.com/How-to-Use-Modbus-With-Arduino/

https://thepihut.com/products/rs422...uaiAYN-rfwfYrSX5_tjzbRL17pMXccXxoCPL0QAvD_BwE
 

Ya’akov

Joined Jan 27, 2019
10,226
Wish you well on this
My suggestion would be to get an off the shelf "hat" for the arduino
that takes care of all the electrical interfaces for you,
and provides a set of libraries / examples to get it going,

If you prefer a RiPi,
then there are hats for this as well

https://www.instructables.com/How-to-Use-Modbus-With-Arduino/

https://thepihut.com/products/rs422...uaiAYN-rfwfYrSX5_tjzbRL17pMXccXxoCPL0QAvD_BwE
Just a nit: "shield" for Arduino, "hat" for RPi, "daughterboard" for everything else.
 
Top