<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Interfacing Temperature Sensor &#8211; LM35</title>
	<atom:link href="http://extremeelectronics.co.in/avr-tutorials/interfacing-temperature-sensor-lm35/feed/" rel="self" type="application/rss+xml" />
	<link>http://extremeelectronics.co.in/avr-tutorials/interfacing-temperature-sensor-lm35/</link>
	<description></description>
	<lastBuildDate>Sat, 19 May 2012 21:55:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Mike</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/interfacing-temperature-sensor-lm35/comment-page-1/#comment-32395</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Sun, 13 Nov 2011 18:33:03 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=25#comment-32395</guid>
		<description>Hello. Could you post a tutorial in which a LM35 sensor can measure negative temperatures.
 Thanks.</description>
		<content:encoded><![CDATA[<p>Hello. Could you post a tutorial in which a LM35 sensor can measure negative temperatures.<br />
 Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: real values in 7-segment</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/interfacing-temperature-sensor-lm35/comment-page-1/#comment-28342</link>
		<dc:creator>real values in 7-segment</dc:creator>
		<pubDate>Mon, 12 Sep 2011 07:33:54 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=25#comment-28342</guid>
		<description>[...] it will be shown in the display.  Take a look at the following project to understand what I mean Interfacing Temperature Sensor with AVR Microcontrollers - LM35 &#124; eXtreme Electronics      *** Respect the forum rules ***  No duplicate posts - No SMS typing - No signature links - No [...]</description>
		<content:encoded><![CDATA[<p>[...] it will be shown in the display.  Take a look at the following project to understand what I mean Interfacing Temperature Sensor with AVR Microcontrollers &#8211; LM35 | eXtreme Electronics      *** Respect the forum rules ***  No duplicate posts &#8211; No SMS typing &#8211; No signature links &#8211; No [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Help for interfacing LM35 on atmega16</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/interfacing-temperature-sensor-lm35/comment-page-1/#comment-24650</link>
		<dc:creator>Help for interfacing LM35 on atmega16</dc:creator>
		<pubDate>Sun, 26 Jun 2011 08:33:36 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=25#comment-24650</guid>
		<description>[...] an integer in your case a simple read_adc(1)/2 can give the temperature (5v reference), take a look Interfacing Temperature Sensor with AVR Microcontrollers - LM35 &#124; eXtreme Electronics  When you want to use the float version of sprintf go to project -&gt; configure -&gt; c compiler [...]</description>
		<content:encoded><![CDATA[<p>[...] an integer in your case a simple read_adc(1)/2 can give the temperature (5v reference), take a look Interfacing Temperature Sensor with AVR Microcontrollers &#8211; LM35 | eXtreme Electronics  When you want to use the float version of sprintf go to project -&gt; configure -&gt; c compiler [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Using the Analog To Digital Converter. &#124; eXtreme Electronics</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/interfacing-temperature-sensor-lm35/comment-page-1/#comment-22405</link>
		<dc:creator>Using the Analog To Digital Converter. &#124; eXtreme Electronics</dc:creator>
		<pubDate>Thu, 02 Jun 2011 05:05:15 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=25#comment-22405</guid>
		<description>[...] Interfacing Temperature Sensor LM35 [...]</description>
		<content:encoded><![CDATA[<p>[...] Interfacing Temperature Sensor LM35 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SAV</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/interfacing-temperature-sensor-lm35/comment-page-1/#comment-21731</link>
		<dc:creator>SAV</dc:creator>
		<pubDate>Mon, 16 May 2011 17:26:55 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=25#comment-21731</guid>
		<description>I agree with Munish and appreciate him for pointing out the mistake coz I had found myself in &quot;exactly&quot; the same problem when I was using 3 ldr,led line follwoing sensors at PORTA and I spend entire day debugging it and unfortunately I could&#039;nt find out the mistake.So I had to use opamps and pots to make sensor unit and do maula tuning instead of using adc..</description>
		<content:encoded><![CDATA[<p>I agree with Munish and appreciate him for pointing out the mistake coz I had found myself in &#8220;exactly&#8221; the same problem when I was using 3 ldr,led line follwoing sensors at PORTA and I spend entire day debugging it and unfortunately I could&#8217;nt find out the mistake.So I had to use opamps and pots to make sensor unit and do maula tuning instead of using adc..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avinash</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/interfacing-temperature-sensor-lm35/comment-page-1/#comment-18692</link>
		<dc:creator>Avinash</dc:creator>
		<pubDate>Fri, 11 Mar 2011 03:48:25 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=25#comment-18692</guid>
		<description>&lt;strong&gt;@Pratik

Why would anyone do so for you?&lt;/strong&gt;</description>
		<content:encoded><![CDATA[<p><strong>@Pratik</p>
<p>Why would anyone do so for you?</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Using Analog to Digital Converter – PIC Microcontroller Tutorial &#124; eXtreme Electronics</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/interfacing-temperature-sensor-lm35/comment-page-1/#comment-10744</link>
		<dc:creator>Using Analog to Digital Converter – PIC Microcontroller Tutorial &#124; eXtreme Electronics</dc:creator>
		<pubDate>Wed, 21 Jul 2010 07:39:42 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=25#comment-10744</guid>
		<description>[...] Interfacing Temperature Sensor LM35 [...]</description>
		<content:encoded><![CDATA[<p>[...] Interfacing Temperature Sensor LM35 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MUNISH</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/interfacing-temperature-sensor-lm35/comment-page-1/#comment-8696</link>
		<dc:creator>MUNISH</dc:creator>
		<pubDate>Fri, 14 May 2010 05:51:09 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=25#comment-8696</guid>
		<description>then atleast you should add a caveat that do not use this code for more than 1 channels! or better yet update the code itself. its just 1 line ! this can be just a matter of laziness to you or me but think about a newbie who would be totally clueless about it. if you decide to &#039;guide&#039; newbies, you must assume minimum responsibilities like these. anyways i appriciate your efforts otherwise</description>
		<content:encoded><![CDATA[<p>then atleast you should add a caveat that do not use this code for more than 1 channels! or better yet update the code itself. its just 1 line ! this can be just a matter of laziness to you or me but think about a newbie who would be totally clueless about it. if you decide to &#8216;guide&#8217; newbies, you must assume minimum responsibilities like these. anyways i appriciate your efforts otherwise</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avinash</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/interfacing-temperature-sensor-lm35/comment-page-1/#comment-8692</link>
		<dc:creator>Avinash</dc:creator>
		<pubDate>Fri, 14 May 2010 03:00:49 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=25#comment-8692</guid>
		<description>&lt;strong&gt;@Munish
I knew the bug in above code but due to laziness did not updated the code!

The correct code can be found in this article
http://extremeelectronics.co.in/robotics/obstacle-avoiding-robot-using-avr-atmega32-%e2%80%93-part-ii/&lt;/strong&gt;</description>
		<content:encoded><![CDATA[<p><strong>@Munish<br />
I knew the bug in above code but due to laziness did not updated the code!</p>
<p>The correct code can be found in this article<br />
<a href="http://extremeelectronics.co.in/robotics/obstacle-avoiding-robot-using-avr-atmega32-%e2%80%93-part-ii/" rel="nofollow">http://extremeelectronics.co.in/robotics/obstacle-avoiding-robot-using-avr-atmega32-%e2%80%93-part-ii/</a></strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Munish</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/interfacing-temperature-sensor-lm35/comment-page-1/#comment-8679</link>
		<dc:creator>Munish</dc:creator>
		<pubDate>Thu, 13 May 2010 10:32:29 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=25#comment-8679</guid>
		<description>Hi Avinash,

There&#039;s a flaw. your code will work fine UNLESS one doesnt use more than 1 channel in a row.

uint16_t ReadADC(uint8_t ch)
{
   //Select ADC Channel ch must be 0-7
   ch=ch&amp;0b00000111;
   ADMUX&#124;=ch;    //&gt;&gt;&gt; This is just wrong!!!
   .
   .
}
imagine you read channel 2 after ch 1, then with your code ch 1 to ADMUX would still be written there since you havent cleared it &amp; you would be just &#039;appending&#039; ch 2 to ADMUX, so you end up reading channel 3! (If one uses a loop to cycle thru channels, then ultimately he would always get value from channel 7)

This is enough to give a newbie headache worth of days if he decides to upgrade to &gt;1 channels. I wonder no one has seen this yet. 

Use this instead:
ADMUX=(ADMUX &amp; 0xF0)&#124;ch;

Similarly, I would suggest changing
    void InitADC()
    {
       ADMUX=(1&lt;&lt;REFS0);// For Aref=AVcc;
       ADCSRA=(1&lt;&lt;ADEN)&#124;(7&lt;&lt;ADPS0);
    }
to
  void ADC_init(void)
{
   ADMUX = (ADMUX &amp; ~(1&lt;&lt;REFS1)) &#124; (1&lt;&lt;REFS0); // For Aref = AVcc	
ADCSRA &#124;=(1&lt;&lt;ADEN)&#124;(1&lt;&lt;ADPS2)&#124;(1&lt;&lt;ADPS1)&#124;(1&lt;&lt;ADPS0);		 //slowest possible rate
}

which I think is the proper way.</description>
		<content:encoded><![CDATA[<p>Hi Avinash,</p>
<p>There&#8217;s a flaw. your code will work fine UNLESS one doesnt use more than 1 channel in a row.</p>
<p>uint16_t ReadADC(uint8_t ch)<br />
{<br />
   //Select ADC Channel ch must be 0-7<br />
   ch=ch&amp;0b00000111;<br />
   ADMUX|=ch;    //&gt;&gt;&gt; This is just wrong!!!<br />
   .<br />
   .<br />
}<br />
imagine you read channel 2 after ch 1, then with your code ch 1 to ADMUX would still be written there since you havent cleared it &amp; you would be just &#8216;appending&#8217; ch 2 to ADMUX, so you end up reading channel 3! (If one uses a loop to cycle thru channels, then ultimately he would always get value from channel 7)</p>
<p>This is enough to give a newbie headache worth of days if he decides to upgrade to &gt;1 channels. I wonder no one has seen this yet. </p>
<p>Use this instead:<br />
ADMUX=(ADMUX &amp; 0xF0)|ch;</p>
<p>Similarly, I would suggest changing<br />
    void InitADC()<br />
    {<br />
       ADMUX=(1&lt;&lt;REFS0);// For Aref=AVcc;<br />
       ADCSRA=(1&lt;&lt;ADEN)|(7&lt;&lt;ADPS0);<br />
    }<br />
to<br />
  void ADC_init(void)<br />
{<br />
   ADMUX = (ADMUX &amp; ~(1&lt;&lt;REFS1)) | (1&lt;&lt;REFS0); // For Aref = AVcc<br />
ADCSRA |=(1&lt;&lt;ADEN)|(1&lt;&lt;ADPS2)|(1&lt;&lt;ADPS1)|(1&lt;&lt;ADPS0);		 //slowest possible rate<br />
}</p>
<p>which I think is the proper way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avinash</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/interfacing-temperature-sensor-lm35/comment-page-1/#comment-8529</link>
		<dc:creator>Avinash</dc:creator>
		<pubDate>Sat, 01 May 2010 10:29:15 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=25#comment-8529</guid>
		<description>&lt;strong&gt;@Jon
Yes you can use itoa() function. Or write a function to convert int to string.&lt;/strong&gt;</description>
		<content:encoded><![CDATA[<p><strong>@Jon<br />
Yes you can use itoa() function. Or write a function to convert int to string.</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/interfacing-temperature-sensor-lm35/comment-page-1/#comment-8528</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Sat, 01 May 2010 10:10:46 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=25#comment-8528</guid>
		<description>Hello Avinash and electronics enthusiasts,
I&#039;m curious how to display temperature not in seven segment displays, but simply on Hyperterminal. Of course I understand that it&#039;s necessary convert character to string, but I have no idea how to display digits... Should I use itoa() function? 

Thanks for any comments

Regards,
Jon</description>
		<content:encoded><![CDATA[<p>Hello Avinash and electronics enthusiasts,<br />
I&#8217;m curious how to display temperature not in seven segment displays, but simply on Hyperterminal. Of course I understand that it&#8217;s necessary convert character to string, but I have no idea how to display digits&#8230; Should I use itoa() function? </p>
<p>Thanks for any comments</p>
<p>Regards,<br />
Jon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mayank</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/interfacing-temperature-sensor-lm35/comment-page-1/#comment-8472</link>
		<dc:creator>Mayank</dc:creator>
		<pubDate>Tue, 27 Apr 2010 14:15:01 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=25#comment-8472</guid>
		<description>Hey,
    I have a question. If I am using LM35 with ATMEGA8, do i need a voltage divider or something to amplify the voltage coming from the LM35 or can it detect the changes in temperature on its own?

Regards,
Mayank.</description>
		<content:encoded><![CDATA[<p>Hey,<br />
    I have a question. If I am using LM35 with ATMEGA8, do i need a voltage divider or something to amplify the voltage coming from the LM35 or can it detect the changes in temperature on its own?</p>
<p>Regards,<br />
Mayank.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tapan</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/interfacing-temperature-sensor-lm35/comment-page-1/#comment-8290</link>
		<dc:creator>Tapan</dc:creator>
		<pubDate>Mon, 05 Apr 2010 16:41:19 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=25#comment-8290</guid>
		<description>hello
nice tutorial
am interfacing nte7052 7 segment display which has input current rating of 160 mA. where as the output current of 4511 is only 25mA.
Do I need amplification somewhere in the circuit?
Please provide the transistor number or ic number and the circuit</description>
		<content:encoded><![CDATA[<p>hello<br />
nice tutorial<br />
am interfacing nte7052 7 segment display which has input current rating of 160 mA. where as the output current of 4511 is only 25mA.<br />
Do I need amplification somewhere in the circuit?<br />
Please provide the transistor number or ic number and the circuit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sayantan</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/interfacing-temperature-sensor-lm35/comment-page-1/#comment-8289</link>
		<dc:creator>Sayantan</dc:creator>
		<pubDate>Mon, 05 Apr 2010 12:28:14 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=25#comment-8289</guid>
		<description>ok,now I have reduced the flickering by vanishing the bc557 transistor frm the circuit,and it looks fine without any flickering.But I know that it may be harmfull to mcu to connect
the display directly to the port,as it can make oveload.So I have to put the transistors again in the circuit.Now my question is what is the reason behind that flickering behaviour of transistors,is that for their internal delay or anything else?Still wating for any further assistance to reduce the flickering and get a perfect steady display.Thanx.</description>
		<content:encoded><![CDATA[<p>ok,now I have reduced the flickering by vanishing the bc557 transistor frm the circuit,and it looks fine without any flickering.But I know that it may be harmfull to mcu to connect<br />
the display directly to the port,as it can make oveload.So I have to put the transistors again in the circuit.Now my question is what is the reason behind that flickering behaviour of transistors,is that for their internal delay or anything else?Still wating for any further assistance to reduce the flickering and get a perfect steady display.Thanx.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sayantan</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/interfacing-temperature-sensor-lm35/comment-page-1/#comment-8236</link>
		<dc:creator>Sayantan</dc:creator>
		<pubDate>Thu, 01 Apr 2010 08:19:30 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=25#comment-8236</guid>
		<description>thnx for your ans,bt can you pls tell me how to set fuse bit low &amp; high as ff &amp; c9 respectively?</description>
		<content:encoded><![CDATA[<p>thnx for your ans,bt can you pls tell me how to set fuse bit low &amp; high as ff &amp; c9 respectively?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avinash</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/interfacing-temperature-sensor-lm35/comment-page-1/#comment-8205</link>
		<dc:creator>Avinash</dc:creator>
		<pubDate>Tue, 30 Mar 2010 00:58:19 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=25#comment-8205</guid>
		<description>@Sayantan
To reduce flickering set fuse bit as
Low = ff
High = c9</description>
		<content:encoded><![CDATA[<p>@Sayantan<br />
To reduce flickering set fuse bit as<br />
Low = ff<br />
High = c9</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sayantan</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/interfacing-temperature-sensor-lm35/comment-page-1/#comment-8203</link>
		<dc:creator>Sayantan</dc:creator>
		<pubDate>Mon, 29 Mar 2010 18:42:37 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=25#comment-8203</guid>
		<description>bt how to manage the flickering of the display?pls give details.......otherwise its ok,program is allright.</description>
		<content:encoded><![CDATA[<p>bt how to manage the flickering of the display?pls give details&#8230;&#8230;.otherwise its ok,program is allright.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: swati</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/interfacing-temperature-sensor-lm35/comment-page-1/#comment-7341</link>
		<dc:creator>swati</dc:creator>
		<pubDate>Fri, 26 Mar 2010 06:03:39 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=25#comment-7341</guid>
		<description>hi Avinash,
 i am doing the project using humidity sensor HTF3226 its o/p is in frequency so can u help me to display humidity on lcd</description>
		<content:encoded><![CDATA[<p>hi Avinash,<br />
 i am doing the project using humidity sensor HTF3226 its o/p is in frequency so can u help me to display humidity on lcd</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Norberto Oldfield</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/interfacing-temperature-sensor-lm35/comment-page-1/#comment-3594</link>
		<dc:creator>Norberto Oldfield</dc:creator>
		<pubDate>Tue, 16 Feb 2010 10:47:44 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=25#comment-3594</guid>
		<description>Hey, was just looking through your web site and decided to add the RSS feed, however it&#039;s not working with my webbrowser (I am viewing it with Opera) any kinda way to get around this?</description>
		<content:encoded><![CDATA[<p>Hey, was just looking through your web site and decided to add the RSS feed, however it&#8217;s not working with my webbrowser (I am viewing it with Opera) any kinda way to get around this?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Database Caching 12/36 queries in 0.010 seconds using apc
Object Caching 548/554 objects using disk: basic

Served from: extremeelectronics.co.in @ 2012-05-22 08:20:01 -->
