Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

TV remote control decoding

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> BASCOM-AVR Archive
View previous topic :: View next topic  
Author Message
lbcomms

Bascom Member



Joined: 14 Oct 2005
Posts: 118

australia.gif
PostPosted: Sun Oct 21, 2007 10:32 am    Post subject: TV remote control decoding Reply with quote

Hi All,
Need to control a circuit using a cheap TV type remote control.
It's only an idea at this stage, so it doesn't matter what AVR or brand of remote control I use - I'll buy components to suit. The only components I've bought for this are some IR receiving LEDs.

At this stage, I just want to turn some LEDs on an off.

Anyone got any suggestions, circuits, or code to do this?

Thanks in advance,
Chris
Back to top
View user's profile
Luciano

Bascom Member



Joined: 29 Nov 2004
Posts: 3149
Location: Italy

blank.gif
PostPosted: Sun Oct 21, 2007 10:58 am    Post subject: Reply with quote

Hi,

All what you need is a receiver for infrared like the TSOP1736.
This receiver uses a carrier frequency of 36 kHz which is
what is used by the Bascom AVR function "GETRC5".

Datasheet TSOP1736:
http://www.vishay.com/docs/82030/82030.pdf

The Bascom AVR function "GETRC5" uses the Philips RC-5 Protocol so your
remote must support the Philips RC-5 Protocol.

About the Philips RC-5 Protocol:
http://www.sbprojects.com/knowledge/ir/rc5.htm

Note that you can build a transmitter with an AVR and an IR Emitting Diode
with a wavelength of 940nm. See Bascom help file "RC5SEND".

Best regards,

Luciano
Back to top
View user's profile
x_dadu

Bascom Member



Joined: 11 Jan 2007
Posts: 49
Location: Romania - Constanta

romania.gif
PostPosted: Sun Oct 21, 2007 6:48 pm    Post subject: Reply with quote

I decoded many ir remote protocols with this metod :
- receive the ir remote code with a TSOP1736 and at the data out of TSOP I conect the Line_IN of soundcard and use Cool Edit Pro (or anything else) to record signal when I press a key on the remote. Cool edit pro has the time line (x axe) gradate in s, ms etc and is very easy to view how long a puls is. Compare then what you se with standard known protocols like here http://www.sbprojects.com/knowledge/ir/ir.htm and even it is not there you can make the decode routine, if is there, and most are, it is very simple to write your own decode routin for every almoust protocol on the market. I did many routine long time ago when I work only with PIC, protocol of NEC, JVC, SHARP, many protocols of each of them . Take care Wink

_________________
no brain, no pain
Back to top
View user's profile Yahoo Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> BASCOM-AVR Archive All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum