Go Down

Topic: [SOLVED] DC motor affectring input voltage mesaurment from PHMeter (Read 1 time) previous topic - next topic

porlock

Hi i have a project that use 12V DC motor and PHmeter.

PH meter is connected to the analog input of Arduino, voltage the phmeter output correspond to the measured PH value. I also need to run 12V DC motor in this project, i want to use a transistor to handle this motor, unfortunately when I run motor voltage on PH Arduino AI  rise about 1V, i try to connect motor excluding transistor directly to the 12VDC power source (the same source powers Arduino on DCIN pin) in parallel to the Arduino, but effect it the same, when the motor starts voltage on arduino analog pin corresponding to the PH rise about 1V.

This is not a Arduino measurement issue because I measure voltage between Arduino AI and GND by multimeter and it actually rise about 1V, voltage between + and GNS remains constant. I connect a quick diode on a + line and 2 capitators (100µF and 100nF) between + and GND before Arduino DCIN and GND, then I run DC Motor in parallel before my filter and  this not help, 1V variation still occurs.

When I replace a DC motor with a resistance load problem does not occurs, so DC motor must generate disturbances on phmeter please help :( 



Paul_KD7HB

May be a high resistance ground connection somewhere. Are all grounds connected to a common point at the power supply? Leaving all the existing ground connections, add new ground wires from each component to the ground/negative terminal of the power supply. Measure voltages again and report.

Paul

TomGeorge

Hi,
Have you tried a 0.1uF capacitor across the terminals at the motor.
Does the motor need to reverse?

If not also place a diode such as 1N4004 or 1N4007 across the motor terminals.
The cathode end connected to the terminal that is connected to positive and the anode end connected to the terminal that will be negative when the pump is running.

This will suppress any noise at the source, that is the motor.

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?
Showing your gnd wiring and how it is connected.

Thanks .. Tom... :)
Everything runs on smoke, let the smoke out, it stops running....

porlock

Hi Tom
I put a 0.1uF like one photo in attachment, just like You suggested and it helps, thanks.

Now I have another problem with a relay module,  You guys are familiar with distortions filtering so I will be thankful if You see this post:

http://forum.arduino.cc/index.php?topic=442761.0

thanks in advance.

TomGeorge

Hi,
Good on the caps, can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?
OPs pic.

Show how you connected the transistor and what its part number is.

Thanks.. Tom... :) 
Everything runs on smoke, let the smoke out, it stops running....

porlock

Sure :-) but a DC motor case is solved, no i have a relay module distortion issue i put my foto of a board
in this topic

http://forum.arduino.cc/index.php?topic=442761.0

i add a relay module links also

Tom I think we shoud go to there to not mix this two cases.

TomGeorge

Hi,
We need a complete diagram. I'm sorry but this does not tell me any voltages or part numbers

Please a full diagram, including part numbers and power supply points.

Thanks.. Tom... :)
PS What do you mean by "module distortion"?
Everything runs on smoke, let the smoke out, it stops running....

porlock

This schema is a schema of "relay module" like this one:

https://pl.aliexpress.com/item/Hot-Sale-5V-1-One-Channel-Relay-Module-Low-level-for-SCM-Household-Appliance-Control-for/32316656858.html

transistor is 2TY
all 3 resistors are 1k
"+" and "-" on the top of schema are coil terminals
Like You see it have 3 pins at the bottom of schema.
VCC, GND and IN

VCC is connected to the 5V Arduino stabilized output, GND is GND and IN is Digital Output of Arduino.
When I turn on this module that is send "High" signal from Arduino Digital Output on "IN" pin of relay module I notice a 300mV voltage increase on Arduino Analog Input pin.

What do You think about putting 1uF capitator between "-" and "+"coil terminals on relay module ?

TomGeorge

Hi,
Is that diagram in my post #6 of the relay?
I need a diagram of your PCB you posted in the other thread.

The PCB shows DCin but only one track.

Thanks.  Tom.. :)
Everything runs on smoke, let the smoke out, it stops running....

porlock

Ok, now i get it ..

pls find proper shema in atachment.

Only a "Heat Relay" and "PH" pins are connected, i disconnect all other plugs to not affect the circuit.

I supply all from stabilized 12V DC PSU.

When I turn on Digital Output to "Heat Relay" that is send "High" signal from Arduino Digital (D3) Output on "IN" pin of relay module I notice a 300mV voltage increase on Arduino Analog Input (A1) on "PH" pin.



TomGeorge

Hi,

  • What arduino controller are you using?
  • Did you breadboard it as a prototype?
  • Did you have a working project before you went to PCB?
  • Have you got the controller working on its internal oscillator, because I see no crystal and caps for external clock.
  • Can you tell us your electronics, programming, arduino, hardware experience?


Thanks.. Tom... :)
Everything runs on smoke, let the smoke out, it stops running....

TomGeorge

Hi,
I just see, you are using a Nano.

Where do you convert your  12V to 5V, circuit please.


Quote
When I turn on Digital Output to "Heat Relay" that is send "High" signal from Arduino Digital (D3) Output on "IN" pin of relay module I notice a 300mV voltage increase on Arduino Analog Input (A1) on "PH" pin.
What does your 5V supply measure while this is happening, I agree with Paul, your gnd circuit needs more copper  and logical layout minimise voltage drops.

Tom... :)
Everything runs on smoke, let the smoke out, it stops running....

porlock

12V line is connected to the VIN on Arduino and DC relay module i powered from 5V DC Output from Arduino.
5 V line is from Arduino stabilised output, and 12 V from stabilised DC PSU.

porlock

And i check voltage rise on +5V line too when relay module is on.

porlock

Thanks to ricky101 we figure out that problem is on Arduino Nano internal +5V stabilisation, so I use external 5V DC stabiliser to power relay coil and Digital output from Arduino to drive a relay module transistor, and it works now fine. Thank all for Your involvement.

Go Up