Go Down

Topic: Q: Connect 12v solenoid valve to relay board. (Read 14021 times) previous topic - next topic

Kiraichi

Good day everyone, thanks for your view.

I am still new with relay environment (electrical/electronic stuff),

Currently im working on project that use to control 12v solenoid valve with Arduino UNO.

Item used:
12v Solenoid valve
2 channel relay board
12v power adapter
Female power jack
Arduino UNO (Ignore the Yellow wiring(line))
Moisture sensor (Ignore this/wiring)
Breadboard
Wire

I am trying to control the valve ON/OFF via arduino uno.

I have uploaded my diagram, and the question is, is my diagram correct? If its wrong, i hope somebody can correct it.

Files too big, i have upload it to imgur,
http://i.imgur.com/EwaPZ3H.png



Sorry for the messy color!

Thank You,

Regards,
Kiraichi

bastjan

The circuit looks good

Since I never used arduino relay board make sure it have transistor built in and diodes to protect against spikes, if in doubt or dont understand dont hesitate to contact me

larryd

If the Wall Wart is DC and the solenoid is DC place a kick back diode across the solenoid.
http://www.allaboutcircuits.com/vol_3/chpt_3/9.html
No technical PMs.
If you are asked a question, please respond with an answer.
If you are asked for more information, please supply it.
If you need clarification, ask for help.

larryd

No technical PMs.
If you are asked a question, please respond with an answer.
If you are asked for more information, please supply it.
If you need clarification, ask for help.

feveran

which diode you advice for 12V 0.7A solenoid valve?

CrossRoads

Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

DaveGahl

Thanks for such a great question.  For my automation class we are using the same type of solenoid to actuate a drink mixer.  I got it to work. Thanks for the help.

Marciokoko

Hi Peeps!

Im working on a solenoid project where I need to have the 12v solenoid valve controlling water flow of my showerhead.  I would like to control the solenoid with a simple button.

I have been researching on how to operate a solenoid and found a couple of ideas:

1.  This uses transistors & diodes: http://www.instructables.com/id/Controlling-solenoids-with-arduino/?ALLSTEPS

2.  And this post here which uses a relay.

What materials I have:

1.  I do have or could make a 9V-battery-powered source (but I think id rather use a 120V AC source and somehow convert it to DC.  For now Ill stick to the 9V x 2 battery pack idea.  What would I need to power it from the wall socket?

2.  12V solenoid valve

3.  1k resistor, breadboard, jumpers

4.  TIP120 transistor - I need to get one - i only have a IRLB8721

5.  1N4004 - I need to get one - i only have a 2N2222

I guess I could use a relay but I only have this: http://www.tinyosshop.com/index.php?route=product/product&product_id=228&filter_name=l298n

1.  Could that be used as a relay?  Eventually I would have to buy a 12V relay, I understand.
2.  Could those transistors and diodes work?  eventually I would have to buy those mentioned above.



raschemmel

#8
Dec 08, 2015, 06:14 pm Last Edit: Dec 08, 2015, 06:16 pm by raschemmel
Quote
Files too big, i have upload it to imgur,
http://i.imgur.com/EwaPZ3H.png  
Open it with Paint and click "Resize" button on the upper left and type in "60" where you see the "100", click SAVE icon in paint and then upload it. That should make it < 1 Mbyte.


Quote
For my automation class we are using the same type of solenoid to actuate a drink mixer
I'll take a Mojito please....
Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,<br />DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

Go Up