KinCony Pi5R32 – Raspberry Pi CM5 32-Channel Relay Automation Server

Sale price $650.00
  • MCU: Raspberry Pi Compute Module 5 (CM5004000 Lite, Optional)
  • Output: 32×SPST-NO Relay, 250VAC 7A per channel | 2×PWM
  • Inputs: 32×Opto-isolated Dry-contact DI | 4×AI (2×0-5V, 2×4-20mA)
  • Onboard: SSD1306 OLED, Active Cooling, Aluminum Enclosure
  • Comm: Ethernet, RS232, RS485, 2×USB3.0-A, USB-C(Data), HDMI2.0
  • Storage: microSD Slot + M.2 M-key PCIe NVMe Socket
  • Mount: 35mm DIN Rail
  • Power: DC 12–24V
  • Dev: Raspberry Pi OS, Python, Docker
  • App Integration: Home Assistant, Node-RED, Modbus RTU/TCP
Bundle: Complete Kit: with CM5(CM5004000 RAM:4G-Lite)

Frequently Bought Together

KinCony Pi5R32 – Raspberry Pi CM5 32-Channel Relay Automation Server
+
AC  Adapter
+
Type-C USB Cable
Type-C USB Cable
This item: KinCony Pi5R32 – Raspberry Pi CM5 32-Channel Relay Automation Server -
Sale price $650.00
AC  Adapter
AC Adapter -
Sale price $6.50
Type-C USB Cable
Type-C USB Cable -
Sale price $3.50
Price for all:
Sale total price $660.00
Build your own powerful local automation server with the Pi5R32. This compact DIN‑rail controller combines a full Linux computer (Raspberry Pi CM5) with 32 high‑power relays, 32 optocoupler‑isolated digital inputs, 4 analog inputs, 2 PWM outputs, and both RS232 & RS485 serial ports. Perfect for large‑scale smart home automation, building automation, industrial control, and IoT projects that require high‑density I/O control while maintaining the flexibility of a Raspberry Pi platform. As a powerful IoT gateway, the Pi5R32 enables you to run Home Assistant, Node‑RED, or custom Linux applications locally, without relying on cloud services.
  • High‑Density I/O Integration
    32× relays (250VAC/7A), 32× isolated digital inputs, 4× analog inputs (0‑5V & 4‑20mA), 2× PWM outputs – ideal for large‑scale automation projects.
  • Local Automation Hub
    Run Home Assistant, Node‑RED, or Linux software locally without monthly fees or cloud dependency. Your data stays in your home.
  • Flexible Storage & Expansion
    microSD card slot for Lite modules, plus M.2 PCIe socket for high‑speed NVMe SSDs.
  • Serial Connectivity
    Built‑in RS232 and RS485 ports for direct communication with legacy industrial equipment, sensors, and actuators.
Among other outstanding features are the following:
  • High‑Performance Processing: The Raspberry Pi Compute Module 5 (CM5004000) delivers significantly improved CPU performance compared to previous generations, perfect for demanding automation tasks[reference:10].
  • Rich Display & GPIO Options: Includes a full‑size HDMI 2.0 port for monitors, optional GPIO extender provides 20 free pins for custom hardware.
  • Industrial Enclosure: Robust aluminum shell with active cooling (heatsink + fan) ensures reliable 24/7 operation.
  • 32‑Channel Relay Output: With 32 SPDT relays supporting up to 250VAC/7A or DC30V/7A, the Pi5R32 is ideal for controlling lighting, HVAC, pumps, contactors, motors, and industrial equipment simultaneously.
  • Complete Automation Server: Unlike traditional PLCs or relay controllers, Pi5R32 can run Home Assistant, Node-RED, Docker containers, MQTT brokers, and custom Linux applications directly on the device, making it a complete automation server and high-density I/O controller.
