• 0
Sign in to follow this  
Bhushan021

PmodRs485 - Arduino Due

Question

Posted (edited)

Hi, I am trying to use PmodRS485 with Arduino Due for communicating with a sensor that uses MODBUS RTU (RS485).

My question:

Is PmodRS485 the right module to use in this case?

(I am not able obtain any data from the sensor. The voltage between A and B terminal on PmodRS485 remains constant. That means it is neither sending nor receiving anything. I am using the ModbusMaster.h library by Doc Walker.)

 

 

Edited by Bhushan021

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi @Bhushan021,

We don't have an Arduino Due to directly test this ourselves, but I believe the ModbusMaster.h should generally be compatible with the Pmod RS485 since from what I can tell in the material available on the associated github account (link) it just uses a serial port and flow control bits which are required for the Pmod RS485 to work correctly. My understanding with the Arduino Due is that it subject to the caveat listed in the readme where you will need to disconnect the module from RX while uploading the sketch before being able to reconnect and properly use it. I am uncertain of how the other two pieces of hardware listed in the Github hardware states differ from the Pmod RS485 though.

Thanks,
JColvin

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this