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
 

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Name:
Email:

shortcuts: alt+s submit/post or alt+p preview