Technical Specifications
Category Specification
General Specifications
Core Processor Raspberry Pi Compute Module 5 (CM5)
▪ Default: CM5004000 (4GB RAM Lite)
Memory 4GB LPDDR4X (on‑module)
Storage microSD card slot (for CM5 Lite)
Networking ▪ Gigabit Ethernet (RJ45, 10/100/1000 Mbps)
▪ IPv4/IPv6 support
Video Output 1 × full‑size HDMI 2.0 port
USB Ports ▪ 2 × USB 3.0 Type‑A sockets
▪ 1 × USB‑C (data transmission)
Power Supply 12‑24 VDC
Cooling Heatsink + fan
Operating Temperature -20°C to 70°C
Operating Humidity 20% – 80% (non‑condensing)
Enclosure Material Aluminum shell
Dimensions 298 × 105 × 58 mm
Mounting 35 mm DIN rail
Relay Output Specifications
Channels 32× SPST-NO / Form A (COM / NO)
Maximum AC Load 250 VAC / 7 A per channel (resistive)
Maximum DC Load 30 VDC / 7 A per channel (resistive)
Applications Lighting, HVAC, pumps, contactors, motors, industrial equipment
Digital Input Specifications
Channels 32× optocoupler‑isolated, dry contact
Logic Level ▪ Logic "1": DC 0V
▪ Logic "0": DC 12V
Cable Length Up to 500 m (dependent on installation)
Analog Input Specifications
Voltage Input 2 × DC 0‑5V
Current Input 2 × 4‑20mA (loop‑powered)
PWM Output Specifications
Channels 2× PWM (pulse‑width modulation, duty cycle adjustable)
Communication Interfaces
Ethernet Gigabit (RJ45) – 10/100/1000 Mbps
Serial ▪ 1× RS232
▪ 1× RS485
USB 2× USB 3.0 Type‑A + 1× USB‑C (data transmission)
Video 1× full‑size HDMI 2.0
Expansion ▪ M.2 M key PCIe socket
▪ CM5 GPIO extender (optional accessory)
Free GPIO Expansion
GPIO Pins 20× free pins (directly accessible from CM5 module)
GPIO21, GPIO20, GPIO16, GPIO01, GPIO07, GPIO08, GPIO25, GPIO24, GPIO23, GPIO18, GPIO26, GPIO19, GPIO06, GPIO00, GPIO11, GPIO09, GPIO10, GPIO22, GPIO27, GPIO17
Additional I/O DIP switch for jumpers
Onboard Display SSD1306 128×64 OLED (I²C)
Software Support
Software Home Assistant, Node‑RED, Raspberry Pi OS, MQTT, Modbus RTU/TCP, Docker, Python, and other Linux‑based automation software
Default CM5 Configuration
CM5 Module CM5004000 Lite version (optional)
Wireless None (no Wi‑Fi / Bluetooth on this variant)
RAM 4GB LPDDR4X
Important Notes
  • microSD Card Support: If you are using a CM5 module with onboard eMMC storage, the microSD card slot cannot be used. The microSD slot is only available when using a CM5 Lite module.[reference:54]
  • Programming the CM5 via USB‑C: To access the CM5 eMMC or microSD storage through USB‑C:
    • Connect the Pi5R32 to your computer using a USB‑C cable.
    • Run the Raspberry Pi rpiboot utility.
    • The eMMC or microSD storage will appear as a removable drive.
    • Flash Raspberry Pi OS or other Linux distributions directly.[reference:55]
Available Bundles
Bundle: Complete Kit
  • Pi5R32 Mainboard
  • CM5 Module (CM5004000) – 4GB RAM Lite Version
  • Heatsink
  • Cooling Fan
Bundle: Board Kit
  • Pi5R32 Mainboard
  • Heatsink
  • Cooling Fan



Packing List


Item
Base
Version
Complete
Version
Pi5R32 Baseboard
Pi5R32 Baseboard
1×
1×
Raspberry Pi CM5
Raspberry Pi CM5 (CM5004000 Lite)
—
1× (pre-installed)
Cooling Module
Cooling Module
—
1× (pre-installed)

