The Serial Hat from PiShop.ca features a standard Male DE-9 RS232 port connected to the Pi's UART pins via a MAX3232 IC. The MAX3232 IC converts the Pi's UART port to RS232, which enables serial communication with any RS232 compatible serial device!
RS232 is a legacy serial communication standard used in millions of devices globally including: printers, modems, data terminals, interface devices (keyboards/joysticks/mice), medical equipment, servers, instrumentation, industrial control equipment (PLC's, CNC, embedded computers), microcontroller development kits, service access points, sensor interfaces and many more! Many are being superseded by USB or even Bluetooth Low Energy but RS232 is still used in a lot of places and on loads of legacy equipment!
You can connect to the RS232 port on the Serial Hat via the male DE-9 port or via the TX/RX/GND solder points on the Serial Hat PCB. Note that the port is configured as a DTE/computer port! The Serial Hat can also be used for remote terminal access to your Raspberry Pi using a computer. You'll need a Female to Female Null Modem Cable, and a Serial to USB cable to achieve this!
Matching Case
The included 40 Pin "Single Shroud" Header, and 14mm Mounting Kit are designed to work with the HighPi Raspberry Pi Case. Here's a photo of them assembled:
Features
- Serial Interface Hat for the Raspberry Pi A+/B+/2/3/4 (Also works with Zero/ZeroW/Zero 2 W, but it is HAT size)
- HAT format (No EEPROM)
- Standard Male DE-9 Socket (RS232 / RS-232, DTE pinout)
- MAX3232 IC
- TX/RX/GND Solder Points
- DOUT2, RIN2, ROUT2, DIN2 Solder Points for the spare MAX3232 pins
- Uses SMT Socket Header & 40 Pin Extra Tall "Single Shroud" Header
- Includes 14mm Mounting Kit
Pinout (DTE)
1
2 RX/RIN1 -> GPIO15/RxD
3 TX/DOUT1 <- GPIO14/TxD
4
5 GND
6
7
8
9