there. Well I am have trying to connect my arduino to a water pump (5V DC).
The problem is, I cant wrap my head around how to connect it to a power supply, can I use my old Nokias phone charger as power supply? Its 5v.
This is sort of a pump like I have https://www.banggood.com/Machifit-JT80SL-DC-3-6V-Water-Pump-120LH-Ultra-quiet-Micro-Horizontal-Submersible-Mini-Water-Pump-p-1348608.html?rmmds=buy&cur_warehouse=CN
Just mine is 5v.
I have red and black wire, what should I connect to my phone charger?
I tried connecting it directly to arduino but it doesnt seem to work.
And if I connect it to my phone charger like that, what do i do with the 2nd wire?
And at the end, main concern is, how do I keep it turned on and off? How do i make a switch so it knows when and when not to work with arduino?
how to power a motor
.... there are many examples on the web about motors – jsotola Sep 23 '19 at 14:16