Pages: [1]   Go Down
Author Topic: Control 3-way valves using an Arduino and KEITHLEY electromechanical relay  (Read 652 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Queens, New York
Offline Offline
Faraday Member
**
Karma: 84
Posts: 3417
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Created Libraries:
NPV2 (NewPasswordV2),  TFT_Extension, OneWireKeypad, SerialServo.
Will provide libraries if asked in PM or forum.

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Exactly.
Logged

Queens, New York
Offline Offline
Faraday Member
**
Karma: 84
Posts: 3417
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?


Logged

Created Libraries:
NPV2 (NewPasswordV2),  TFT_Extension, OneWireKeypad, SerialServo.
Will provide libraries if asked in PM or forum.

Pages: [1]   Go Up
Jump to: