Terdy56
Posts: 7
Joined: Mon Apr 30, 2018 7:41 am

Monitor Voltage variation of Pneumatic valve through pressure sensor

Thu Aug 02, 2018 11:18 am

Hello, I have 2 wired solenoid valve use for pressure system, and there is Valve controller present in industry which is easy to connect with raspberry pi but I need to know the best way to monitor the voltage variation as I wanted to control this pressure valve using pressure sensor any kind of theoretical help to make this solution possible will be helpful .

User avatar
B.Goode
Posts: 10356
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Monitor Voltage variation of Pneumatic valve through pressure sensor

Thu Aug 02, 2018 11:27 am

I need to know the best way to monitor the voltage variation
All the I/O connections on the 40-way header of an RPi are digital and can represent (or respond) to 2 voltage levels representing On/Off, True/False etc. The highest voltage you can connect is 3.3v DC.

To deal with variable voltage you will need an external Analogue-to-digital convertor (ADC.)

Terdy56
Posts: 7
Joined: Mon Apr 30, 2018 7:41 am

Re: Monitor Voltage variation of Pneumatic valve through pressure sensor

Thu Aug 02, 2018 12:06 pm

Hello B.Goode,
thanks for the reply is there any kind of ADC hardware or any circuit suggestion on which i should try it out?

Brandon92
Posts: 847
Joined: Wed Jul 25, 2018 9:29 pm
Location: Netherlands

Re: Monitor Voltage variation of Pneumatic valve through pressure sensor

Thu Aug 02, 2018 12:15 pm

It's depands on what you want, for example, the sample speed, how accurate the measurement needs to be. But here is a nice introduction to do this.
But, in what kind of environment are you going to use it?

User avatar
B.Goode
Posts: 10356
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Monitor Voltage variation of Pneumatic valve through pressure sensor

Thu Aug 02, 2018 1:32 pm

is there any kind of ADC hardware or any circuit suggestion on which i should try it out?
The gpiozero Python library module installed by default in recent versions of the Raspbian Operating System has built-in support for the MCP30xx family of ADC chips, and a simple 'recipe' to demonstrate its use including a wiring diagram: https://gpiozero.readthedocs.io/en/stab ... entiometer

(In case the jump within the link does not work, you need Section 2.25. Potentiometer)

Return to “Automation, sensing and robotics”