Simple IR Remote controller using PIC 18F4520

Their are several standard communication method for TV Remote and other IR remote controllers. If you are a fresh for PIC and Electronics this would be the best article to understand theory with practical application of IR remote controllers.

Let's me show you few main parts with essential points must be keep in mind while using in application circuits.

1.0 IR LED.

It's looks like a normal LED but you can't see it with naked eyes while it is working, however  you can see it through a  Digital camera (mobile phone).
IR LED












2.0 IR Receiver.

The IR radiation emitted by the IR LED can be detect using IR Receiver. IR receiver recognize only a specific frequency called carrier frequency and it is mention in the manufacturer specification. I'm going to use a TSOP1738.

Various type of IR Receivers 
As per the manufacturer data sheet TOSP1738 should have 38KHz carrier frequency that is it can capture only signals comes along with 38KHz frequency.


03. Sending Algoritham

Data sending along with 38KHz using PIC 18F4520, PORTD.0



If frequency is 38KHz period carrier wave = 1/f = 1/38000Hz = 26.3us
If Oscillate frequency 8Mhz, single instruction time = 1/8Mhz *4 = 0.5us
Usually stranded Duty for Signal 1/3                         = Period/3 = 8.7us

I'll write data sending algorithm using above details,



04. Receiving Algorithm

Signal acquisition part also make with PIC 18F4520, PORTB.0  

No comments:

Post a Comment