I'm having trouble trying to make a remote control for a TV and a Comcast cable box (DCH70), using an Arduino Uno rev3.
I can make the TV turn on/off just fine now, using Ken Shirriff's IR library, but the cable box behaves weirdly, in that I can get it to turn on, but it then goes off again in a couple of seconds. (And this is NOT what happens with the real remote, it turns the cable box on until I turn it off.)
His library worked fine to decode the TV's remote, because it actually decoded the protocol used, and gives the coded data too, so I can then send the commands using the correct protocol; but his library couldn't recognize what the Comcast remote is putting out. So, after trying to tweak the raw data his library provided, and then looking all over the internet for any relevant info, I went back to the Raw IR decoder sketch from adafruit, https://github.com/adafruit/Raw-IR-decoder-for-Arduino , and it behaves exactly the same: turns the cable box on, but it goes off in a couple of seconds.
I've seen some suggestions that the Comcast remote uses an XMP protocol, though I don't see how to use that info, and I've found some sites which seem to give codes, but they are essentially the same as what I decode myself, and work exactly similarly.
Here's a sample of raw on/off IR signals I found, at
https://help.ubuntu.com/community/Motor ... nge_Script
name: power
9050 4400 550 2200 550 4400
550 2200 550 4400 550 2200
550 2150 550 2200 550 2200
550 2150 550 2200 550 2200
550 2150 550 2200 550 4400
550 4450 550 2150 550
Which is similar to what I get when I decode the remote's IR myself. As far as I can tell, the numbers are pairs of duration of 38khz carrier on & off, with 9050/4400 being a header, 550/2200 being a "mark" (one), and 550/4400 being a "space"(zero).
Any help or additional info would be appreciated.
Dan

