Need help with IR
kerryw
Posts: 61
I'm working on a project for my home theater. I need to be able to send out various IR remote signals from the prop.·I looked at the IR objects in obex, but they didn't seem to do everything I need. I don't want to worry about NEC vs. Sony vs. whatever. I was hoping to be able to just record the various IR pulses that I need and be able to play them back later. Think of it like a learning remote. I have an IR receiver with a current limiting resistor in series reading remote pulses (ir is 38khz). Is this doable? Any suggestions on how to start? Thanks.
Kerry
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"Heaven help me Marge, I'm just not that smart." - Homer Simpson
Kerry
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"Heaven help me Marge, I'm just not that smart." - Homer Simpson
Comments
I too would like to know how to do this. I was wondering that earlier today, but haven't gotten around to do any research. I need an IR repeater......it's a complicated story....but I just need to repeat the pulse.
James L
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
James L
Partner/Designer
Lil Brother SMT Assembly Services
Are you addicted to technology or Micro-controllers..... then checkout the forums at Savage Circuits. Learn to build your own Gizmos!
That is a good idea.
I'm not sure I will go that route, as I do ahve some signals I want the system to not repeat. A small micro could filter those out by the device code.
But thanks for the ideas.
James L
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
James L
Partner/Designer
Lil Brother SMT Assembly Services
Are you addicted to technology or Micro-controllers..... then checkout the forums at Savage Circuits. Learn to build your own Gizmos!
The timings and the number of bits can be completely different even if you take remote controls from the same brand but for different devices.
I'd be interested in your results and would really like to help, but my first step is to find a nice display, because for my 'livingroom home automation' I want to have a nice graphical output.
I'm willing to try my luck and not worry about alternating bits and and appropriate button repeating handling.
Here is what I thought would work for recording:
1) Hook up the 38khz IR reciever in series with a current limiting resistor to a pin on the prop.
2) Point device remote at the reciever and hit a button
3) Bit pattern would appear on pin
4) Record pattern as a serious of on/offs and durations.
5) Store them in EEPROM.
Mike mentioned using a 555 timer to generate the 38khz signal for playback. Couldn't the prop itself be used for this?
Playback:
1) User hits button on screen.
2) Look up requested button's bit pattern in EEPROM.
3) Generate 38khz on a pin that is enabled/disabled based on the playback of the bit pattern.
4) Output to an IR LED.
I'm hoping for two things from folks on here. First is feedback on the above theory. Second is pointing me to current OBEX code samples that have functionality similar to what I'm trying to do so that I can use them to get started. Thanks everyone.
Kerry
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"Heaven help me Marge, I'm just not that smart." - Homer Simpson
Have you looked in the Object Exchange yet at the descriptions of the objects? It's faster than waiting for someone to remember whether they've seen something there.
····http://forums.parallax.com/showthread.php?p=852276
Once recorded, you will have to adjust the timing a little for retransmission, due to the asymmetry of the receiver's low-to-high and high-to-low delays.
-Phil
Does raymans display have it's own RAM/controller? I'd prefere having a full resolution full color GUI than the usual TV / VGA output.
My idea is having the graphics on a SD card and the propeller manages the data transfer between SD card and display RAM. Currently I have a 2,4" Crystalfontz display (320x240) to test if that will work.