P1AM-SERIAL

The P1AM-SERIAL is an industrial rated shield that provides two serial interfaces individually configurable for RS232 or RS485.

The P1AM-SERIAL is ideal for communicating with RS232 and RS485 devices using custom protocols as well as Modbus RTU, DMX, and other serial based communications.

PORT1_RS232_BEGIN(115200);
                        Port1.println("Hello Port 1!");
                    
port1 = busio.UART(board.TX1, board.RX1, baudrate=115200)
                        port1.print(b"Hello Port 1!\n")

General Usage

Arduino Library: P1AM_Serial
CircuitPython Libraries:
CircuitPython_rs485_wrapper
busio.UART
Power Budget: 115mA / 3.3V

Additional Resources:
Data Sheet
P1AM-SERIAL on AutomationDirect.com

Pin Port Function
14 Port 1 TX
13 Port 1 RX
A6 Port 1 RS485 DE/RE
3 Port 1 RS232/RS485 Select
0 Port 2 TX
1 Port 2 RX
6 Port 2 RS485 DE/RE
2 Port 2 RS232/RS485 Select