Product Description #

The RevPi Connect 4 is a 24 V industrial PC for IIoT and automation projects based on the Raspberry Pi Compute Module 4. The RevPi is a base module from the Revolution Pi product family. All devices in the Revolution Pi product family are developed in accordance with EN 61131-2.

Components #

revpi-connect4-aufbau
Note

The components of the RevPi may vary depending on the variant.

Position Component Application

1

X2 connector RS485

RS485 Serial Interface

2

6 × status LED

LEDs,
RevPiLED

3

2 × RJ45 Ethernet

RJ45 Ethernet Interfaces,
Establishing a Network Connection

4

2 × USB A 3.2 Gen 1

USB Interfaces

5

RP-SMA[1]

WLAN and BT

6

Micro-USB

Reinstalling Operating System

7

X2 connector

Relay Output,
Digital Input

8

X4 connector

Connecting the Power Supply

9

2 × locking clamp

Mounting the Device on a DIN Rail

10

Ventilation Slots

Mounting the Device on a DIN Rail

11

2 × PiBridge

Connecting Expansion Modules

12

Micro HDMI

Setting up Desktop Mode

LEDs #

The PWR (Power) LED indicates the device status.

Signal Meaning

Green

Power supply is connected.

Red

Cyclic communication with the connected expansion modules cannot be initialized, e.g. due to an incorrect configuration.

LEDs A1 … A5 can be freely programmed.

Variants #

Item No.: RAM eMMC WLAN

100376

2 GB

8 GB

–

100377

2 GB

8 GB

✔

100378

4 GB

32 GB

–

100379

4 GB

32 GB

✔

100380

8 GB

32 GB

✔

100395

8 GB

32 GB

–

100433

2 GB

16 GB

–

100434

2 GB

16 GB

✔

100435

2 GB

64 GB

–

100437

4 GB

64 GB

–

100438

4 GB

64 GB

✔

100439

8 GB

64 GB

–

100440

8 GB

64 GB

✔

For available variants see Revolution Pi Shop.

Compatibility #

The RevPi Connect 4 base module can be expanded by up to 10 expansion modules to create a Revolution Pi system:

Left Side Base Module Right Side

5 × RevPi I/O module

RevPi Connect 4

5 × RevPi I/O module

Operating System Images #

The RevPi Connect 4 is compatible with the following operating system images:

Scope of Delivery #

The scope of delivery includes

  • RevPi Connect 4 (base module)

  • X4 connector

  • 2 × X2 connector

  • 2 × blind plug for PiBridge

  • Product insert

Mounting and Connecting #

The RevPi was developed for use in a control cabinet. Observe the specifications for Intended Use and all Safety Instructions.

Warning
Danger to life due to electrical shock

There is a risk of fatal electrical shock when working on devices in the switch cabinet with 230 V mains voltage.

▷ Operations in the switch cabinet may only be carried out by qualified electricians.

▷ Before carrying out any operations in the switch cabinet, switch off the power supply properly.

Caution
Damage to the device due to overheating

The ambient temperature in the switch cabinet must not exceed the maximum permissible operating temperature.

▷ Keep ventilation slots clear.

▷ Observe the installation clearances.

▷ Mount the device in the intended orientation.

▷ Do not place appliances with high input power directly next to each other.

▷ Regularly remove dust and dirt from the area around the appliance.

Carry out mounting and connecting in the following order:

  1. Mount the RevPi base module and all expansion modules on a DIN Rail.

  2. Connect all expansion modules via the PiBridge plug connector.

  3. Connect all other devices such as sensors and actuators. The interfaces available to you for this can be found in the section Components.

  4. Connect a monitor and a keyboard if you want to operate the RevPi in the desktop mode. This is not necessary if you have a network connection to access the RevPi.

  5. Finally, connect the power supply.

Access to the Device #

The RevPi is accessed in two steps:

Install all available updates as soon as the RevPi is connected to the internet. This ensures that the system is always up to date with security-relevant features.

See also:

Alternatively, access is possible without a network, see Setting up Desktop Mode.

Configuration #

