Go Down

Topic: controllin dc motor with lm35 using arduino. (Read 2 times) previous topic - next topic

sriworldpeace

hello,
                  i want to write a program to control dc motor using lm 35.  for first time, if temp reaches 75 the motor should be stopped..then from next loop if temp is less than 55 , motor should be on..pls help me out..i dont know programming in arduino.. :smiley-slim:

tkbyd

Split the problem into it's two parts....

Write a program to turn the motor on and off as you press a button.

Write a program to turn an LED on and off, depending on the temperature seen.

Once those are working, blending them into a single program is relatively easy.

For a course on Arduino programming...

http://sheepdogguides.com/arduino/FA1main.htm

Grumpy_Mike


Go Up