IR Remote Protocols - Other Remote Info - diyAudio
Go Back   Home > Forums > General Interest > Everything Else

Everything Else Anything related to audio / video / electronics etc) BUT remember- we have many new forums where your thread may now fit! .... Parts, Equipment & Tools, Construction Tips, Software Tools......

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 1st August 2009, 01:50 AM   #1
PB2 is offline PB2  United States
diyAudio Member
 
PB2's Avatar
 
Join Date: Sep 2004
Location: North East
Blog Entries: 1
Default IR Remote Protocols - Other Remote Info

I've been looking into doing a custom remote and noticed that some of the projects here do
not mention the protocol being used. Some also do not decode the address field and therefore
will not be compatible with a multifunction remote.
Thought I'd post some links here to the better documentation that I've found.

This covers some of the more popular protocols, including the NEC and easy to decode Sony:
http://www.remotecentral.com/features/irdisp3.htm

This link is to a document providing PBASIC STAMP code for the Sony protocol:
http://www.parallax.com/dl/docs/prod...moteAppKit.pdf

And an errata to the previous:
http://www.parallax.com/dl/docs/prod...rrata-v1.0.pdf

Stamps are particularly easy to set up and program however, I don't like the interpreted code,
lack of interrupt handling etc. Here is some info on a PicBasic Compiler that I think makes a lot of sense however it is not free, and I doubt I'll purchase it - anyone tried it?
http://www.rentron.com/PicBasic2.htm

I've got an AVR development board here that I will also look into at some point.

This site has different types of remotes and low cost preprogrammed parts for IR Remotes
using the Sony protocol:
http://www.rentron.com/PicBasic/RemoteControl.htm

Posted here to have a place for links to sources for documentation, code, parts, etc. for remote projects.

Pete B.
  Reply With Quote
Old 1st August 2009, 04:01 AM   #2
diyAudio Member
 
theAnonymous1's Avatar
 
Join Date: Feb 2004
Location: Anonymityville
Hi Pete,

Is there a way to decode an existing remote signal of unknown protocol?

I have an iMON remote (USB PC receiver) that I would like to make my own 2-channel receiver for (volume up/down).

Thanks
  Reply With Quote
Old 1st August 2009, 02:03 PM   #3
PB2 is offline PB2  United States
diyAudio Member
 
PB2's Avatar
 
Join Date: Sep 2004
Location: North East
Blog Entries: 1
Default IR Protocol Analyzer

Hi,

An IR protocol analyzer would be interesting. There is mention of one on this page:
http://www.home-electro.com/jp1.php

The IR modulation frequency is not standardized; some are 36, 38, 40 or 50 KHz.
I wonder how the universal remotes handle this?

I happen to be using a 38 kHz sensor here with a universal remote set to Sony which should be
40 KHz and there are no problems as far as I can see. The Panasonic sensor does have AGC built in that might be cleaning things up:
https://www.solarbotics.com/products/pna4602

If you know or can find the modulation frequency you could get a Panasonic type sensor, power it up and look at the demodulated data
stream with a scope. Another option is to open the ball receiver that comes with the iMon and see if you can probe the output if the IR sensor.

The receiver has USB output, you could provide a USB port on whatever controller you choose. This company seems to have
good, in circuit programmable development boards at a good price:
http://www.sparkfun.com/commerce/categories.php?c=2

Lots of options ...
  Reply With Quote
Old 1st August 2009, 03:50 PM   #4
diyAudio Member
 
Steerpike's Avatar
 
Join Date: Jan 2006
Location: Johannesburg, South Africa
An easy way to inspect the IR signal is to get one of the all-in-one receiver modules (I use the Siemens SFH5110 - which comes in 5 different variants for the different carriers). The output of this chip (a chip which looks like a three terminal LED) can be plugged (almost) directly into a PC soundcard, through a 10uF capacitor and 10k resistor.

Any audio recording software that displays an oscillograph of the recording can be used to show the data pattern, and if you choose a 'nice' sampling frequency like 50kHz, the timing is easy to work out.

SOME protocols (Nokia / ITT) use no modulation, and the Siemens receiver doesnt pick them up at all.
__________________
Steerpike's Toybox
  Reply With Quote
Old 2nd August 2009, 04:09 AM   #5
PB2 is offline PB2  United States
diyAudio Member
 
PB2's Avatar
 
Join Date: Sep 2004
Location: North East
Blog Entries: 1
Here is free PC Scope software that works with a sound card: http://duncan.rutgers.edu/physicsfreewares.htm
  Reply With Quote
Old 2nd August 2009, 12:19 PM   #6
diyAudio Member
 
theAnonymous1's Avatar
 
Join Date: Feb 2004
Location: Anonymityville
Thanks guys, I believe the IR signal from this remote is 38kHz.
  Reply With Quote
Old 2nd August 2009, 06:29 PM   #7
diyAudio Member
 
Join Date: Dec 2004
Location: Reston, Virginia
Quote:
Originally posted by theAnonymous1
Thanks guys, I believe the IR signal from this remote is 38kHz.
I just tried my Veris remote control (Antec/iMon) with my remote control detection software, and it identified the protocol as RC5. I'm using a 38KHz receiver and I could detect the signal from across the room, so 38KHz is probably right.

My remote control detection software is far from perfect--but look at the logic diagram on slide 16 and you can see how it got to "RC5"

http://www.audiodevelopers.com/temp/Remote_Controls.ppt

This briefing documented what I learned while trying to develop a universal remote control reader. Eventually I gave up--there were just too many weird variations and it stopped being fun after awhile. I just went with NEC TV for my own use, since it is so well supported and easy to decode.
  Reply With Quote
Old 2nd August 2009, 06:33 PM   #8
psgr is offline psgr  United States
diyAudio Member
 
Join Date: May 2008
Hi,

have you tried Lirc or winlirc

http://www.lirc.org/
  Reply With Quote
Old 2nd August 2009, 06:48 PM   #9
diyAudio Member
 
Join Date: Dec 2004
Location: Reston, Virginia
Quote:
Originally posted by psgr
Hi,

have you tried Lirc or winlirc

http://www.lirc.org/
Neither OS likes the fact that I only have 512 bytes of RAM

My project was for embedded stuff--Freescale 68S08 series micro, for an audio preamp.

Lirc is a great resource.
  Reply With Quote
Old 4th August 2009, 11:31 PM   #10
PB2 is offline PB2  United States
diyAudio Member
 
PB2's Avatar
 
Join Date: Sep 2004
Location: North East
Blog Entries: 1
Thanks, Lirc looks very good and interesting.

Anyone know if the Sony code has a toggle bit, or any indication of button up/down? I did look, can't seem to find any mention of it.

Pete B.
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote PC Sjef Digital Source 7 11th January 2008 10:43 PM
Remote volume control for existing remote? theAnonymous1 Parts 7 6th August 2007 08:22 AM
Remote volume - existing remote Stuey Chip Amps 16 25th August 2006 11:44 PM
Remote remote volume simon dart Parts 3 7th November 2004 10:00 PM


New To Site? Need Help?

All times are GMT. The time now is 02:02 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2