RS485 - MAX485 RS485 Transceiver Module

SKU: TM1007
MAX485 RS485 transceiver module showing the MAX485 chip, green A/B screw terminal and RO, RE, DE, DI header pins

RS485 - MAX485 RS485 Transceiver Module

SKU: TM1007
Default
Regular price $3.99
/
  • Free shipping on all orders over $100
  • Secure payments
  • In stock, ready to ship
  • Inventory on the way

Add $100.00 more for free shipping

Tax included. Shipping calculated at checkout.

You'll also need

Choose a quantity and add it to your cart.

Arduino UNO Compatible
$10.9910+ in stock
Breadboard 400 holes
$4.4910+ in stock
Breadboard Jumper Wire - 140pcs
$11.9910+ in stock

A 5 V half-duplex RS-485 interface board built around the MAX485 transceiver, for sending serial data over a twisted-pair bus.

The ePartners MAX485 RS485 Transceiver Module turns the TX and RX signals of a microcontroller into the differential A/B signal used by RS-485. It has a screw terminal for the bus wires and a four-pin header (RO, RE, DE, DI) for the microcontroller. One digital pin sets the direction, so it works with an Arduino UNO, an ESP32 or a Raspberry Pi Pico.

Transceiver
MAX485
Supply
5 V
Data rate
Up to 2.5 Mbps
Bus type
Half-duplex RS-485

Why choose it

  • One pin for direction — DE and RE can be joined and driven from a single digital pin: high to send, low to receive.
  • Screw terminal for the bus — connect the A and B wires without soldering.
  • Room to grow — the MAX485 supports up to 32 transceivers on one bus, so you can add more devices later.

Specifications

Interface
Transceiver IC MAX485 (Maxim, now Analog Devices)
Bus standard RS-485 / RS-422 transceiver
Duplex Half-duplex
Maximum data rate 2.5 Mbps
Devices on one bus Up to 32 transceivers (12 kΩ receiver input)
Power and logic
Supply voltage (VCC) 5 V (4.75 V to 5.25 V)
Logic input high (DI, DE, RE) 2.0 V minimum
Logic input low (DI, DE, RE) 0.8 V maximum
Quiescent current 300 µA
Connections
Microcontroller header RO, RE, DE, DI
Power pins VCC, GND
Bus connection 2-way screw terminal (A, B)

Compatibility

Platform Works Notes
Arduino UNO / Nano (5 V) ✓ Yes Connect directly. Use SoftwareSerial or a hardware serial port.
ESP32 / ESP8266 (3.3 V) ◐ With adapter Power the module from 5 V. 3.3 V outputs can drive DI, DE and RE. RO needs a voltage divider before it reaches a GPIO.
Raspberry Pi Pico / Raspberry Pi (3.3 V) ◐ With adapter Same as ESP32: 5 V supply, and a voltage divider on RO. GPIO pins are not 5 V tolerant.
Software ✓ Yes Arduino IDE (Serial, SoftwareSerial) and MicroPython (machine.UART).

In the box

Included
  • 1 × MAX485 RS485 Transceiver Module

Applications

  • Sending sensor readings from an Arduino, ESP32 or Pico over a long twisted-pair cable
  • Linking a microcontroller to a PC through a USB to RS485 adapter
  • Connecting several microcontrollers on one two-wire bus

Tutorial

What you'll build: a microcontroller that sends a numbered message ("Hello #0", "Hello #1" …) over RS-485 once a second, which you read on your computer through a USB to RS485 adapter. About 30 minutes.

How it works

RS-485 sends each bit as the voltage difference between two wires, A and B. That makes it tough against noise on long cables. Only one device can talk at a time (half-duplex), so the module has a direction switch.

  • DI — the data your board sends into the module.
  • RO — the data the module passes back to your board.
  • DE — driver enable. High turns the sender on.
  • RE — receiver enable. Low turns the receiver on.
  • A and B — the two bus wires. Join A to A and B to B on every device.
  • GND — the return path. Every GND in your circuit must be joined.
Arduino UNO Tutorial

You need: Arduino UNO R3, a USB cable, 4 jumper wires, the USB to RS485 converter adapter and a computer (the adapter is your second RS-485 device).

Arduino UNO R35 V logicMAX485 moduleUSB to RS485adapter5VVCCGNDGNDD11 (TX)DID8DEREAABBOnly the pins used are drawn. RO is not connected in this example.

■ Power ■ GND ■ Serial (UART / RS-485 bus) ■ Direction control (DE + RE)

# Board pin → Module pin Wire colour Notes
1 5V → VCC Red Module runs from 5 V
2 GND → GND Black Common ground
3 D11 → DI Blue Serial data from the board into the module
4 D8 → DE and RE (joined together) Green High = send, low = receive
5 Module A → Adapter A Blue If nothing appears on the PC, swap A and B
6 Module B → Adapter B Blue Use a twisted pair for longer cables

Watch out: Check the pin labels printed on your module before wiring. The UNO is a 5 V board, so no level shifting is needed.

1
Install the Arduino IDE
Download and install the Arduino IDE. SoftwareSerial is built in, so no library is needed.
2
Wire it up
Unplug the USB cable first. Connect the six wires in the table above, then plug the UNO back in.
3
Set up the PC side
Plug the USB to RS485 converter adapter into your computer and note its port in the Arduino IDE (Tools → Port). If no port appears, use a data USB cable and install the USB driver for the adapter. Open a second Serial Monitor window (or any serial terminal) on that port at 9600 baud.
4
Upload the example
Paste the code below into a new sketch. Choose Tools → Board → Arduino UNO and Tools → Port → your UNO, then click Upload (right arrow). Open Serial Monitor at 115200 baud.
▸ Example 1 — Send a message over RS-485
// Wiring: 5V->VCC, GND->GND, D11->DI, D8->DE+RE
#include <SoftwareSerial.h>

