<?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: Using IR remote with AVR MCUs &#8211; Part II</title>
	<atom:link href="http://extremeelectronics.co.in/code-libraries/using-ir-remote-with-avr-mcus-part-ii/feed/" rel="self" type="application/rss+xml" />
	<link>http://extremeelectronics.co.in/code-libraries/using-ir-remote-with-avr-mcus-part-ii/</link>
	<description></description>
	<lastBuildDate>Wed, 08 Feb 2012 03:41:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Kasamiko</title>
		<link>http://extremeelectronics.co.in/code-libraries/using-ir-remote-with-avr-mcus-part-ii/comment-page-1/#comment-38023</link>
		<dc:creator>Kasamiko</dc:creator>
		<pubDate>Fri, 27 Jan 2012 07:54:49 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=53#comment-38023</guid>
		<description>Sorry but it was never taught in medicine school...</description>
		<content:encoded><![CDATA[<p>Sorry but it was never taught in medicine school&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avinash</title>
		<link>http://extremeelectronics.co.in/code-libraries/using-ir-remote-with-avr-mcus-part-ii/comment-page-1/#comment-38021</link>
		<dc:creator>Avinash</dc:creator>
		<pubDate>Fri, 27 Jan 2012 06:23:59 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=53#comment-38021</guid>
		<description>6th year of schooling.</description>
		<content:encoded><![CDATA[<p>6th year of schooling.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kasamiko</title>
		<link>http://extremeelectronics.co.in/code-libraries/using-ir-remote-with-avr-mcus-part-ii/comment-page-1/#comment-38020</link>
		<dc:creator>Kasamiko</dc:creator>
		<pubDate>Fri, 27 Jan 2012 03:23:07 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=53#comment-38020</guid>
		<description>I&#039;m sorry but what is &quot;6th standard&quot;?</description>
		<content:encoded><![CDATA[<p>I&#8217;m sorry but what is &#8220;6th standard&#8221;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avinash</title>
		<link>http://extremeelectronics.co.in/code-libraries/using-ir-remote-with-avr-mcus-part-ii/comment-page-1/#comment-38007</link>
		<dc:creator>Avinash</dc:creator>
		<pubDate>Thu, 26 Jan 2012 03:17:47 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=53#comment-38007</guid>
		<description>@Kasamiko

&quot;BTW I want to change the display code to HEX, any idea to convert it to HEX before being displayed on LCD?&quot;

Pal those things are taught in 6th standard!</description>
		<content:encoded><![CDATA[<p>@Kasamiko</p>
<p>&#8220;BTW I want to change the display code to HEX, any idea to convert it to HEX before being displayed on LCD?&#8221;</p>
<p>Pal those things are taught in 6th standard!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kasamiko</title>
		<link>http://extremeelectronics.co.in/code-libraries/using-ir-remote-with-avr-mcus-part-ii/comment-page-1/#comment-38004</link>
		<dc:creator>Kasamiko</dc:creator>
		<pubDate>Wed, 25 Jan 2012 20:04:58 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=53#comment-38004</guid>
		<description>Hi Avinash,

I finally got it working...thank you so much for posting such a great tutorial...

BTW I want to change the display code to HEX, any idea to convert it to HEX before being displayed on LCD?

BR</description>
		<content:encoded><![CDATA[<p>Hi Avinash,</p>
<p>I finally got it working&#8230;thank you so much for posting such a great tutorial&#8230;</p>
<p>BTW I want to change the display code to HEX, any idea to convert it to HEX before being displayed on LCD?</p>
<p>BR</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kasamiko</title>
		<link>http://extremeelectronics.co.in/code-libraries/using-ir-remote-with-avr-mcus-part-ii/comment-page-1/#comment-37962</link>
		<dc:creator>Kasamiko</dc:creator>
		<pubDate>Sun, 22 Jan 2012 05:18:39 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=53#comment-37962</guid>
		<description>Hi,

Where can I find the schematic for the code above?

TIA</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Where can I find the schematic for the code above?</p>
<p>TIA</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jayakrishna</title>
		<link>http://extremeelectronics.co.in/code-libraries/using-ir-remote-with-avr-mcus-part-ii/comment-page-1/#comment-37935</link>
		<dc:creator>jayakrishna</dc:creator>
		<pubDate>Fri, 20 Jan 2012 03:38:22 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=53#comment-37935</guid>
		<description>please tell the remote model,i have receiver but not remote</description>
		<content:encoded><![CDATA[<p>please tell the remote model,i have receiver but not remote</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avinash</title>
		<link>http://extremeelectronics.co.in/code-libraries/using-ir-remote-with-avr-mcus-part-ii/comment-page-1/#comment-28320</link>
		<dc:creator>Avinash</dc:creator>
		<pubDate>Sun, 11 Sep 2011 11:53:35 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=53#comment-28320</guid>
		<description>&lt;strong&gt;@Halfgaar

I wrote the lib many years back when I was new in this field. So their may be many faults (but NOT bugs).

I still use the lib in many projects but never required any modification to the actual lib.&lt;/strong&gt;</description>
		<content:encoded><![CDATA[<p><strong>@Halfgaar</p>
<p>I wrote the lib many years back when I was new in this field. So their may be many faults (but NOT bugs).</p>
<p>I still use the lib in many projects but never required any modification to the actual lib.</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Halfgaar</title>
		<link>http://extremeelectronics.co.in/code-libraries/using-ir-remote-with-avr-mcus-part-ii/comment-page-1/#comment-28316</link>
		<dc:creator>Halfgaar</dc:creator>
		<pubDate>Sun, 11 Sep 2011 09:44:11 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=53#comment-28316</guid>
		<description>Hi,

I&#039;m trying to re-implement your lib to learn and to suit my slightly different needs. Anyway, I found a few things that may be helpful.

I think there is a bug in the Atmega8 driver, and perhaps others:

In the INT1 interrupt handler, you set TCNT0=0, but you&#039;re using timer1. You should set TCNT1=0, right? Plus, TCNT[1&#124;0] are 16 bit registers, which need special care to write to (interrupts need to be disabled while you do it).

Then, about the clockspeeds, why don&#039;t you just do:

#define TIMER_INTERRUPT_AFTER_US (10)
#define us_to_timer_compare_match(time) ((F_CPU/1000000)*time)

Then set OCR1A=us_to_timer_compare_match(TIMER_INTERRUPT_AFTER_US)

I do and it works great.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;m trying to re-implement your lib to learn and to suit my slightly different needs. Anyway, I found a few things that may be helpful.</p>
<p>I think there is a bug in the Atmega8 driver, and perhaps others:</p>
<p>In the INT1 interrupt handler, you set TCNT0=0, but you&#8217;re using timer1. You should set TCNT1=0, right? Plus, TCNT[1|0] are 16 bit registers, which need special care to write to (interrupts need to be disabled while you do it).</p>
<p>Then, about the clockspeeds, why don&#8217;t you just do:</p>
<p>#define TIMER_INTERRUPT_AFTER_US (10)<br />
#define us_to_timer_compare_match(time) ((F_CPU/1000000)*time)</p>
<p>Then set OCR1A=us_to_timer_compare_match(TIMER_INTERRUPT_AFTER_US)</p>
<p>I do and it works great.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dinesh</title>
		<link>http://extremeelectronics.co.in/code-libraries/using-ir-remote-with-avr-mcus-part-ii/comment-page-1/#comment-21651</link>
		<dc:creator>Dinesh</dc:creator>
		<pubDate>Sat, 14 May 2011 15:21:25 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=53#comment-21651</guid>
		<description>Hi Avinash,
Thank you for this wonderful tutorial.  I would like to use the internal 1MHz default oscillator.  Is it possible to use this or should I have to use the external 8/12/16 MHz compulsorily?
Thank you
Dinesh</description>
		<content:encoded><![CDATA[<p>Hi Avinash,<br />
Thank you for this wonderful tutorial.  I would like to use the internal 1MHz default oscillator.  Is it possible to use this or should I have to use the external 8/12/16 MHz compulsorily?<br />
Thank you<br />
Dinesh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abraham</title>
		<link>http://extremeelectronics.co.in/code-libraries/using-ir-remote-with-avr-mcus-part-ii/comment-page-1/#comment-14857</link>
		<dc:creator>Abraham</dc:creator>
		<pubDate>Thu, 02 Dec 2010 09:49:43 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=53#comment-14857</guid>
		<description>Just for the information of everyone, I used a BPL remote version RC1088N....and Car mp3 remote....

@Avinash: I forgot to mention I had to change the code at 3 places in the code remote.c. All were changing &quot;char&quot; to &quot;int&quot;. I made change for Qfront,Qend and i (occurs in ResetIR() and RemoteInit() )....thanx once again for your help...:)</description>
		<content:encoded><![CDATA[<p>Just for the information of everyone, I used a BPL remote version RC1088N&#8230;.and Car mp3 remote&#8230;.</p>
<p>@Avinash: I forgot to mention I had to change the code at 3 places in the code remote.c. All were changing &#8220;char&#8221; to &#8220;int&#8221;. I made change for Qfront,Qend and i (occurs in ResetIR() and RemoteInit() )&#8230;.thanx once again for your help&#8230;:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abraham</title>
		<link>http://extremeelectronics.co.in/code-libraries/using-ir-remote-with-avr-mcus-part-ii/comment-page-1/#comment-14856</link>
		<dc:creator>Abraham</dc:creator>
		<pubDate>Thu, 02 Dec 2010 09:39:12 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=53#comment-14856</guid>
		<description>Thanq so much....the code works superbly....thanx once again....:)</description>
		<content:encoded><![CDATA[<p>Thanq so much&#8230;.the code works superbly&#8230;.thanx once again&#8230;.:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sandeep</title>
		<link>http://extremeelectronics.co.in/code-libraries/using-ir-remote-with-avr-mcus-part-ii/comment-page-1/#comment-13556</link>
		<dc:creator>sandeep</dc:creator>
		<pubDate>Fri, 15 Oct 2010 18:54:42 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=53#comment-13556</guid>
		<description>THANKS a ton....for such an awsome tutorial...it works well...
bestest site to learn AVR STUFFS.. :)</description>
		<content:encoded><![CDATA[<p>THANKS a ton&#8230;.for such an awsome tutorial&#8230;it works well&#8230;<br />
bestest site to learn AVR STUFFS.. <img src='http://extremeelectronics.co.in/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avinash</title>
		<link>http://extremeelectronics.co.in/code-libraries/using-ir-remote-with-avr-mcus-part-ii/comment-page-1/#comment-12507</link>
		<dc:creator>Avinash</dc:creator>
		<pubDate>Mon, 13 Sep 2010 03:16:09 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=53#comment-12507</guid>
		<description>&lt;strong&gt;@Nirmalya

My pleasure! ;)&lt;/strong&gt;</description>
		<content:encoded><![CDATA[<p><strong>@Nirmalya</p>
<p>My pleasure! <img src='http://extremeelectronics.co.in/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nirmalya</title>
		<link>http://extremeelectronics.co.in/code-libraries/using-ir-remote-with-avr-mcus-part-ii/comment-page-1/#comment-12443</link>
		<dc:creator>Nirmalya</dc:creator>
		<pubDate>Sat, 11 Sep 2010 15:54:33 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=53#comment-12443</guid>
		<description>Hi Avinash,

Thanks a ton for the tutorial. For all of them actually. Works like a charm!
Really appreciate you effort in supporting novices like me.</description>
		<content:encoded><![CDATA[<p>Hi Avinash,</p>
<p>Thanks a ton for the tutorial. For all of them actually. Works like a charm!<br />
Really appreciate you effort in supporting novices like me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michelle</title>
		<link>http://extremeelectronics.co.in/code-libraries/using-ir-remote-with-avr-mcus-part-ii/comment-page-1/#comment-10421</link>
		<dc:creator>Michelle</dc:creator>
		<pubDate>Sun, 11 Jul 2010 07:01:20 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=53#comment-10421</guid>
		<description>hi Avinash,

I am using a c program in the microcontroller, but i have a problem regarding about how to add an interrupts to my program. It is about this that when i will send a signal from a remote contol it will bypass all the running programs and make priority to the signal fom the remote control.. Please help me  with this one... thanks!
I can send you all the necessary info regarding with this. Again Thanks!</description>
		<content:encoded><![CDATA[<p>hi Avinash,</p>
<p>I am using a c program in the microcontroller, but i have a problem regarding about how to add an interrupts to my program. It is about this that when i will send a signal from a remote contol it will bypass all the running programs and make priority to the signal fom the remote control.. Please help me  with this one&#8230; thanks!<br />
I can send you all the necessary info regarding with this. Again Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AVR Project - Remote Controlled Fan Regulator. &#124; eXtreme Electronics</title>
		<link>http://extremeelectronics.co.in/code-libraries/using-ir-remote-with-avr-mcus-part-ii/comment-page-1/#comment-10143</link>
		<dc:creator>AVR Project - Remote Controlled Fan Regulator. &#124; eXtreme Electronics</dc:creator>
		<pubDate>Sun, 04 Jul 2010 07:11:59 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=53#comment-10143</guid>
		<description>[...] remotely control the speed of an AC fan and to switch it on or off. The remote control is a cheap NEC Format remote, usually supplied with small DVD players. Three buttons are used to command the circuit. The UP key [...]</description>
		<content:encoded><![CDATA[<p>[...] remotely control the speed of an AC fan and to switch it on or off. The remote control is a cheap NEC Format remote, usually supplied with small DVD players. Three buttons are used to command the circuit. The UP key [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rajkumar</title>
		<link>http://extremeelectronics.co.in/code-libraries/using-ir-remote-with-avr-mcus-part-ii/comment-page-1/#comment-9230</link>
		<dc:creator>rajkumar</dc:creator>
		<pubDate>Sun, 13 Jun 2010 07:12:30 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=53#comment-9230</guid>
		<description>Thanks a lot avinash. Your website is just too good for freshers like me. I am getting a lot of help from ur tutorials.</description>
		<content:encoded><![CDATA[<p>Thanks a lot avinash. Your website is just too good for freshers like me. I am getting a lot of help from ur tutorials.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KK</title>
		<link>http://extremeelectronics.co.in/code-libraries/using-ir-remote-with-avr-mcus-part-ii/comment-page-1/#comment-7339</link>
		<dc:creator>KK</dc:creator>
		<pubDate>Fri, 26 Mar 2010 03:18:29 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=53#comment-7339</guid>
		<description>Hi, Avinash,

I am using ATMEGA16 as my 1st atmega MCU. 
I am trying to write prg to control DVD, TV, AVPC all together in a single remote unit. Before that I should decode the IR first, but I fail as I searched the web which 2 methods are good for that. One is ICP and the other is just a timer. 

My fosc is 11.0592MHz without clock divde and fclk for ICP is 11.0592M/256=43.2KHz(23us). The capture mode is falling edge in ICP1 of timer1. I worked on CodevisionAVR, I think it is not related to platform. My timer0 is worked in 11.0592MHz/64=172.8KHz. Will interrupt priority caused problem????

I just think the time is fast enough to dectect : 

NEC format 
Most remotes here are NEC format. I tried two days. The result is disappointed. Therefore, can u help me a bit with sending me your successful code for further evaluation. Pls help.....Thank you!</description>
		<content:encoded><![CDATA[<p>Hi, Avinash,</p>
<p>I am using ATMEGA16 as my 1st atmega MCU.<br />
I am trying to write prg to control DVD, TV, AVPC all together in a single remote unit. Before that I should decode the IR first, but I fail as I searched the web which 2 methods are good for that. One is ICP and the other is just a timer. </p>
<p>My fosc is 11.0592MHz without clock divde and fclk for ICP is 11.0592M/256=43.2KHz(23us). The capture mode is falling edge in ICP1 of timer1. I worked on CodevisionAVR, I think it is not related to platform. My timer0 is worked in 11.0592MHz/64=172.8KHz. Will interrupt priority caused problem????</p>
<p>I just think the time is fast enough to dectect : </p>
<p>NEC format<br />
Most remotes here are NEC format. I tried two days. The result is disappointed. Therefore, can u help me a bit with sending me your successful code for further evaluation. Pls help&#8230;..Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kunal</title>
		<link>http://extremeelectronics.co.in/code-libraries/using-ir-remote-with-avr-mcus-part-ii/comment-page-1/#comment-6966</link>
		<dc:creator>kunal</dc:creator>
		<pubDate>Thu, 25 Mar 2010 08:09:53 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=53#comment-6966</guid>
		<description>Thanks Avinash,
it works.
i used TOSP 1730 and TOSP 1738 it works on both.
i used remote control BPL RC604 (it is available in any remote shop for Rs. 50).
Thanks again.</description>
		<content:encoded><![CDATA[<p>Thanks Avinash,<br />
it works.<br />
i used TOSP 1730 and TOSP 1738 it works on both.<br />
i used remote control BPL RC604 (it is available in any remote shop for Rs. 50).<br />
Thanks again.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Database Caching 10/40 queries in 0.014 seconds using apc
Object Caching 555/570 objects using disk: basic

Served from: extremeelectronics.co.in @ 2012-02-08 10:54:05 -->
