Connect a microcontroller UART to a two-wire RS485 bus with this MS2548 module. It runs from 5V, and the MS2548 transceiver switches between transmit and receive by itself, so no direction-control pin is needed. Its TXD and RXD pins use 5V logic, so it wires straight to an Arduino Uno or other 5V board. With a 3.3V board such as an ESP32, add a level shifter on both lines.
Specifications
Datasheets
What's in the box
Red HW-144 board with a fitted right-angle 4-pin header and a green 3-way screw terminal.
Great for
Wiring & getting started
- Connect power with the circuit off
Connect a regulated 5V supply to VCC and join the controller and module grounds. Do not run it from 3.3V.
- Connect the UART
Connect controller TX to TXD and controller RX to RXD. On a 3.3V board such as an ESP32 or Pico, run both lines through a bidirectional level shifter.
- Connect the RS485 bus
Connect D+/A to the remote A or + terminal and D-/B to the remote B or - terminal. Keep the polarity the same along the whole bus.
- Set termination and start slow
Bridge 120_S only when this module is at a physical end of the cable. Start at 9600 baud and raise the speed once replies are reliable.
