So i my plan was to create a automatic irrigation system for 3 plants so i made this schematic is this correct or will something blow up?
Adding a kick back diode to the motor is needed.
How is the controller powered?
Looks good, since you are using electrically isolated 12 and 5V supplies, there is no requirement to tie the 0v/grounds together, but you may choose to tie the grounds together in case of future expansion.
What / how are you going to sequence the valves?
Also, in the forum it’s typically more convenient ripoff us if you upload images as jpg or gif so we can extract & zoom in on details,
How is the Uno powered?
You can open the svg in a other tab and zoom in but i will keep it in mind. My idea is to only open a valve one at a time. As for timings first valve then pump.
My plan was to power it with usb or should i use the 5v power supply?
The USB would be best.
Alright, thank you.
There is nothing to open; it's embedded at least on my Mac.
I was able to open it in a separate tab and then edit it in a vector graphics app as well as exporting it as a .jpg
The first time I saw that, there was no feedback like normal, but a rt click menu came up. I tried to open the tab, but it did a download, so I can look at that. Thanks.
You can even import the .svg in KiCad if you're of a mind.
The missing flyback diode for the pump could cause it to blow up. On the other hand, the Uno has no power, so in practice, nothing will be damaged because nothing will work at all. ![]()
Since you are running the circuit on battery power, I assume maximizing the battery life is important to you. In that case, relays are not recommended. The power needed to energise those relays could be as much as the power required for the solenoids and the pump. So I would recommend swapping the relay board for some logic-level, N-channel MOSFETs such as IRLZ44. These require almost zero power to activate, and could almost double your battery life.
Another advantage of this change would be that only a little current will be required at 5V. Just enough for the Uno, and, I assume, some sensors? The Uno's built-in regulator can provide that from the 12V battery, so no 5V battery will be needed.
I also wonder about the power consumption and price of the pump compared to the solenoid valves. It might be simpler, cheaper and more efficient to have 3 pumps so that no valves are required.
I can't use KiCad, I am autistic 83 yo. Very successful computer guy ended up with two employees plus me in my own company BUT some UI's I can understand, others no way. I was 100% stymied on CAD for decades until I watched a lesson that explained Fusion360 did NOT use normal windows UI procedures. Once I know how to select and move etc, I have been using F360 with no problem albeit at a Kindergarten level. Of the 30 or 40 lessons I quit at 6 once I found the secret. Just FYI so you understand me a bit.
I should've mentioned it but i do not plan to run it on battery.
Now might be a good time to describe exactly how you plan to power it.
- Please give us a link to the relay board, the pump and to the solenoid valve.
You need three power sources: 12VDC for the motors, 5VDC for the UNO and 5VDC for the relay board (do NOT power the relay board with the UNO 5V out pin)
To summarize, a fair size 12VDC battery, and a probably Lithium 5VDC smallish power bank. As always, do a power budget so you know what to buy. If you plan on using an automotive battery for the 12V, just remember cranking or marine batteries are the wrong type; you want a deep cycle. If the initials CCA MCCA or the word CRANK appears anywhere on the battery, even if it also says Deep Discharge, it is the WRONG battery (YES, they are allowed to lie). For lead batteries, recharge once it gets to 50% discharge at the maximum, for real long life, recharge at the 70% discharge mark (yes, that means you only get to use 30% between charges)
It's dutch amazon so you might want to use google translate extension in your browser.
Of course:
Relay This is the american page for the relay
What i just found out was that the relay board can be powered with 12v but does that work with the uno?