Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Infra red

2006-02-21 by Mike Perks

Mansur Mansur wrote:

> I plan to build wireless communication using sony remote controll as a 
> transmitter and sony receiver.any one has experience using this sonny 
> remote.

Each manufacturer uses their own coding scheme for the IR pulses that 
are on the 36, 38 or 40 KHz IR carrier frequency. Here is an article I 
wrote that explains the most common Sony protocol and gives some BASIC 
code for decoding the pulses into a command code and device code: 
http://www.zbasic.net/appNotes/AN204.pdf. The full code can be found 
here: http://www.zbasic.net/appNotes/AN204.zip. The BASIC code will need 
to be rewritten for an AVR but the basic algorithm is there. You will 
need code to measure the time for each pulse width using Timer1.

There are numerous other references to Sony remotes; remember Google is 
your friend. In case you are interested this code and application note 
was written for the ZBasic AVR-based microcontroller. Other AVR, ZBasic 
and BasicX projects can be found on my website.

Mike
http://home.austin.rr.com/perks/micros/

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.