Note: The Base Version includes the baseboard only — no CM5 module and no cooling module. The Complete Version ships fully assembled with the CM5 and cooling module factory pre-installed.



Pi5R32 vs Pi5M32 vs Pi5R16 vs Pi5R8


Shared Features: Raspberry Pi CM5 (N16R8) · DC 12–24V · 100M Ethernet + Wi-Fi + Bluetooth · DS3231 RTC · 4× ADS1115 16-bit ADC (0–5V & 4–20mA) · SSD1306 OLED display · microSD (SPI) · RS232 + RS485 · 2× PWM · DIN-rail mounting · Home Assistant / Node-RED / Docker support.

Key Differences

Item Pi5R32 Pi5R32
(32CH Relay)
Pi5M32 Pi5M32
(32CH MOSFET)
Pi5R16 Pi5R16
(16CH Relay)
Pi5R8 Pi5R8
(8CH Relay)
Output Type 32× Relay (SPST-NO / Form A) 32× MOSFET DC Switch 16× Relay (SPST-NO / Form A) 8× Relay (SPST-NO / Form A)
Load Capability AC 250V / 7A per channel
(DC loads also supported within rating)
DC only, 2A per channel (continuous) AC 250V / 7A per channel
(DC loads also supported within rating)
AC 250V / 7A per channel
(DC loads also supported within rating)
Best For High-density AC loads (and DC loads within rating): lighting, HVAC, pumps, motors DC-only loads requiring fast switching or PWM: LED strips, solenoids, DC motors Mid-density AC loads (and DC within rating) with smaller footprint Compact AC control (and DC within rating) at the edge / remote nodes
Digital Inputs 32× opto-isolated 32× opto-isolated 16× opto-isolated 8× opto-isolated
Switching Mechanical contact; audible click, slower No contact, silent, high-speed; supports PWM Mechanical contact; audible click, slower Mechanical contact; audible click, slower
Dimensions 298 × 105 × 58 mm 240 × 105 × 58 mm 202 × 105 × 58 mm 202 × 105 × 58 mm

Which One Should You Choose?

Choose Pi5R32 if you need:
  • 32 independent AC loads — lighting circuits, HVAC zones, pumps, motor starters
  • DC loads within relay rating (AC 250V / 7A per channel) — relays can switch both AC and DC
  • Large number of digital inputs (32×) for status feedback
  • High-density control in a single DIN-rail unit
Choose Pi5M32 if you need:
  • DC-only loads requiring fast switching or PWM — LED strips, solenoids, DC motors, actuators
  • Silent operation and longer lifespan (no mechanical contacts)
  • High-frequency switching that would wear out a mechanical relay
  • All loads share the same DC voltage (12–24V recommended)
Choose Pi5R16 if you need:
  • 16 AC loads with the same relay quality as Pi5R32
  • DC loads within relay rating (AC 250V / 7A per channel)
  • A smaller footprint and lower cost than the 32-channel version
  • Sufficient I/O for medium-sized control panels
Choose Pi5R8 if you need:
  • 8 AC loads in a compact, cost-effective package
  • DC loads within relay rating (AC 250V / 7A per channel)
  • Edge or remote nodes — small control cabinets, distributed installations
  • Only a few outputs locally while keeping full CM5 compute power

I. Software Stack Options & Features

