controllin dc motor with lm35 using arduino.

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.. :relaxed:

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...

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