Pages: [1]   Go Down
Author Topic: controllin dc motor with lm35 using arduino.  (Read 2767 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Sussex UK / CT USA
Offline Offline
Edison Member
*
Karma: 0
Posts: 1028
Forums forever
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 596
Posts: 33288
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

For motors you will need some hardware to drive them. See:-
http://www.thebox.myzen.co.uk/Workshop/Motors_1.html
Logged

Pages: [1]   Go Up
Jump to: