Dear all I've made water pump control scheme on MOSFET transistor (see scheme below) but it runs once I am powering my board.
But this isn't worse - as I use arduino to water my flowers by schedule. And water pump starts running at night I've checked code - nothing to show that this is an error in code.
weedpharma:
The purpose of the R from G to Gnd is to discharge the gate capacitor. The control port would be low so it would discharge via the R1.
Have you tried a different port to confirm the port is ok?
Have you measured the voltage on the output pin?
A clear close up photo of your connections may help.
Weedpharma
No I haven't tried another port. But I've measured voltage and it's 4,6V when it's HIGH.
I've made photos but they are not so good I think.
TomGeorge:
Hi, what is the voltage and current rating of the motor.
Can the motor run on the 12V 1A supply on its own?
Have you got any bypassing on the board you have built?
Have you written a simple code just to turn your motor on and off.
Did you write the sketch, which can be attached to your post if you use REPLY rather than QUICK REPLY, all at once or did you build it stage by stage?
Tom....
Hi, Tom. As I wrote seems like I've found the solution - pull down resistor.
Motor can run 5-10V. But don't know current - bought on DX.com.
Have you got any bypassing on the board you have built?
I don't understand the question.
But yes, I've tried simple code and it works.
Did you write the sketch, which can be attached to your post if you use REPLY rather than QUICK REPLY, all at once or did you build it stage by stage?
I don't understand the question.