RevPi MIO
Product Description
The RevPi MIO is an expansion module of the Revolution Pi family and has 8 analog inputs, 8 analog outputs and 4 digital channels, which can be configured as digital inputs or digital outputs via software.
Components
Position | Component | Application |
---|---|---|
1 | X2 connector | Digital Inputs and Outputs |
2 | 3 × status LED | LEDs |
3 | 8 × analog input 8 × analog output | Pinout, Analog Inputs, Analog Outputs |
4 | X4 connector | Connecting the Power Supply |
5 | Locking clamps | Mounting the Device on a DIN Rail |
6 | Ventilation Slots | Mounting the Device on a DIN Rail |
7 | 2 × PiBridge | Connecting Expansion Modules |
Pinout
The RevPi MIO has
- a GPIO interface with 4 identically assigned digital connections (inputs or outputs)
- 8 analog inputs for voltage
- 8 analog outputs for voltage
The pins on the connector for the analog inputs and outputs are assigned as follows:
For the configuration, see Configuring RevPi MIO in the PiCtory Value Editor.
LEDs
The LEDs indicate different device statuses.
Power
Signal | Function |
---|---|
Green | The connection to the RevPi base module is established. |
Flashes red | The connection to the RevPi base module is being established (initialization phase). |
Red | The connection to the RevPi base module is interrupted. |
OUT
Signal | Function |
---|---|
Flashes red | A voltage above 10.5 V is set at one or more analog outputs. (Note: this feature is no longer supported from firmware version 1.1). |
IN
Signal | Function |
---|---|
Green | One or more analog inputs are being used. |
Flashes red | The voltage at one of the inputs exceeds the defined value of 10 V. |
Compatible Base Modules
- RevPi Connect 5
- RevPi Connect 4
- RevPi Connect SE (left side only)
- RevPi Connect+ (left side only)
- RevPi Connect S (left side only)
- RevPi Core (all variants)
See Rules for the Arrangement of Devices.
Scope of Delivery
The scope of delivery includes
- RevPi expansion module
- PiBridge connector
- X2 connector
- X4 connector
- 2 × 14-pin I/O module
- 2 × cover plug for PiBridge
Mounting and Connecting
The RevPi was developed for use in a control cabinet. Observe the specifications for the Intended Use and all Safety Instructions.
Danger to life due to electric shock
There is a risk of fatal electric shock when working on devices in the switch cabinet with 230 V mains voltage.
▷ Work in the switch cabinet may only be carried out by qualified electricians.
▷ Before carrying out any work in the switch cabinet, switch off the power supply properly.
Carry out the mounting and connection in the following order:
- Mount the RevPi base module and all expansion modules on a DIN rail.
- Connect the expansion module via the PiBridge connector.
- Connect all other devices such as sensors and actuators.
- As the last step connect the power supply.
Configuration
The RevPi expansion modules are configured via the System Configuration with PiCtory.
Configuring RevPi MIO in PiCtory
The RevPi MIO has:
- a GPIO interface with 4 identically assigned digital connections (inputs or outputs)
- 8 analog inputs for voltage
- 8 analog outputs for voltage
These can be configured in PiCtory’s Value Editor.
Mind the Pinout.
▷ Insert the RevPi MIO from the Device Catalog > I/O Devices into the correct slot in the Revolution Pi system on the Configuration Board.
▷ If necessary, adjust the basic configuration of the RevPi MIO under Device Data.
▷ Configure the settings in the Value Editor (see below).
▷ Save the configuration via File > Save as Start-Config. .
▷ Restart the driver via Tools > Reset Driver .
Connecting the System Ground (GND)
Damage to the device due to different grounding
▷ Refer all connections to the same system ground.
▷ Connect external voltage inputs or outputs with different grounding externally.
A system ground connection is available for all inputs and outputs on the 28-pin connector, which is connected through to the RevPi expansion module. All inputs and outputs refer to a common system ground as reference potential.
▷ Connect the system ground and the ground from the external voltage input (e.g. of a controller) with low impedance.
Analog Inputs
The RevPi MIO has 8 analog inputs for voltage, e.g. to connect sensors such as proximity or level sensors with analog outputs. The maximum common mode voltage per input may be between 0 and 10 V. The inputs have an overhead with a buffer of 0.76 V. Measurements above 10.76 V are blocked.
The inputs can be used in two function modes:
- analogInput: Use input for voltage measurement.
- LogicLevelInput: Use input for level detection. Switching threshold adjustable between 0 ... 10 V.
Mind the Pinout.
INP input
Name | Value | Function |
---|---|---|
AnalogInputMode_1 … 8 | analogInput: for voltage measurement LogicLevelInput: for level detection | Set function mode for inputs. |
AnalogInputLogicLevel_1 … 8 | 0: Switching threshold was not exceeded. 1: Switching threshold was exceeded. | Indicates if the switching threshold is exceeded. |
AnalogInput_1 … 8 | 0 … 10 000 | Voltage at the input in mV. |
InputLogicLevelVoltage_1 … 8 | 0 … 10 000 | Set switching threshold for level detection. |
FilterWindowSize | 1 … 255 | Setting the filter width of the moving average filter. |
Moving average filter
To increase the accuracy of the AD converter, the signal is “oversampled”. The analog inputs are sampled with 15-bit resolution and are available in the process image as a millivolt value (0 to 000).
If the signal is too affected by noise, the moving average filter can be set for the analog inputs. This filter ensures that any disturbance values such as measurement noise are filtered out of your sensor’s signal.
If the moving average filter is used, the maximum frequency that can be detected decreases. The signal’s bandwidth is reduced as a result.
Analog outputs
The RevPi MIO has 8 analog outputs, e.g. to connect actuators such as frequency converters for speed control.
The outputs can be used in two function modes:
-
analogOutput: Outputs provide voltages between 0 ... 10 V.
-
LogicLevel: Outputs provide a constant, preconfigured voltage. They can be used like digital outputs. Logic level adjustable up to 10 V.
Mind the Pinout.
Damage to the device due to voltage input on the analog outputs
▷ Ensure that the pins are connected correctly.