Go Down

Topic: Control 3-way valves using an Arduino and KEITHLEY electromechanical relay (Read 744 times) previous topic - next topic

Christiana

It's my first time to create a circuit with an Arduino microcontroller.

I try to control 3 3-way solenoid valves (GALTEK, 24 VDC, .50 AMPS, 12 Watts) in order to switch them accordingly to a certain time schedule or an instrument output. The application in which I will use it is air sampling.

Additionally, we own a KEITHLEY ERA-01 electromechanical 8-channel SPDT relay output accessory board and an Arduino ethernet.

There is any previous similar experience either in circuit diagram or the programming?

Thank you.

HazardsMind

It should just be a simple sequence, simular to an LED shifter.

0001 led1 on, led2-4 off
0010 led2 on, led1 & 3,4 off
0100 led3 on, led 1,2, 4 off
1000 led4 on, led1-3 off

Right?
My GitHub:
https://github.com/AndrewMascolo?tab=repositories


HazardsMind

Ok, then you can simply use:

digitalWrite(relay1, HIGH); digitalWrite(relay2, LOW); digitalWrite(relay3, LOW);
digitalWrite(relay1, LOW); digitalWrite(relay2, HIGH); digitalWrite(relay3, LOW);
digitalWrite(relay1, LOW); digitalWrite(relay2, LOW); digitalWrite(relay3, HIGH);

OR, you can use port manipulation, but I dont it is need for this project.

Look at example Blink LED without delay, if you haven't already.
Does there need to be any particular sequence?


My GitHub:
https://github.com/AndrewMascolo?tab=repositories

Go Up