Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
09.02.2010 at 17:15:19
News: Server upgrade went fine, you are now at the new system


Pages: 1 2 
RC5 infrared remote (Read 14508 times)
jmknapp
Junior Member
**
Offline

Arduino rocks

Posts: 53

RC5 infrared remote
30.04.2008 at 15:32:17
 
Here's a project requiring minimal hardware to implement a basic RC5 IR remote: just an Arduino, battery and IR LED:



Here's a link to a zip file containing the code (rc5xmit.pde and irparams.h):

http://wikiputer.org/arduino/rc5xmit.zip

The code as it stands just has a demo program in the main loop to do some basic operations on a TV. It shows how the code is pretty straightforward to use:

Code:
brand(PHILIPSTV) ;
button(POWER,2) ;  // hello world
delay(15000) ;
button(ZERO,2) ;   // change channel to 03
delay(100) ;
button(THREE,2) ;
delay(100) ;
button(MUTE,2) ;   // mute the TV
delay(15000) ;
button(POWER,2) ;  // over and out
 



Of course, this works only with some TV models, and the code may have to be changed to accomodate other RC5 devices.
Back to top
 
 
View Profile   IP Logged
till
YaBB Newbies
*
Offline

Arduino rocks

Posts: 21

Re: RC5 infrared remote
Reply #1 - 30.04.2008 at 19:38:11
 
reminds me of http://www.tvbgone.com (with more functions of course)! Thanks for sharing!

Regards,

Till
Back to top
 
 
View Profile   IP Logged
Oracle
God Member
*****
Offline

Arduino rocks!

Posts: 775

Re: RC5 infrared remote
Reply #2 - 30.04.2008 at 20:03:08
 
till wrote on 30.04.2008 at 19:38:11:
reminds me of http://www.tvbgone.com (with more functions of course)! Thanks for sharing!


I'm just surprised nobody's built an Arduino based tvbgone.   Doesn't ladyada have an open source one based on an 8-pin AVR?
Back to top
 
 
View Profile   IP Logged
meh722
YaBB Newbies
*
Offline

Arduino rocks

Posts: 26

Re: RC5 infrared remote
Reply #3 - 30.04.2008 at 23:25:42
 
Very Cool. Im wondering if one can send signals to their XBOX360 like this unless that uses Radio Frequency.
Back to top
 
 
View Profile   IP Logged
jmknapp
Junior Member
**
Offline

Arduino rocks

Posts: 53

Re: RC5 infrared remote
Reply #4 - 01.05.2008 at 03:39:44
 
meh722 wrote on 30.04.2008 at 23:25:42:
Very Cool. Im wondering if one can send signals to their XBOX360 like this unless that uses Radio Frequency.


I just did a little searching... I gather that the the XBOX360 IR remote uses RC6, the successor to RC5 (and Microsoft-recommended for Media Center). The old XBOXs used RC5.

Microsoft developed RC6 in conjunction with Philips. I can't find a whole lot of info on it.
Back to top
 
 
View Profile   IP Logged
meh722
YaBB Newbies
*
Offline

Arduino rocks

Posts: 26

Re: RC5 infrared remote
Reply #5 - 01.05.2008 at 06:25:36
 
Yeah I was going to use the remote to send an IR signal to the Arduino on top of the xbox which sends a signal to the tranciever in the outlet which sends a signal through the houses existing wiring to the switch on the wall to dim it.  X10 sells a universal remote (so I can even skip the whole arduino process), but im wondering if i can control my xbox 360 via that.
Back to top
 
 
View Profile   IP Logged
jmknapp
Junior Member
**
Offline

Arduino rocks

Posts: 53

Re: RC5 infrared remote
Reply #6 - 01.05.2008 at 14:03:26
 
Someone asked if I had a similar sketch for sending SIRCS (Sony) protocol. Here it is:

http://wikiputer.org/arduino/sircsxmit.zip

Joe
Back to top
 
 
View Profile   IP Logged
mungbean
Junior Member
**
Offline



Posts: 69
Edinburgh, Scotland
Re: RC5 infrared remote
Reply #7 - 13.05.2008 at 23:14:49
 
rc5xmit is great work Joe, thanks!

is there anything that would stop it working on the lilypad?  or put another way, has it been tested on an 8MHz cpu?

thanks
Back to top
 
 
View Profile | WWW   IP Logged
jmknapp
Junior Member
**
Offline

Arduino rocks

Posts: 53

Re: RC5 infrared remote
Reply #8 - 13.05.2008 at 23:51:36
 
I think it should work on the Lilypad just by changing the SYSCLOCK define in the header file from 16000000 to 8000000. Haven't actually tried it though (Lilypad on order).  Grin
Back to top
 
 
View Profile   IP Logged
mungbean
Junior Member
**
Offline



Posts: 69
Edinburgh, Scotland
Re: RC5 infrared remote
Reply #9 - 14.05.2008 at 19:40:34
 
jmknapp wrote on 13.05.2008 at 23:51:36:
I think it should work on the Lilypad just by changing the SYSCLOCK define in the header file from 16000000 to 8000000. Haven't actually tried it though (Lilypad on order).  Grin


yes!  this works perfectly!  thanks again Joe.


Back to top
 
 
View Profile | WWW   IP Logged
watson
YaBB Newbies
*
Offline

Arduino rocks

Posts: 11

Re: RC5 infrared remote
Reply #10 - 24.09.2008 at 12:58:28
 
Hi jmknapp,

The links are dead. Can you please refresh them?

http://wikiputer.org/arduino/rc5xmit.zip
http://wikiputer.org/arduino/sircsxmit.zip
Back to top
 
 
View Profile   IP Logged
jmknapp
Junior Member
**
Offline

Arduino rocks

Posts: 53

Re: RC5 infrared remote
Reply #11 - 24.09.2008 at 14:50:29
 
My DSL (and thus server) are out of commission due to a truck taking out our phone line--should be back up by Friday.
Back to top
 
 
View Profile   IP Logged
mduca
YaBB Newbies
*
Offline

Arduino rocks

Posts: 9

Re: RC5 infrared remote
Reply #12 - 26.09.2008 at 15:51:39
 
Still down Sad I will have to check back later to night. I don't know what I'd do if I lost my connection for a couple days heh.
Back to top
 
 
View Profile   IP Logged
mduca
YaBB Newbies
*
Offline

Arduino rocks

Posts: 9

Re: RC5 infrared remote
Reply #13 - 26.09.2008 at 15:58:20
 
I'm not sure if this is the same sketch or not but here is a link to some code that might work. I have not toyed with it yet.

http://www.instructables.com/community/rduino-tvbgone/
Back to top
 
 
View Profile   IP Logged
mungbean
Junior Member
**
Offline



Posts: 69
Edinburgh, Scotland
Re: RC5 infrared remote
Reply #14 - 26.09.2008 at 16:28:40
 
mduca, i have a copy of rc5xmit.zip from back in May if that's any help.

get it here: http://fts.rca.ac.uk/download/?u=chris.hand&k=kiw9taEx

link will expire 10th October.

Back to top
 
 
View Profile | WWW   IP Logged
Pages: 1 2