Document toolboxDocument toolbox

Commissioning RevPi MIO

Features

see in the link below
https://revolutionpi.de/analoges-digitales-io-modul

  • 8 Analog Outputs

  • 8 Analog Inputs

  • 4 Digital Inputs or Outputs

Overview Interface

https://revolutionpi.com/tutorials/pin-belegung-core-2

Setup Configuration

select your main module in PiCtory and drag to the right or left side, depending on which device you have, the RevPi MIO

Configure the RevPi MIO

the RevPi MIO is a combination of the RevPi AIO and the RevPi DIO. In the following, we show how the Analog and digital inputs can be configured.

Troubleshooting

PiCtory Checklist

Revolution Pi Checklist

https://revolutionpi.com/tutorials/images/firmware-update

Analog Interface

Analog Input for Voltage Measurement

if you want to measure the Analog value from an input

set the AnalogInputMode1 = analogInput

read value:

piTest -r AnalogInput_1

Analog Input for Level Detection

If you are looking for a voltage threshold, then set the following.

AnalogInputMode1 = LogicLevelInput

Required switching threshold in millivolts.

InputLogicLevelVoltage_1= x

this is the voltage level detection

piTest -r AnalogInput_1

Digital Interface

the digital interfaces (4 pins) on the top of the RevPi MIO can be configured individually. Each can be set as input or output, also the mode can be configured.

For the configuration, see the following link. There is described how to configure the RevPi DIO/DI/DO.

Commissioning RevPi DIO | DI | DO

Further Information

RevolutionPi IO-Modules FAQ | How to wire the RevolutionPi AIO, MIO, DIO, DI, DO modules?

RevolutionPi IO-Modules FAQ | How much RevPi IO Modules can I connect to a RevPi

https://revolutionpi.com/tutorials/pin-belegung-core-2?noredirect=en-US

FAQ

Is there a tutorial on how to make an LED flash or connect a button?

Yes, here is a simple tutorial:

https://revolutionpi.com/forum/viewtopic.php?p=16067#p16067

I am using the RevPi MIO module and sometimes the IN LED is red and stays that way until I reboot the system, what can I do?

  • Pull all unused analog inputs to GND via a wire jumper.

Would it be possible to use the outputs of the RevPi MIO Module to switch a relay?

  • The RevPi MIO can drive max. 40 mA. It is best to try it out with the specific relay type, as the current consumption of relays is not linear.

When the RevPi MIO module is switched on, there are peaks on the outputs. What can I do to prevent this?

  • Please update the firmware of your RevPi MIO modules as follows:

sudo apt update sudo apt install revpi-firmware piTest -f