I have a small project where I will control a 12VDC motor with IRLZ44N MosFet and measure the output. Individually, they work perfectly. But when I connect the minus pole to the voltage measure, the MosFet goes high, how come?
Hope to get some help.
I don't understand what you're saying, can you rephrase it clearer?
Oh, and you have A0 tied to ground.
It would help us understand if you could redraw your schematic in a more conventional way, with ground at the bottom, +12V at the top? I'm trying to mentally rearrange it in my head...
No, the IRLZ is there irelevant.
You have path
12V+ - motor - GND - GND - 12V-
and it simply connects motor to the 12V battery.
Hi, @pela1402
Welcome to the forum.
Can you show us with some inages what your project looks like and where you are connecting the voltmeter?
The gnd connected to the 7K5 resistor is causing your problem, why is gnd connected there?
You do have your DMM in voltage mode and not current?
Is the 30k and 7K5 acting as a potential divider to measure battery volts.
If so this is what you should have;
Thanks.. Tom....
![]()
Hi, @pela1402
What model Arduino controller are you using?
Thanks for a clear schematic, here is it redrawn in a more standard layout with the A0 potential divider correction, measuring the battery voltage at A0.
If you want to measure the voltage at the motor;
Tom....
![]()
I have a Arduino Uno R3 ATmega328
now you have R3 -grnd-grnd , R4 - A0 - 12VOLTS ..........YIKES ![]()
@TomGeorge GOT IT RIGHT !
The output of what?
Maybe if you explain exactly what you want to measure, you may receive some more useful suggestions.
Maybe if you explain exactly what you want to measure, you may receive some more useful suggestions.
First of all, I am a beginner with Arduino and English is not my native language, but I can understand that you are very skilled, so I will ask you to bear with my lack of skills.
That said, I think TomGeorge has solved my problem and I will test it when I get home.
OK, no hurry.
Hi,
I think you mean D9 not A9 as the PWM output pin.
Tom....
![]()
Yes of course stupid me ![]()
Thanks TomGeorge
Now connected according to TomGeorge drawing and it works of cause perfectly - thanks!
Hi, @pela1402
Good to hear.
What are you aiming to measure with A0, battery voltage or motor voltage?
Tom....
![]()





