MIO and RevPi Data Capture Rate Query

Topics about the Hardware of Revolution Pi
Post Reply
User avatar
palmerpi
Posts: 21
Joined: 04 Feb 2019, 17:17
Location: Northern Ireland
Contact:

MIO and RevPi Data Capture Rate Query

Post by palmerpi »

I have a project that will require me logging an analog signal (4-20ma) when a valve is open (Digital signal).
I was thinking of using Revpi Core with MIO or Revpi Compact for this job.
I would like to use Node Red to capture and send to data to DB on the Revpi itself.

My main concern is that the Valve will only be open for 200ms and I would like the sample rate for the analog to be at 20ms. or quicker.
I know that the sample rate for the analog on the MIO is rated at 8ms. Just wondering has anyone done something like use using nodered at this sort of speed before I go down this route.

Thank you.
VdH
Posts: 28
Joined: 04 Aug 2018, 21:32

Re: MIO and RevPi Data Capture Rate Query

Post by VdH »

MIO is analogue voltage input only! if you need 4-20 mA you would need an AIO or a converter. Using just a shunt resistor reduces the overall precision. To get 10 V from 20 mA you would need a 500 Ohm shunt. But keep in mind that the analogue input is single-ended and one terminal of the shunt must be GND level! So you cannot use current transceivers which are referencing to any other level. Calculate the precision you need first and then decide which method would fulfil your needs. The PiBridge is able to allow 20 ms sampling to the process image of the RevPi. But this depends on the overall system configuration (e.g. number of other IO modules).
User avatar
palmerpi
Posts: 21
Joined: 04 Feb 2019, 17:17
Location: Northern Ireland
Contact:

Re: MIO and RevPi Data Capture Rate Query

Post by palmerpi »

Thank you for your reply. Wasn't aware the MIO was voltage only. Might be that a dedicated datalogger is what I would need for this project.

Thank you.
User avatar
crismancich
KUNBUS
Posts: 40
Joined: 05 Jan 2021, 11:25
Location: Hamburg
Contact:

Re: MIO and RevPi Data Capture Rate Query

Post by crismancich »

Hi,

as for the cycle time, 8ms are possible with AIO for 4-20ms.
But this is depending on the number of inputs you re reading.

Kind regards,
Boris
Viele Grüße / Kind regards / Quapla’ / 此致敬意
Boris Crismancich
User avatar
palmerpi
Posts: 21
Joined: 04 Feb 2019, 17:17
Location: Northern Ireland
Contact:

Re: MIO and RevPi Data Capture Rate Query

Post by palmerpi »

Thank you. It should just be one 4-20 input and 1 digital.
Post Reply