MIO returning 0004hex no matter what

Topics about the Software of Revolution Pi
Post Reply
petrjahoda
Posts: 3
Joined: 26 Nov 2024, 11:19

MIO returning 0004hex no matter what

Post by petrjahoda »

We have got REVPI CORE S device and MIO connected.
REVPI CORE S version 1.2
MIO version 1.2.

All the analog inputs are returning 0004hex value, no mater what is connected.
When we switch different unit, MIO version 1.0, the problem disappears and everything is working correctly.


1. How to downgrade MIO to version 1.0?
2. What can be the problem here, with MIO version 1.2?
User avatar
dirk
KUNBUS
Posts: 2174
Joined: 15 Dec 2016, 13:19

Re: MIO returning 0004hex no matter what

Post by dirk »

Hi petrjahoda, please update your Revolution Pi Core S to the latest version. You can do this, for example, with the Revolution Pi Checklist.
Can you give us details about the MIO module, e.g. the contents of the DMC on the front?
petrjahoda
Posts: 3
Joined: 26 Nov 2024, 11:19

Re: MIO returning 0004hex no matter what

Post by petrjahoda »

Hi, we already did it.
All those updates and upgrades are done.
The core is running the latest version of bullseye, all updates and upgrades all done.

We are using the same "design" everywhere:
- core s with version 1.2
- mio with 1 digital connected and 3 analogs connected

Still the same. We never had problems until this week.
We found out, that only difference is MIO having version 1.0 (working) versus MIO having version 1.2 (not working, meaning returning values between 0003-0004 no matter if anything is even connected).
Version 1.0 is returning that 10000+ analog value when nothing is connected and proper values on analog inputs where we have something connected.
But if we only switch the additional MIO to MIO with version 1.2, all analogs are returning values between 0003 and 0004 hex. Meaning those 3 analog inputs that has something connected and even analog inputs, that has nothing connected.
petrjahoda
Posts: 3
Joined: 26 Nov 2024, 11:19

Re: MIO returning 0004hex no matter what

Post by petrjahoda »

Hi, so the problem is solved.
And there never was a problem.

The reason we got into trouble was in this:
MIO 1.0, analog inputs: when nothing is connected, we are reading values ~10 000.
MIO 1.2, analog inputs: when nothing is connected, we are reading values ~0.
When 5V is connected, in both versions we are reading ~5000, so everything is OK.

The reason was the difference in output (10000 versus 0), where nothing is connected and that got us baffled.

So my apologies for the misinformation, everything is working properly.
User avatar
dirk
KUNBUS
Posts: 2174
Joined: 15 Dec 2016, 13:19

Re: MIO returning 0004hex no matter what

Post by dirk »

Hi petrjahoda, thank you for your positive, proactive feedback. Those things happen. :)
Post Reply