rc5 ir transmitter
Picstudent said:
btbass said:
Check out Microchip, They make chips for IR interfaces, MCP21XX.
Datasheets and app notes available.
Hai
Thanks for the response and info.
But I have to do this with general purpose microcontrollers like PIC or 8051.
Picstudent
Here are two application notes for a general pruprose MCU. It's not for PIC or 8051 but AVR. The code is written in assembley and not C as you asked for. But if you read the application notes, then you will get a very good idea of how to write your own C code. Looking at the assembly and cooments can also help you.
AVR410: RC5 IR Remote Control Receiver
AVR415: RC5 IR Remote Control Transmitter
**broken link removed**
But if you search google and EDAboard, the you can easyli find IR C code examples for both 8051, PIC, AVR etc.
Try to look in Elektor too, there's lots of examples and a great article about the different protocols and frequencies used for different TV's, Videos and stereos.
These articles is a very useful if you want to use one of the IR remot control formats:
IR Remote Control Codes (1)
formats, protocols and (in)compatibility
**broken link removed**
IR Remote Control Codes (2)
**broken link removed**
RC5 is one of the most coomon protocols and it's invented Philips I think, but others use it too. Sony has another popular protocol.
You can finde lots of examples with both RC5 and Sony's protocols on the net.
This is one of the most common hobby projects made for 8 bit MCUs, so you can find it just about everywhere.