We use some essential cookies to make our website work.

We use optional cookies, as detailed in our cookie policy, to remember your settings and understand how you use our website.

slaw1991
Posts: 1
Joined: Mon May 08, 2017 8:52 pm

writing program to activate 5/3 way solonoid valve

Thu May 11, 2017 5:00 am

I'm new to raspberry pi and to programming, I want to be able to control a pneumatic cylinder using a 5/3 solenoid valve and a python program on my raspberry pi. I need to be able to extend and retract the cylinder for any given number of seconds and also have it stationary for any given number of seconds, it is going to be used for reaction time (sport) bad description I know, sorry.
If anyone can point me in the right direction it would be much appreciated

BMS Doug
Posts: 4423
Joined: Thu Mar 27, 2014 2:42 pm
Location: London, UK

Re: writing program to activate 5/3 way solonoid valve

Thu May 11, 2017 8:05 am

slaw1991 wrote:I'm new to raspberry pi and to programming, I want to be able to control a pneumatic cylinder using a 5/3 solenoid valve and a python program on my raspberry pi. I need to be able to extend and retract the cylinder for any given number of seconds and also have it stationary for any given number of seconds, it is going to be used for reaction time (sport) bad description I know, sorry.
If anyone can point me in the right direction it would be much appreciated
Step 1 get the hardware working.

Step 2 tweak the software setting until you are happy with them.


Step 1: Drive a solenoid valve:
Details of solenoid Valve? Voltage, current etc? Datasheet?

Overview:
use some kind of Transistor to drive the solenoid valve, FET, MOSFET, details depend on the solenoid valve. A smaller transistor may be required to drive the power transistor.

End.
Doug.
Building Management Systems Engineer.

Return to “General discussion”