ROBOT RS485 shield to Arduino MEGA

Hi All,

I'm trying to read data with a 9 pin connector using a RS485 shield (ROBOT) and send the data to Arduino MEGA. Can you please guide me with the connections (wiring or attaching the shield to the Arduino) and also a sample code showing how can I read with serial from RS485 and see the readings in the serial monitor?

Thanks a lot,
Amir

What do you mean?
I don't see a 9 pin connector on RS485 shield (ROBOT):
Screenshot from 2024-09-12 11-43-56

Hi,

Yes the 9 pin connector is wired to the RS485 shield. I attached the photo.

Thanks for helpin how to read the data from the 9 pin connector by Arduino using this RS485 shield.


Where the 9-pin will connected to? To your PC?

No my computer is connected to the Arduino by the USB.
The 9 pin connector will be connected to another device (Battery Management System) reading data from it.

Are you sure that your (Battery Management System) uses a RS485 standard?
According to 9pin connector, I would consider it as RS232 interface. In that case you can't connect it with Arduino directly, you rather need a RS232 - TTL converter.

See this topic for info:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.