Difference between revisions of "Microduino Design of Laptop Computer Intelligence Base"

From Microduino Wiki
Jump to: navigation, search
(Created page with "{| style="width: 800px;" |- | ==Objective== This tutorial will teach you how to control the rotation of fan with the temperature, to realize the design of a laptop computer...")
 
(Program)
 
Line 39: Line 39:
  
 
==Program==
 
==Program==
 
https://github.com/Microduino/Microduino_Tutorials/blob/master/Microduino_Advanced_Tutorial/MicroduinoTempContrlFan.rar
 
  
 
==Debugging==
 
==Debugging==

Latest revision as of 06:41, 3 August 2016


Objective

This tutorial will teach you how to control the rotation of fan with the temperature, to realize the design of a laptop computer intelligence base.

Equipment

Module Number Function
Microduino-Core 1 Core board
Microduino-USBTTL 1 Program download


  • Other equipment
5v DC fan 1
Bread board jumper 1 box
micro USB cable 1
LM35 temperature sensor 1

Schematic Diagram

TempControlFanSechmatic.png


Program

Debugging

Step 1:Find out a fan, new or old one. I use the fan removed from my old laptop computer, which is a DC 5V 0.32A fan. Make some little changes to the pins, and it will be suitable to be inserted in the bread board, just like this:

TempControlFan1.png
TempControlFan2.png


Step 2:Build the circuit like this according to the schematic diagram:

TempControlFan3.png


Step 3:Download the code and compile and run it. At this time if the fan doesn’t rotate, the temperature it detects is lower than 23 degrees, which is the initial value. You can exhale toward the temperature sensor, and the fan may rotate. The higher the temperature, the faster the speed of rotation.


Step 4:Find a way to use it to cool down your laptop computer, and use a simple bed table to support it:

TempControlFan4.png


Make the sensor and the fan as close as you can to the bottom of your computer around the CPU:

TempControlFan5.png
TempControlFan6.png

Result

This laptop computer intelligence base can control the temperature and supply power through USB too.

Video