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:
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.
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.
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.
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). ;D
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). ;D
Wow, this worked great. I have a Philips myself, and just connected a IR LED and uploaded the code and boom my TV started turning on and off
Does anyone have any idea as to where to find information that can be used to add other other TV-sets to this? And how to add it all to the irparams file?
Looks cool! I've been trying to interface with an Infoglobe (http://www.linux-hacker.net/InfoGlobe/) for a while with limited success. Hopefully I'll be able to find something in your code that helps me out!