const int RS485_RX_PIN = 10;   // RO (not wired in this example)
const int RS485_TX_PIN = 11;   // DI
const int DE_RE_PIN    = 8;    // DE and RE joined together

SoftwareSerial rs485(RS485_RX_PIN, RS485_TX_PIN);
int counter = 0;

void setup() {
  Serial.begin(115200);                       // USB link to your computer
  Serial.println("OK - epartners.co.nz test");
  rs485.begin(9600);                          // you can change this (both ends must match)
  pinMode(DE_RE_PIN, OUTPUT);
  digitalWrite(DE_RE_PIN, LOW);               // start in receive mode
}

void loop() {
  digitalWrite(DE_RE_PIN, HIGH);              // switch the module to send
  rs485.print("Hello #");
  rs485.println(counter);
  delay(5);                                   // let the last byte leave the line
  digitalWrite(DE_RE_PIN, LOW);               // back to receive mode

  Serial.print("Sent #");
  Serial.println(counter);
  counter++;
  delay(1000);                                // you can change this
}

✓ Check: Serial Monitor (115200 baud) on the board prints Sent #0, Sent #1 and so on, and the PC Serial Monitor on the adapter's port (9600 baud) prints Hello #0, Hello #1 and so on.

Troubleshooting

Board Problem Likely cause Fix
All PC shows nothing or garbled text A and B swapped, or the baud rates differ Swap the A and B wires. Set both ends to 9600 baud.
All Still nothing DE is not going high, or a wire is loose Check the DE/RE wire. Re-seat every jumper.
All Adapter port is missing on the PC Charge-only cable or missing USB driver Use a data USB cable and install the USB driver for your adapter.

Try next: Receive as well as send. Wire RO to D10 directly (the UNO is a 5 V board, so no divider is needed) and read it with the same SoftwareSerial object. For long cables, the datasheet says to terminate the line at both ends.

Spotted a problem in this tutorial? Email support@epartners.co.nz and we'll check it and update the tutorial.

Good to know
  • The module runs from 5 V. On 3.3 V boards, power it from 5 V (VIN or VBUS), and never connect RO straight to a 3.3 V GPIO pin.
  • Only one device should send at a time. Keep DE low whenever you are not sending.
  • A and B labels differ between makers. If two devices do not understand each other, swap the A and B wires.

Datasheet

Key figures from the manufacturer's datasheet for the MAX485 transceiver, the interface chip on this module.

MAX485 transceiver
Supply voltage (VCC) 4.75 V to 5.25 V (5 V ±5%)
Absolute maximum supply 12 V
Maximum data rate 2.5 Mbps
Driver slew rate Not limited
Duplex Half-duplex
Transceivers on one bus Up to 32 (receiver input 12 kΩ, 1 unit load)
Receiver differential threshold −0.2 V to +0.2 V
Logic input high (DI, DE, RE) 2.0 V minimum
Logic input low (DI, DE, RE) 0.8 V maximum
Quiescent current 300 µA
Shutdown mode None
Operating temperature 0 °C to +70 °C (C suffix), −40 °C to +85 °C (E suffix)
Packages 8-pin DIP, SO and µMAX (also CERDIP)

Download the MAX485 datasheet (PDF)

▸ Preview the datasheet

If the preview does not load on your device, use the download link above.

Source: Maxim Integrated (now Analog Devices), MAX481/MAX483/MAX485/MAX487–MAX491/MAX1487 datasheet, document 19-0122.

Resources

Which one should I choose?

Product Key difference Best for
This product: MAX485 RS485 Transceiver Module Connects a microcontroller's serial pins (plus one direction pin) to an RS-485 bus Arduino, ESP32 and Pico projects
RS485 - USB to RS485 Converter Adapter Connects a computer's USB port to an RS-485 bus Reading or sending RS-485 data from a PC

FAQ

▸ Can I use the MAX485 module with an ESP32 or Raspberry Pi Pico?

Yes, with two precautions. Power the module from 5 V, and put a voltage divider on RO before it reaches a 3.3 V GPIO pin. The 3.3 V outputs can drive DI, DE and RE directly, because the datasheet needs only 2.0 V for a logic high.

▸ What do the DE and RE pins do?

DE enables the driver (high = send) and RE enables the receiver (low = receive). Joining them lets one pin switch the module between sending and receiving.

▸ How many devices can share one bus?

Up to 32 transceivers, because each MAX485 receiver input is one unit load of 12 kΩ.

▸ What is the maximum data rate?

The MAX485 datasheet gives 2.5 Mbps. Your microcontroller's serial port may limit the speed you can actually use.

▸ Is it full-duplex?

No. The MAX485 is half-duplex: it sends and receives on the same pair of wires, one direction at a time.

Technical question about this part? Email support@epartners.co.nz with your board and wiring, and we'll help you get it working.

Shipping: $5.99 urban, $9.99 rural. Free shipping on orders of $100 or more.

Order by 10:30am (NZT), Monday to Friday, and we dispatch the same day. Orders placed after 10:30am, on weekends or on public holidays are dispatched the next business day.

Delivery usually takes 1–2 business days after dispatch (2–3 for rural addresses). See our Shipping Policy for full details.

This site is protected by hCaptcha and the hCaptcha Privacy Policy and Terms of Service apply.

Recently viewed