Arduino-based Automatic Temperature Fan Speed Controller

By
Advertisement
In many small or large industry, you may have seen such a lot of fan that speed is control according to the temperature of the place. Thus, during this article, we have presented a demo of that application. It's assumed that you have an idea of how to read reading from the temperature sensor IC. In industry
temperature range will be more than 100 oC  but here we will work on the very low range.
Block diagram of Temperature control FAN

block diagram of temperature control fan using arduino board
Block Diagram
Required Components 
  1. Arduino UNO board (buy from here arduino )
  2. Temperature sensor IC LM35( buy from here LM35 sensor )
  3. DC Fan
  4. resistor 1* 1K
  5. 16*2 LCD Display
  6. Power supply  
  7. Diode(1N4007) 
Circuit Diagram 
In this application, we use an arduino board to control the speed of the fan and a 16*2 LCD display to display the status of the fan. Here we use a diode in parallel with FAN to prevent it from the damage and a 9V battery to provide power to the fan.

circuit diagram of arduino based temperature control fan
Circuit Diagram
Code
Again like our previous projects, code for this projects is also very simple. Here we use an analogRead() function to get the value of temperature sensor and store that value in the variable.When this value will exceed the min_temp value then the fan will start otherwise its always off. Download the file to get the source code of this projects along with its circuit diagram.
source code of arduino based temperature control fan
Source Code
Download
In the below link you will get all the file required for this projects.

Video Demonstration




17 comments:

  1. how do I right the code for the temp in Celsius, and i wish an led and the fan to come on when a certain temp is reached, really new to arduino and any help would be hugely helpful.

    ReplyDelete
    Replies
    1. Hii LUKE
      Visit at this link http://projectsdunia.blogspot.in/2015/01/digital-thermometer-with-arduino-uno.html to know how to write code for temp in celsius and turn on a led and fan when a certain temp is reached.

      Delete
  2. How did you connect your motor to the supply because its not shown and the lm35.

    ReplyDelete
    Replies
    1. Thanks for reading this article .
      There are three pin in lm35 Vcc, Gnd and output pin. connect all these pin as written in this article. Keep Learning and keep visiting for more totorials. :)

      Delete
    2. Hi sir,
      Am interested to work on this project.i am new to Arduino.can you give the source codes of this project?

      Delete
    3. Hi SUKANYA MG,

      you can find the source code in the download section of the article but i would suggest you that if you can write its coding yourself then its good for you. Keep Learning...

      Delete
  3. is anyone have fritzing of that i have a project in my school and i don't have any idea this thing look great please give me the steps

    ReplyDelete
    Replies
    1. Hii tanveer,
      Its feels good that you like this article. Go with this tutorial and try to make it by your own and I am sure you will get success in this. I would suggest you that first try to make it by yourself. :) Keep Visiting

      Delete
    2. Thanks a lot man that day when you told me (try to make it by your own) i tried 100% succeed now arduino is very easy for me. Now i'm working on MikroCPIC

      Delete
    3. Hi Tanveer

      I am glad that its work for you. In future, if you have any doubt then you can contact me. Recently I am working on my new blog www.codesquery.com Have a look on this and keep learning and sharing knowledge.

      Delete
  4. Replies
    1. could you please explain what do you want to ask

      Delete
  5. I want a program for controlling fan speed using arduino uno . I am sensing temperature using LM35 and through that Controlling it in presence of any movement of person only.

    ReplyDelete
    Replies
    1. have a look on this http://projectsdunia.blogspot.in/2015/03/arduino-based-automatic-temperature-fan.html

      Delete
  6. Really, this post is very informative. These are some useful tips about fan controller.i like it but acparts distribotors offers best Fan Controller in your range.

    ReplyDelete
  7. How to connect the battery with the fan

    ReplyDelete