Hi,
To automatically water my plants, I want to combine a soil humidity meter and water pump. I started with the water pump. I've built the exact same circuit as in chapter 9 of the starter kit tutorials: arduino pin 9 to transistor gate (using the irf520 that came with the kit), drain to motor end 1, source to (shared) ground, reverse diode between motor end 1 and end 2. built exactly like the picture.
My software only writes pin 9 high and low with a 1 second interval, so I know that should work.
However, I have the following problems:
- the motor may spin continuously
- the motor spins even if the arduino isn't powered (!) so there is no power on the transistor (this is my main issue; how the hell does the current flow?)
- the whole thing seems extremely sensitive to static electricity; when I pick up the motor or feel the transistor (which 4. gets extremely hot in about 5 seconds, even when the arduino is not powered) this affects how fast the motor is spinning.
I've lost it, I'm pretty handy with arduino but in this case I just can't figure it out. built the whole circuit from scratch 3 times. used different motors, batteries, transistors, diodes. nothing.
the motor is rated 7.2 volts, 3 to 9v max. I'm giving it 9 volts, either through 9v battery or through a wall adapter that can provide 0.6 amps, both not working.
thanks!