logo elektroda
logo elektroda
X
logo elektroda

How to Power and Control a 12V Danfoss Solenoid Valve via Arduino Uno and Wireless Sensor

PawelP930 4683 10
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 15444829
    PawelP930
    Level 8  
    Hello

    I'd like to put an electro-valve in my house, which will cut off the water supply to my boiler if the temperature of the circulating water drops below 50 degrees C. I would like to put the whole thing on an arduino, which would receive the temperature measurement via radio from another arduino already mounted, then convert the 5V voltage into the 12V necessary to control the electro-valve.

    Can it be done this way, or is it necessary to use what additional power supplies?

    I have decided on a solenoid valve like this:
    http://valveselector.danfoss.com/showresult.aspx?v=pl&system=Heating&medium=Water&function=NO&size=G34&coilvoltage=DC_12V

    Inverter (I don't want to make an advertisement here, just the first image from the internet)
    http://www.bro.net.pl/Obrazki/2AB88EC1-0B42-4770-A373-D93B4FCDD75F.JPEG
  • ADVERTISEMENT
  • #2 15444898
    kindlar
    Level 42  
    Have you checked the wattage of the 5V power supply to power this valve? The solenoid is 18W which at 5V gives you over 3A not counting the losses on the inverter, which also has to withstand continuous operation to hold the solenoid of the valve closed.
    If you pulled up 12V to power the valve you could easily drop down to 5V for the other circuits.
  • #3 15444913
    Krzysztof Kamienski
    Level 43  
    Relays missing ?
  • ADVERTISEMENT
  • #4 15445632
    PawelP930
    Level 8  
    The relay is a good solution, but I have a few doubts:

    1) I receive the temperature measurement via radio, that is, when I receive a temperature lower than 50 degrees, I put a high state on a given pin which is connected to the relay and it activates the circuit with the coil ?

    2) which relay should I choose?

    3) this is more or less how it should look like ? :)
    How to Power and Control a 12V Danfoss Solenoid Valve via Arduino Uno and Wireless Sensor

    So I then quietly use the power supply to turn on the valve, yes?
  • #5 15445674
    Krzysztof Kamienski
    Level 43  
    PawelP930 wrote:
    3) this is more or less how it should look like
    This diagram of yours sorry, scares you :cry: Relay dedicated to Arduino, 5V, with protection, some pennies.....Temperature too high, you set ,,0'' on output µC, relay lets go and disconnects solenoid valve or this ,,something''. Is that so difficult? By the way, familiarise yourself with the symbols of the electrical and electronic components, because from this it hurts your eyes :D
  • #7 15445788
    Krzysztof Kamienski
    Level 43  
    Yes, that's the transmitter.
  • ADVERTISEMENT
  • #8 15446902
    kindlar
    Level 42  
    Are you assuming that the 12 V coil of the central heating valve will be controlled by 5 V?
  • ADVERTISEMENT
  • #9 15447071
    PawelP930
    Level 8  
    So what should it look like in the end?
    I thought the relay solves everything, the valve would be powered by a 12V supply with one wire going to the relay and the relay would be controlled by this 5V?
    Is there anything else I'm missing from this circuit?
  • #10 15447104
    andrzej55
    Level 37  
    And so for hours this valve will draw ~20W from the grid? A very uneconomical solution.
    Maybe look for another solenoid valve that only draws power when closing/opening.
  • #11 15448296
    PawelP930
    Level 8  
    Andrew55, thanks for the valid observation.
    Thank you all for your help, do you have any suggestions? anything else I should pay attention to?
ADVERTISEMENT