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.
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?