The RevPi is configured in two steps:

  1. Configure the RevPi base module via the application Cockpit.

  2. Configure the Revolution Pi system, i.e. a RevPi base module with expansion modules, using the application PiCtory or, if applicable, directly in your development environment, e.g. via CODESYS.

Note

CODESYS and PiCtory cannot be used in parallel for configuration. An existing configuration via PiCtory will be overwritten by a configuration via CODESYS.

Parameterization #

The following parameters, inputs (INP) and outputs (OUT) can be configured:

RevPiStatus (INP) #

Uses bits to represent different states of the piControl driver.

Bit Function

0

piControl driver is running.

1

At least one connected I/O module has not been configured.

2

At least one I/O module has been configured but not connected.

3

An I/O module occupies more or fewer bytes in the process image than specified in the configuration.
This means that the version of the configuration file or the device description files used does not match the firmware in the I/O module.
See also: Installing Firmware Updates.

4

Without function.

5

Without function.

6

Digital input on X2 connector

RevPiIOCycle (INP) #

Displays the cycle time of the PiBridge communication between the base module and expansion modules in milliseconds (ms) as an integer value.

Core_Temperature (INP) #

Displays the CPU temperature as an integer value in degrees Celsius (°C).

Core_Frequency (INP) #

Displays the CPU frequency in MHz / 10, e.g. 2400 MHz = value 240.

RS485ErrorCnt (INP) / RS485ErrorLimit (OUT) #

RS485ErrorCnt counts the errors in the communication with the RevPi I/O modules and outputs their number as an integer value.

RS485ErrorLimit1 and RS485ErrorLimit2 serve as limit values for the error handling.

Note

The communication via the serial interface RS485 to the outside is not affected, only the internal PiBridge data traffic.

RevPiLED (OUT) #

The freely programmable LEDs can be controlled via RevPiLED, see Configuring LEDs.

Bit Component Status Information

2:0
5:3
8:6
11:9
14:12

LED A1
LED A2
LED A3
LED A4
LED A5

000 = off
001 = red
010 = green
100 = blue
011 = orange
110 = cyan
101 = magenta
111 = white

RevPiOutput (OUT) #

RevPiOutput, bit 0 controls the relay output on the lower X2 connector.

RS485 Serial Interface #

The RevPi has a potential-free RS485 interface on the upper X2 connector to connect serial devices such as sensors. The socket has differential data line terminals for P (positive) and N (negative), which may also be designated D+/D- or A/B.

revpi-rs485-bus-topology

RS485 Connection via X2 Connector

▷ Make sure that all devices are disconnected from their power supplies.

▷ Connect the positive data line to pin P of the X2 connector.

▷ Connect the negative data line to pin N of the X2 connector.

▷ Connect the Ground (GND) pins to the RS485 ground.

▷ Connect the power supply.

revpi-connect-5-x2-rs485-pinout

Configuring the RS485 Interface

Under Linux, the interface can be addressed via the device driver node with /dev/ttyRS485-0.[2]

▷ Log in to the RevPi via a terminal.

▷ Use ls /dev/ttyRS485-0 to check whether the RS485 interface is available.

Activating Termination Resistor

✓ The integrated 120 Ω terminating resistor of the RS485 interface is switched off after a restart.

▷ Log in to the RevPi via a terminal.

▷ Check out the Git repository of the command line tool rs485_config from GitLab with the command:

git clone https://gitlab.com/revolutionpi/rs485_config.git

▷ Build the tool with the command:

cd rs485_config; make

▷ Activate the resistor with the command:

./rs485_config <SERDEV> --set-bus-term

Replace <SERDEV> with the name of the interface, e.g. /dev/ttyRS485-0.

▷ Check whether the resistor has been activated and display the settings of the RS485 interface with the command:

./rs485_config <SERDEV>

❯❯ If the resistor is activated, Bus termination: Yes is output.

RJ45 Ethernet Interfaces #

The RevPi can be connected to a network via the RJ45 interface.

Two Gigabit Ethernet connections are available on the RevPi, which are independent of each other. This allows the RevPi to be integrated into two different networks. The MAC addresses are printed on the front of the housing.

