Go Down

Topic: Circuit Help-Controlling DC motor with temp sensor (Read 66 times) previous topic - next topic

davecheck

I am trying to run a basic program where a temperature sensor is used as a control to turn off my dc motor. However the temperature sensor keeps getting hit by voltage spikes from the motor turning on and running causing inaccurate temperature reading.

My question is how do I go about protecting my sensor from the motor

Circuit schematic http://imgur.com/Rdwbzlv

weedpharma

Decoupling capacitors across the motor and sensor. 0.1uF should do.

Weedpharma

MarkT

You should never run a motor from the 5V logic rail on the Arduino, that risks damage, not
just interference.

Separate motor supply.  Twisted pair for motor wiring and its supply.  Shielded cables for sensors.
Decouple at the sensor.
[ I will NOT respond to personal messages, I WILL delete them, use the forum please ]

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy