...
Table of Contents |
---|
Additional Information
https://revolutionpi.com/tutorials/pin-belegung-core-2?noredirect=en-US
Features
see in the link below
https://revolutionpi.de/analoges-io-modul
8 Analog Outputs
8 Analog Inputs
4 Digital Inputs or Outputs
Overview Interface
https://revolutionpi.com/tutorials/uebersicht-aio-2/pin-belegung-revpi-aio-2
PiCtory
...
select your main module and drag to the right or left side, depending on which device you have, the RevPi MIO
Configuration
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.
Analog Interface
Analog Input for Voltage Measurement
if you want to measure the Analog value from an input
set the AnalogInputMode1 = analogInput
read value:
Code Block |
---|
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
Code Block |
---|
piTest -r AnalogInput_1 |
Info |
---|
For more information, read the following article: https://revolutionpi.com/tutorials/analoge-eingaenge-konfigurieren-2?noredirect=en-US |
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
...