As of RevPi Trixie the interfaces can be addressed under Linux via:

  • Socket A: lan0

  • Socket B: lan1

Until RevPi Bookworm the interfaces can be addressed under Linux via:

  • Socket A: eth0

  • Socket B: eth1

WLAN and BT #

Note

In accordance with EU regulations, operation in the 5150 … 5350 MHz frequency band is restricted to indoor use. This restriction applies in the Member States of the European Union and in the United Kingdom (Northern Ireland).

WLAN Interface

✓ RevPi base module with WLAN interface

✓ DHCP-enabled WLAN router

▷ Activate the WLAN interface[3] via Cockpit.

BT Interface

A BT interface[4] is available from standard 5.0.
▷ Activate BT via Cockpit in order to connect Bluetooth peripheral devices such as keyboards or audio devices to the RevPi.

See also:

USB Interfaces #

The RevPi has two USB A 3.2 Gen 1 interfaces. The maximum output current per USB interface is 800 mA and is only guaranteed if the RevPi is supplied with 24 V DC -15 % / 20 %.

In the event of an overload, the power is switched off at the corresponding USB interface.

Relay Output #

The RevPi provides a relay output on the lower X2 connector. This relay contact can be used, for example, to interrupt the power supply to connected hardware.

  • The relay can switch a maximum of 30 V and 300 mA.

  • The relay contact is normally open (NO) after startup.

▷ Make sure that all devices are disconnected from their power supplies.

▷ Connect the load to be switched to the OUT pins on the lower X2 connector.

▷ Connect the power supply.

The relay output is controlled in the process image via RevPiOutput, bit 0:

RevPiOutput, Bit 0 Function

0

Relay contact open

1

Relay contact closed

Digital Input #

The RevPi has a digital input for a +24 V input signal on the lower X2 connector.

The input has an internal pull-down resistor.

The digital input can be used for UPS status monitoring.

▷ Make sure that all devices are disconnected from their power supplies.

▷ Connect the signal transmitter to the IN+ and IN- pins of the X2 connector.

▷ Connect the power supply.

Date and Time #

Different mechanisms are used for time management in the RevPi. They serve different purposes and complement each other.

Network Time Protocol (NTP)

Network Time Protocol (NTP) automatically synchronizes the system time of the RevPi with a time server.

Real-Time-Clock (RTC)

The RevPi is equipped with a real-time clock. When no power supply is connected to the RevPi, the RTC is powered by a backup battery. The lithium battery has a service life of approximately 10 years.

For information on replacing the battery, see Replacing the RTC battery.

Precision Time Protocol (PTP)

Precision Time Protocol (PTP) synchronizes devices in the network with high accuracy in microsecond range.

Trusted Platform Module (TPM) #

The RevPi is equipped with an Infineon OPTIGA™ TPM SLB 9670 Trusted Platform Module. It fulfills the requirements of TPM 2.0.

Under Linux you can address the module with /dev/tpm0.

Watchdog #

The RevPi has two independent hardware watchdogs:

  • internal watchdog: /dev/watchdog0

  • external watchdog in the RTC module: /dev/watchdog1

No watchdog is active by default.

You can also address the internal watchdog as the default watchdog via the device file /dev/watchdog.

The recommended configuration is via systemd.

▷ Log in to the RevPi via terminal.

▷ Open the file:

sudo nano /etc/systemd/system.conf

▷ Set the desired watchdog time in the [Manager] section, for example:

RuntimeWatchdogSec=20s

❯ systemd resets the watchdog after half of the configured time.

If no WatchdogDevice is specified, the internal watchdog is used.

▷ To use the external watchdog in the RTC module, also set:

WatchdogDevice=/dev/watchdog1
RuntimeWatchdogSec=20s

▷ Restart the RevPi:

sudo reboot

Technical Data #

Item No.: 100376, 100377, 100378, 100379, 100395, 100380, 100433, 100434, 100435, 100437, 100438, 100439, 100440

Housing dimensions (H × W × D)

