In this post, we will make a temperature based fan control using arduino and lm35. LM35 is temperature sensor, whose output is analog (linear). Arduino uno has six channle of adc (A0-A5)
and adc is of 10-bit
Stuff required:
Circuit Diagram |
Resolution = Vref/((2^n)-1) = 5000 (in mV)/1023 [2^10-1]
that comes out to be, 4.887 millivolts
For temperature calculation, Voltage (in millivolts)/10 [Sensitivity is 10mV per degree Celsius]
Source Code:
Download source code from link below
Watch the Video:
This comment has been removed by a blog administrator.
ReplyDeletehttps://www.youtube.com/watch?v=siohAXjOdQo hey you can refer this also a complete video simulation of the project
ReplyDeleteGREAT!!!!!!!!!!!!
ReplyDelete