IR REMOTE CONTROL code

Discussion about projects that used PIC Microcontroller, Hardware Interface, Programming Algorithm and etc......

IR REMOTE CONTROL code

Postby stanley1925 » Tue Dec 27, 2011 4:13 pm

How actually IR remote control (TV) WORKING? Does any explanation for IR remote control working, and measure pulse width, in order can write a c code to receive the signal. It's better discussing at here than giving a web site to learn.Thank you.
stanley1925
Newbie
 
Posts: 13
Joined: Sat Dec 03, 2011 8:05 pm

Re: IR REMOTE CONTROL code

Postby shahrul » Tue Dec 27, 2011 8:47 pm

There is many protocol on IR Remote, it different from many company like Philips, NEC and others.
One I tried before is RC5 protocol from Philips. The idea is, we can capture the rising and falling of the signal using external interrupt (INT0) at the same time we running the timer interrupt to measure how long the 'HIGH' and 'LOW' signal. But, I'm not complete yet the RC5 encoding.
User avatar
shahrul
Professional
 
Posts: 812
Joined: Sat May 16, 2009 9:54 pm
Location: Selangor


Return to PIC Microcontroller

Who is online

Users browsing this forum: No registered users and 3 guests