Solution Ideal For Key Advantages
1. Home Assistant (Most Popular) Smart Home & Building Automation ✔ Full local control — no cloud dependency
✔ Auto-discovers MQTT, Modbus, and GPIO devices
✔ Rich dashboard + mobile app + voice assistants
✔ 2,000+ integrations for sensors, lights, HVAC
✔ Install via Docker or Supervised on Raspberry Pi OS
2. Node-RED (Recommended for Logic) Visual Automation & Data Flows ✔ Browser-based flow editor — no coding required
✔ MCP23017 nodes for direct relay control
✔ MQTT, Modbus, HTTP, WebSocket nodes built-in
✔ Pre-built flow available for the Pi5R32
✔ Ideal for complex automation logic and data routing
3. Python / Custom Code Developers & Integrators ✔ Direct I/O control via gpiozero or libgpiod
✔ Full access to RS232 (/dev/ttyAMA0) and RS485 (/dev/ttyAMA2)
✔ Python scripts, Flask APIs, scheduled tasks
✔ Supports C++, Node.js, Go, and any Linux language
4. Docker & Container Stack Advanced Deployments ✔ Run Home Assistant, Node-RED, Mosquitto, Grafana together
✔ Docker Compose for reproducible deployments
✔ Isolated services — easy backup and migration
✔ M.2 NVMe or SSD for container storage
5. openHAB / Domoticz / Other Alternative Platforms ✔ openHAB for rule-based automation
✔ Domoticz for lightweight home control
✔ Any Linux-compatible automation platform runs natively

II. Hardware Interface & Pin Reference

The Pi5R32 I/O is managed by the CM5's GPIO and UART buses, with digital I/O expanded through MCP23017 chips on the I2C bus. Below are the key device mappings. For full pin definitions, see the GitHub link at the bottom of this table.

Interface Device / Mapping
RS232 Serial /dev/ttyAMA0 — default UART, enabled by default on Raspberry Pi OS (GPIO14 TX / GPIO15 RX)
RS485 Serial /dev/ttyAMA2 — requires dtoverlay=uart2 in /boot/firmware/config.txt (GPIO4 TX / GPIO5 RX)
Relay Outputs 32× relay outputs controlled via MCP23017 I2C expanders — use node-red-contrib-mcp23017chip or gpiozero (Python)
Digital Inputs 32× opto-isolated inputs read via MCP23017 — use node-red-contrib-mcp23017chip or Button class in gpiozero
Analog Inputs 4× ADS1115 16-bit ADC at I2C 0x48 — use node-red-contrib-ads1x15_i2c or Python
OLED Display SSD1306 128×64 at I2C 0x3C — use node-red-contrib-oled-i2c
I2C Bus Enable via raspi-config → Interface Options → I2C (GPIO2 SDA / GPIO3 SCL, /dev/i2c-1)
Full Pin Definitions Pi5R32 pin definition (GitHub)

For a complete overview of the CM5 GPIO resources and alternate functions, refer to the diagram below. The Pi5R32 uses only a subset of these pins; full details are in the GitHub pin definition linked above.

CM5 ALL RESOURCE Pinout Diagram


III. Getting Started Guide

Step 1: Install Raspberry Pi OS

Download Raspberry Pi Imager, select Raspberry Pi 5 / CM5 as the target device, and flash Raspberry Pi OS (Bookworm or later) to a microSD card or eMMC/SSD. Full installation guide →

Step 2: Enable Interfaces

In the Pi OS configuration, enable I2C and Serial Port. Then edit /boot/firmware/config.txt and add dtoverlay=uart2 to enable RS485 on /dev/ttyAMA2. Reboot.

Step 3: Install Automation Software

Install your preferred stack: Home Assistant via Docker, Node-RED via the install script, or use Python (gpiozero) for custom control.

IV. Node-RED Quick Start: Control 32 Relays in Minutes

FeedCurrent provides a ready-to-import Node-RED flow for the Pi5R32. The flow maps all 32 relays and digital inputs to inject nodes for testing, plus OLED display, analog input reading, RS232/RS485 test, and PWM control. Download flows.json from our GitHub and import directly into Node-RED.

Resource Link
Node-RED Flow (Pi5R32) node_red_flows/Pi5R32/ (flows.json)
Setup Tutorial How to install Node-RED and import flows on Pi5 →
Node-RED MCP23017 Node node-red-contrib-mcp23017chip — for digital input and output control
RS485 Modbus Setup Use node-red-contrib-modbus with /dev/ttyAMA2 at 9600/19200/38400 baud

Looking for software solutions for other products?

View All Product Software Solutions →