Nur_Alya
Newbie
Hi. I was given a task to do a school project using Controllino MAXI/Arduino Mega 2560 with MAX485 and a Modbus RTU sensor where the objective is to get some reading from the sensor.
Here I am struggling with coding and connection for it. I wanted to ask for advice, opinion on the things I've done with it at the moment. As I am lost with on how to use the one MAX485 as transmitter/receiver in getting values from the sensor to the Controllino.
At the moment;
Sensor: Brown -> External power supply, B -> B MAX485, A -> A MAX485, Black -> GND Controllino
MAX485: DE & RE -> GND, DI -> TX3 Controllino, RO -> RX Controllino, VCC -> 5V RS485 Controllino, GND -> GND Controllino
Controllino : No connection at the moment
Is it true? Or fine with what I am doing at the moment?
Here I am struggling with coding and connection for it. I wanted to ask for advice, opinion on the things I've done with it at the moment. As I am lost with on how to use the one MAX485 as transmitter/receiver in getting values from the sensor to the Controllino.
At the moment;
Sensor: Brown -> External power supply, B -> B MAX485, A -> A MAX485, Black -> GND Controllino
MAX485: DE & RE -> GND, DI -> TX3 Controllino, RO -> RX Controllino, VCC -> 5V RS485 Controllino, GND -> GND Controllino
Controllino : No connection at the moment
Is it true? Or fine with what I am doing at the moment?