RevPi MIO is not working correctly

Topics about the Hardware of Revolution Pi
Post Reply
limpopo
Posts: 4
Joined: 19 Oct 2023, 15:54

RevPi MIO is not working correctly

Post by limpopo »

Hello!
I have connected RevPi Core SE, DIO, and MIO. However, if I change the parameters for MIO, they are not changed, and there is no voltage on the output. For example, if I have default settings for MIO and want to change AnalogOutput_1, I change it, reading the value directly after it. It shows that it has not changed (picture). The DIO is working correctly by the way. I checked it for two different MIO modules, but the same problem. So I guess the problem is somewhere in the Core module. I hope you have some ideas on how to repair it.

Thanks!
Attachments
2.JPG
2.JPG (35.59 KiB) Viewed 7939 times
1.JPG
1.JPG (123.49 KiB) Viewed 7939 times
User avatar
dirk
KUNBUS
Posts: 2174
Joined: 15 Dec 2016, 13:19

Re: RevPi MIO is not working correctly

Post by dirk »

Hello limpopo, okay so there seams to be a problem using the MIO module analogue output. Let's take a look at it together.
First, the documentation is here: https://revolutionpi.com/tutorials/anal ... gurieren-2
These are the steps to configure the MIO module accordingly
- AnalogOutputMode1 = analog Output
- AnalogOutput 1 = Set the output voltage here. The value must be between 0 and 10000 and is stated in mV.

The whole configuration parameters are here
List of the Setting Values for the Analog Outputs in PiCtory
List of the Setting Values for the Analog Outputs in PiCtory
chrome_bFVUlY96Nz.png (47.35 KiB) Viewed 7929 times
Can you check your configuration according to these parameters?
Can you verify that there are no other tasks that overwrite that parameter "AnalogOutput_1"?
limpopo
Posts: 4
Joined: 19 Oct 2023, 15:54

Re: RevPi MIO is not working correctly

Post by limpopo »

Thanks!
But I got where there was a problem, the problem was in PiCtory version. I updated PiCtory and after that, MIO stopped working. I had 2.0.7-1+revpi10+3 version, then I wrote this command: sudo apt install pictory=2.0.6 .
Everything began to work again.
User avatar
dirk
KUNBUS
Posts: 2174
Joined: 15 Dec 2016, 13:19

Re: RevPi MIO is not working correctly

Post by dirk »

Hello limpopo, Thank you for your positive response.
Post Reply