Post Go back to editing

Connecting MAX3485 to RS-485 NPK Sensor

Category: Hardware
Product Number: MAX3485

I implemented this design on a custom board which is intended to connect to a RS-485 NPK sensor. I understand the MAX3485 works on 3.3v but i can't seem to get it to interface with the sensor. I am also using an esp32 wroom 32. If there a resource that already details this, please help me with the link. I would like to know if my circuit has issues.




  • Hello Martin,

    The MAX3485 is connected as expected. I'm not sure what NPK sensor you are using, but I assume it has 4 wires to connect to the A-B lines of the MAX3485 as well as power and ground. Have you checked these connections?.

    You have the control lines DE and /RE tied together which I assume this goes to an IO on the ESP32 and I assume you connect the DI and RO pins to the TX and RX pins of the ESP32 UART, and you are toggling the MOD line to switch between transmit and receive modes. Have you looked at the MOD signal with a 'scope to see if it is getting set correctly by the ESP32? It needs to be high to send and low to receive.

    There are multiple examples online showing how to interface an Arduino to a MAX485 Modbus module - I can't answer specifically for the ESP32 but there seems to be plenty of examples online for this chip.

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.