12-09-2013 02:56 PM
hi
my project is about controlling pneumatic two solenoide valve( up and down) using PWM on labview+arduino uno which will work as proportional valve.
project equepments
1 double acting air cylinder
2 5/3 double solenoid valve, 24v
3 arduino uno, 5v
4 labview software
5 sharp analog sensor (feedback) 5v
details:
1- pressing push button to start the circuit
2- giving pwm signal from labview to arduino to move up the cylinder
3- giving pwm signal from labview to arduino to move down the cylinder
4- detecting distance as error feedback to input of my plant
12-09-2013 03:43 PM
I'm still confused as to how a 5 volt PWM signal does anything to your solenoid. What hardware do you have between the Arduino and the solenoid? It will likely be that device that determines how the LabVIEW code needs to be written. If it is just a simple amplifier circuit then it should be fairly simple by setting the PWM duty cycle to different values. However, in this case, you will need to be ensure that the frequency is in the correct range to properly hold a constant average current.
12-10-2013 12:51 AM
hi
my project is about controlling pneumatic two solenoide valve( up and down) using PWM on labview+arduino uno which will work as proportional valve.
project equepments
1 double acting air cylinder
2 5/3 double solenoid valve, 24v
3 arduino uno, 5v
4 labview software
5 sharp analog sensor 5v; (feedback)
6 electrical circuit (resistor, transistor, doid, solenoid); "this circuit between arduino and solenoid"
details:
1- pressing push button to start the circuit
2- giving pwm signal from labview to arduino to move up the cylinder
3- giving pwm signal from labview to arduino to move down the cylinder
4- detecting distance as error feedback to input of my plant
could you please guys, make this code in labview interface for arduino?
thanks
12-10-2013 01:09 AM
I understand what you want to do however, I still don't understand your electrical and hardware setup. So, the only thing that I need now is a link to the exact solenoid that you are using and the name, type, or diagram of the circuit you are using between Arduino and your solenoid. If it is a common circuit, could you please provide a link to a description of it?
I could just write code for you but I don't think that would be the safest thing to do without first understanding how your system is built.
12-11-2013 05:57 AM
5/3 way, dual solenoid work with 24v
please make any code closer to this solenoid
thanks
12-11-2013 09:19 PM
Ok, so based on that circuit, you only need a single PWM signal to control the solenoid (assuming that the PWM frequency will work). So, to control your solenoid you should be able to simply do this:
12-12-2013 04:31 AM
hi
this code is to control only one solenoid but i need code to control 5/3 vlave with two solenoid.
so i made this code on labview but the signal is not good, so please could you modify it or make code to control two solenoid with pwm.
thanks
12-12-2013 09:56 AM
The only thing that I can recommend is that you test code for one (1) solenoid (see my code above) to see if it is possible to actuate it with the PWM signal from the Arduino. If it is not possible to actuate one (1) solenoid then it won't be possible to do two (2).
One thing that is generally helpful is if you can test it with Arduino alone (usually based on some example or tutorial). If you can do it with Arduino alone, then you could post that code so that we could see if something about LIFA needs to be changed to be able to replicate the functionality of the code.
Once you establish that the valve can be actuated by the Arduino then we can better assist you.
12-12-2013 02:07 PM
hi
this is arduino code for two solenoid valve, it is successful
12-13-2013 02:15 AM
hi nathan
could you please make code labview+arduino for controlling 5/3 way with two solenoid valve using pwm?
please i need it
thank you