Loading...
Pages: [1]   Go Down
Author Topic: Control 3-way valves using an Arduino and KEITHLEY electromechanical relay  (Read 177 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
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
Edison Member
*
Karma: 29
Posts: 1574
"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

UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W, Gameduino

Arduino Tutorials, coming soon.

"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown

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

Exactly.
Logged

Queens, New York
Offline Offline
Edison Member
*
Karma: 29
Posts: 1574
"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

UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W, Gameduino

Arduino Tutorials, coming soon.

"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown

Pages: [1]   Go Up
Print
 
Jump to: