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




37 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
  8. the Vcc and the GND should I connect at the 5v and the GND at the arduino board ?

    ReplyDelete
  9. Can u plzz give a better circuit diagram ...where there is a motor which is not shown here and a 9v battery ....is the 9v battery VCC here?

    ReplyDelete
  10. Cool Post, Interesting.. There are lot of Arduino MicroController Projects where you can take ideas for Final Year submission. Engineers Garage is also the website which is only for Electronics and Electrical Engineers. Where students can find various Projects ideas and tutorials on Micro controller, Electric Circuits and more. This is the good platform where you can post your projects. Its a very good portal for Electronics Projects for final year students. Visit :
    Engineers Garage

    ReplyDelete
  11. https://www.youtube.com/watch?v=siohAXjOdQo hey you can refer this also a complete video simulation of the project

    ReplyDelete
  12. The title of this article is:
    Arduino-Based Automatic Temperature Fan Speed Controller

    See where it says SPEED controller? Where in the code does it control the speed? Either I missed something, or your title is very misleading... Don't get me wrong, I applaud anyone who takes the time to try to explain any concept for others, but this article was not what it purported to be.
    Thanks for your effort, many do appreciate it.

    ReplyDelete
  13. what if i wanted to add a humiditiy and light sensor and want to show the results of the sensors on the screen can you help me please with the circut and the code ?

    ReplyDelete
  14. The energy efficiency is a big role of an HVAC unit. The article is well written and defining the core benefits of energy efficiency. Heating and Cooling Vaughan

    ReplyDelete
  15. I was wondering if you ever considered changing the layout of your website? Its very well written; I love what youve got to say. But maybe you could a little more in the way of content so people could connect with it better. Youve got an awful lot of text for only having 1 or two pictures. Maybe you could space it out better?
    mechanical engineering edmonton

    ReplyDelete
  16. Thanks for the great article and post. Need a Servo Stabilizer Manufacturers in Hyderabad, india? Don’t go beyond Servomax Limited “A popular Power transformers which offers an extensive range of exceptional Servo Voltage Stabilizers.
    Feel Free to contact.

    ReplyDelete
  17. The website is looking bit flashy and it catches the visitors eyes. Design is pretty simple and a good user friendly interface. hvac supply st joseph mo

    ReplyDelete
  18. Hai, can you share any website that use ultrasonic sensor to turn on the fan circuit by using arduino?

    ReplyDelete
  19. Best Selling Corsair Fans Controller in Uae, Commander Pro Fans Controller in Uae, Fans Controller in Uae
    https://gccgamers.com/computer-parts-compnents/corsair-commander-pro-fans-controller-cl-9011110-ww.html

    ReplyDelete