Product Description #
The RevPi Connect S or RevPi Connect SE is a 24 V industrial PC for IIoT and automation projects based on the Raspberry Pi Compute Module 4S. 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 #
|
Note
|
RevPi Connect S and RevPi Connect SE have the same structure. |
| Position | Component | Application |
|---|---|---|
1 |
X2 connector |
|
2 |
6 × status LED |
|
3 |
2 × RJ45 Ethernet |
|
4 |
Micro-USB |
|
5 |
2× USB A |
|
6 |
RS485 socket |
|
7 |
X4 connector |
|
8 |
2 × locking clamp |
|
9 |
Ventilation Slots |
|
10 |
PiBridge |
|
11 |
ConBridge |
|
12 |
Micro HDMI |
Variants #
RevPi Connect S #
| Item No. | RAM | eMMC | Compatible with RevPi Gateways |
|---|---|---|---|
100362 |
1 GB |
8 GB |
✔ |
100363 |
1 GB |
16 GB |
✔ |
100364 |
1 GB |
32 GB |
✔ |
RevPi Connect SE #
| Item No. | RAM | eMMC | Compatible with RevPi Gateways |
|---|---|---|---|
100368 |
1 GB |
8 GB |
– |
100369 |
1 GB |
16 GB |
– |
100370 |
1 GB |
32 GB |
– |
For available variants see Revolution Pi Shop.
Compatibility #
The RevPi Connect S or RevPi Connect SE base module can be expanded by up to 6 expansion modules to form a Revolution Pi system:
| Left Side | Base Module | Right Side |
|---|---|---|
5 × RevPi I/O module or |
RevPi Connect S |
1 × RevPi Con CAN + 1 × RevPi Con M-Bus |
5 × RevPi I/O module |
RevPi Connect SE |
1 × RevPi Con CAN + 1 × RevPi Con M-Bus |
RevPi I/O Modules #
RevPi Con Modules #
RevPi Gateways #
RevPi gateways can only be connected to the far left of the system via a PiBridge plug connector. The RevPi gateways are not supported by the SE models of the Revolution Pi product family.
-
RevPi Gate PROFINET
-
RevPi Gate EtherNet/IP
-
RevPi Gate EtherCAT
-
RevPi Gate PROFIBUS
See RevPi Gateways
Operating System Images #
The RevPi Connect S or RevPi Connect SE is compatible with the following operating system images:
-
RevPi Bullseye
-
RevPi Buster
Scope of Delivery #
The scope of delivery includes
-
RevPi Connect S / RevPi Connect SE (base module)
-
X4 connector with pre-wired Watchdog wire bridge
-
X2 connector
-
2 × blind plug for PiBridge/ConBridge
-
Supplement
Mounting and Connecting #
The RevPi was developed for use in a control cabinet. Observe the specifications for the 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 the mounting and connection in the following order:
-
Mount the RevPi base module and all expansion modules on a DIN rail.
-
Connect all expansion modules via PiBridge plug connectors.
-
If necessary, connect the RevPi Con modules via ConBridge plug connectors.
-
Connect all other devices such as sensors and actuators. The interfaces available to you for this can be found in the section Components.
-
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.
-
Finally, connect the power supply.
|
Note
|
The RevPi Gateways are not supported by the RevPi SE models. |
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:
|
Note
|
CODESYS and PiCtory cannot be used in parallel for configuration. An existing configuration via PiCtory will be overwritten by a configuration via CODESYS. The virtual devices OPC UA Server and MQTT Client can only be used via PiCtory. |
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. |
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 |
|---|---|---|
1:0 |
LED A1 |
0000 0000 = off |
RevPiLED, Bit 6 controls the relay output on the X2 connector.
RevPiLED, bit 7 triggers the watchdog. Toggle this bit cyclically to reset the watchdog. If the value no longer changes, the watchdog restarts the RevPi after 60 seconds.
RS485 Serial Interface #
The RevPi has an RS485 interface on the X2 connector to connect serial devices such as sensors.
The socket has differential data line terminals DATA A and DATA B and reference terminals: an internal Ground (GND) and a functional earth (FE) connected via a 1 MOhm RC network.
Under Linux, the interface can be addressed via the device driver node with /dev/ttyRS485-0.[1]
How you use this connection optimally depends on your project environment. The network you are working with or the EMC load are individual factors that influence how you assign this connector.
Therefore, there is no one-size-fits-all solution for your specific project. Below, you will find a list of potential problems and tips on how to resolve them.
RS485 is a fully differential line and does not normally require a third GND line. However, due to the limits of the input receivers (maximum common mode voltage), there may be problems with the signal quality if no potential reference is used between the transmitter and receiver. However, connecting the internal GND to a line that is subject to EMC can lead to EMC problems within the RevPi Connect.
We therefore recommend that you use a common functional earth between all RS485 network participants. This gives you a good, common reference potential for the differential bus signal.
If this does not work either, you can connect the FE terminal of the RS485 connector to the third (GND) line of the bus.
You can also try to solve signal problems with the GND terminal.
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.
10/100 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 with:
-
Socket A:
lan0 -
Socket B:
lan1
Until RevPi Bookworm, the interfaces can be addressed under Linux with:
-
Socket A:
eth0 -
Socket B:
eth1
USB Interfaces #
The RevPi has two USB-A interfaces. The maximum output current of both USB interfaces together (not per interface) is 1 A and is only guaranteed if the RevPi is supplied with 24 V DC -15 % / +20 %.
▷ Connect a power supply input with a typical supply voltage of 24 V DC (10.8 … 28.8 V DC) to the pin labeled 24V. If only one connection is used, up to 1 A is available. If both connections are used at the same time, the current is divided accordingly.
In case of overload, the power is cut off.
Relay Output #
The RevPi provides a relay output on the 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 closed (NC) after startup.
▷ Ensure that all devices are disconnected from their power supplies.
▷ Connect the load to be switched to the OUT pins on the X2 connector.
▷ Connect the power supply.
The relay output is controlled in the process image via RevPiLED, bit 6. The LED REL indicates the status of the relay contact:
| RevPiLED, Bit 6 | Function | LED REL |
|---|---|---|
0 |
Relay contact closed |
Green |
1 |
Relay contact open |
Off |
Digital Input #
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 supply voltage is present at the RevPi, the RTC is powered by a supercapacitor.
The supercapacitor is charged during operation and typically maintains the time for up to 24 hours. The actual duration depends on the environmental conditions.
See also: Real-Time Clock (RTC) in RevPi Devices.
Watchdog #
The RevPi Connect S/SE is equipped with a hardware watchdog.
A watchdog is a timer that restarts the RevPi after 60 seconds. To prevent this from happening, the watchdog must be reset regularly as long as the system is running without errors. In the event of an error, such as a crash of the application process, there is no reset and the watchdog triggers a restart of the RevPi.
Activating Watchdog #
The RevPi is supplied with an X4 connector, which is already pre-wired. The wire bridge between pin 2 and pin 3 deactivates the watchdog.
The watchdog is active without this wire bridge and the watchdog timer must be restarted cyclically by your application software so that your system is not restarted. Until you have such software, it therefore makes sense to deactivate the watchdog. Otherwise it might disturb you during your development work.
▷ Remove the wire bridge between pin 2 and pin 3 to activate the watchdog.
The LED WD indicates the status of the watchdog:
-
Green = All system components are running correctly.
-
Flashes once orange = Watchdog has detected an error and restarts the system.
Monitoring the Connected Device #
The relay output allows devices connected to the X2 connection to be monitored by the watchdog.
You can switch the relay output in the process image via RevPiLED, bit 6. You can also use this to set the relay to switch when the watchdog has reported an error, for example.
The example script on the RevPi revpi-connect-watchdog.sh can be found in /usr/share/doc/revpi-tools/.
You can run it with the following command:
/usr/share/doc/revpi-tools/revpi-connect-watchdog.sh >/dev/null &
This script is only an example and is not suitable for the productive control of watchdogs or relays. You can use it as a template for your own application (e.g. logiRTS).
To change whether the relay is switched when the watchdog responds, use the following commands:
Enable relay switching on a watchdog error:
sudo /usr/share/doc/revpi-tools/enable_relay_watchdog.py
Disable it again:
sudo /usr/share/doc/revpi-tools/disable_relay_watchdog.py
You must call the desired command again after each reboot.
|
Note
|
After running one of these commands, the interface |
Technical Data RevPi Connect S #
Item No.: 100362, 100363, 100364
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 / NEMA Class 1 |
Power supply |
Typ. 24 V DC (10.8 … 28.8 V DC) |
Maximum power consumption |
20 W (incl. 1 A total USB output current)[2] |
Approved operating temperature |
-25 … +55 °C |
Approved storage temperature |
-40 … +85 °C |
Max. relative humidity (at 40 °C) |
up to 93 % (non-condensing) |
Interfaces |
3. 1 A USB output current (sum of both USB outputs) is only available with input voltages >11 V. The bridging time of voltage dips of at least 10 ms required by EN 61131-2 is only guaranteed with a supply voltage of 20.4 … 28.8 V. At 12 V input voltage this time decreases drastically, especially when driving loads via the USB ports.
|
Connectors |
|
Compute Module |
Raspberry Pi Compute Module 4S |
Processor |
Broadcom BCM2711, quad-core Arm Cortex-A72 |
Clock rate |
1.5 GHz |
Processor cooling |
Passive with heat sink |
RAM |
1 GB LPDDR4 |
Flash memory |
8 GB (Item No.: 100362), 16 GB (Item No.: 100363), 32 GB (Item No.: 100364) |
Number of digital inputs |
1 |
Digital input type |
24 V control voltage (e.g. for power-good signal of a UPS) |
Input threshold |
Approx. 3.0 V (0 → 1) resp. 2.3 V (1 → 0) |
Input protection |
Against overvoltage and negative voltages |
Number of digital outputs |
1 |
Output type |
Relay contact (NC), approved up to 30 V switching voltage (e.g. for power supply of a router) |
Maximum current load of the contact |
2 A @ 30 V DC (resistive load) |
Software interface of input and output |
Via GPIOs and process image. Output can optionally be controlled by hardware watchdog. |
Hardware watchdog functionality |
Can be disabled by bridging the 4-pole screw terminal connector. |
Compatible RevPi modules |
|
ESD protection |
4 kV / 8 kV (according to EN 61131-2 and IEC 61000-6-2) |
EMI tests |
Passed (according to EN 61131-2 and IEC 61000-6-2) |
Surge / Burst tests |
Passed (according to EN 61131-2 and IEC 61000-6-2) |
Buffer time RTC |
Min. 24 h |
Optical display |
6 status LEDs (bi-color), 2 freely programmable |
Conformity |
CE, RoHS, REACH, UKCA |
UL certification |
UL-File-No. E494534 |
Technical Data RevPi Connect SE #
Item No.: 100368, 100369, 100370
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 / NEMA Class 1 |
Power supply |
Typ. 24 V DC (10.8 … 28.8 V DC) |
Maximum power consumption |
20 Watt (incl. 1 A total USB output current)[4] |
Approved operating temperature |
-25 … +55 °C |
Approved storage temperature |
-40 … +85 °C |
Max. relative humidity (at 40 °C) |
Up to 93 % (non-condensing) |
Interfaces |
5. 1 A USB output current (sum of both USB outputs) is only available with input voltages >11 V. The bridging time of voltage dips of at least 10 ms required by EN 61131-2 is only guaranteed with a supply voltage of 20.4 …28.8 V. At 12 V input voltage this time decreases drastically, especially when driving loads by USB ports.
|
Connectors |
|
Compute Module |
Raspberry Pi Compute Module 4S |
Processor |
Broadcom BCM2711, quad-core Arm Cortex-A72 |
Clock rate |
1.5 GHz |
Processor cooling |
Passive with heat sink |
RAM |
1 GB LPDDR4 |
Flash memory |
8 GB (Item No.: 100368), 16 GB (Item No.: 100369), 32 GB (Item No.: 100370) |
Number of digital inputs |
1 |
Digital input type |
24 V control voltage (e.g. for power-good signal of a UPS) |
Input threshold |
Approx. 3.0 V (0 → 1) resp. 2.3 V (1 → 0) |
Input protection |
Against overvoltage, negative voltages |
Number of digital outputs |
1 |
Output type |
Relay contact (NC), approval up to 30 V switching voltage (e.g. for power supply of a router) |
Maximum current load of the contact |
2 A @ 30 V DC (resistive load!) |
Software interface of input and output |
via GPIOs and process image. Output is optionally switched by hardware watchdog. |
Hardware watchdog functionality |
Can be disabled by bridging the 4-pole screw terminal connector. |
Hardware watchdog interval |
Trigger after approx. 60 seconds without toggling the reset bit. |
Compatible RevPi modules |
|
ESD protection |
4 kV / 8 kV (according to EN 61131-2 and IEC 61000-6-2) |
EMI tests |
Passed (according to EN 61131-2 and IEC 61000-6-2) |
Surge/Burst tests |
Passed (according to EN 61131-2 and IEC 61000-6-2) |
Buffer time RTC |
Min. 24 h |
Optical display |
6 status LEDs (bi-color), two of them freely programmable |
Conformity |
CE, RoHS, REACH, UKCA |
UL certification |
UL-File-No. E494534 |