96 × 45 × 110.5 mm

Housing type

DIN rail housing for TH35 mounting rail according to DIN EN 60715

Housing material

Polycarbonate

Weight

Approx. 197 g / 224 g (incl. connectors)

Protection class

IP20

Power supply

Typ. 10.8 … 28.8 V DC[5]

Maximum power consumption

20 W (incl. 2 × 800 mA USB load)[6]

Approved operating temperature

-25 … +55 °C

Approved storage temperature

-40 … +85 °C

Max. relative humidity (at 40 °C)

93 % (non-condensing)

Interfaces

  • 2 × USB A 3.2 Gen 1

  • 2 × RJ45 Gbit Ethernet

  • 1 × RS485 screw-type terminal

  • 1 × Micro-USB (solely for image transfer to eMMC)

  • 1 × Micro-HDMI 2.0a (4K)

  • 2 × PiBridge (connectors at left and right side)

  • 1 × RP-SMA socket for WLAN 2.4/5 GHz, BLE 5.0 (Item No.: 100377, 100379, 100380, 100434, 100438, 100440)

Connectors

  • 1 × 4-pole screw terminal connector for RS485

  • 1 × 4-pole screw terminal connector for relay contact and signal input

  • 1 × 4-pole screw terminal connector for power supply

Compute Module

Raspberry Pi Compute Module 4

Processor

Broadcom BCM2711, quad-core Arm Cortex-A72

Clock rate

1.5 GHz

Processor cooling

Passive with heat sink

RAM

2 GB, 4 GB, or 8 GB LPDDR4 (see variants)

eMMC storage

8 GB, 16 GB, 32 GB, or 64 GB (see variants)

Trusted Platform Module

TPM 2.0 Infineon OPTIGA™ TPM SLB 9670

WLAN / BT

  • 1 × RP-SMA socket (WLAN 2.4 / 5 GHz, BT 5.0 (BLE) (see Variants))

  • WLAN:

    • at 2400 … 2483.5 MHz ≤ 20 dBm

    • at 5150 … 5350 MHz ≤ 23 dBm (EU: For indoor use only)

    • at 5470 … 5725 MHz ≤ 23 dBm

  • BT: at 2402 … 2480 MHz ≤ 10 dBm

Digital input

1 × 24 V DC control voltage, galvanically isolated (e.g. for power-good signal of a UPS)

Input threshold

Approx. 10 V DC (0 → 1) or 7 V DC (1 → 0); input current 2.4 mA (according to IEC 61131-2)

Digital output

1 × opto-decoupled solid state relay (NO), max. 30 V, 300 mA DC, any polarity

Software interface of input and output

Via the process image

Hardware watchdog

Watchdog in RTC device, freely configurable watchdog character device

Compatible RevPi modules

  • All RevPi I/O modules can be connected via the PiBridge system bus.

  • Up to 5 modules can be connected to the left and right side of the device.

EMC interference emission

According to IEC 61000-6-4 (emission standard for industrial environments)

EMC immunity

According to IEC 61000-6-2 (immunity standard for industrial environments)

RTC buffer

CR2032 lithium battery, lifetime approx. 10 years

Optical display

6 status LEDs;
5 × red/green/blue (freely programmable), 1 × red/green

Conformity

CE, UKCA

UL certification

UL File No. E494534
NOTE: The device may only be supplied from circuits that comply with Class 2 or Safety Extra Low Voltage (SELV) according to Class 9.4 of UL 61010-1.


1. only for the variants with WLAN
2. Until RevPi Bullseye the RS485 interface can be addressed with /dev/ttyRS485.
3. Up to RevPi Bullseye, WLAN is activated via RevPi Status.
4. Up to RevPi Bullseye, BT in the terminal via the HCI interface activated.
5. The bridging time required by EN 61131-2 for voltage dips of at least 10 ms and the maximum USB output current are only guaranteed with a supply voltage of 24 V DC -15 % / +20 %.
6. The average power consumption without USB load varies greatly and depends on the use of the interfaces, GPU, and CPU. It is usually well below 4 W without HDMI.