9
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 15 Oct 2025
9 points (100.0% liked)
diyelectronics
530 readers
1 users here now
founded 3 years ago
MODERATORS

But if I connect it to the 5v power supply directly it will destroy the coil according to the specs https://www.tinytronics.nl/en/mechanics-and-actuators/solenoids/solenoid-valves/solenoid-valve-latching-5v-brass-g1-2
No, the diode was not tested with the led but with the voltage meter on diode mode, I verified the diode works (I even flipped the diode for testing).
I tested the solenoid by setting the multimeter to resistance and connect the testing probes to the solenoid
So the setup you have is not going to work. Even if you managed to get the valve to engage, it'll require a negative voltage pulse to disengage according to the specs you linked above.
Thanks, i see what you mean now. Would another valve like the one below work with my setup? My power adapter supports 12v so that is no problem.
https://www.kiwi-electronics.com/en/plastic-water-solenoid-valve-12v-1-2quot-nominal-2624?search=valve
The idea with the first valve is to drive it with an H-bridge. This allows for reversing polarity and is commonly used with motors to allow for spinning in two directions. This requires 4 MOSFETs. I'm not sure what type of MOSFET you are using but if you can find a simple dc motor to test this setup you can verify that it works with the one you have before you extend the circuit to an H-brigde configuration. This would be cheaper than buying another valve. You'd need two GPIO pins and careful design to not short circuiting the H-bridge.
I see. I have 4 valves for the system I want to make. I don't think my prototype board is large enough for 4 h bridges. Either I buy the other valves or some of these I suppose. https://www.tinytronics.nl/en/mechanics-and-actuators/motor-controllers-and-drivers/dc-motor-controllers-and-drivers/l298n-bipolar-stepper-motor-and-dc-motor-motor-controller
Thanks for the help btw ๐
Of course. Let me know how you're getting on.