TRULY universal remote: one that records signals! Please help
ubnmce
Posts: 1
Hi
I am brand new to BASIC stamp and have been assigned a moderately difficult project. I need to record the signals from any arbitrary remote control using a BS2 or BS2sx and then output the signal to an infrared LED.
Since every remote has a different protocol, the program must be able to be flexible and record a steady stream of data for approx. 1 second.
I am thinking about using the PULSIN commands to record the length of the signal when it is high and low, but I need a way to organize these values in the order that the come, save them, and then output this exact same pattern later.
I already fooled around with the SONY universal remote tutorial, and got it to work; but this only works for sony so I cant use much of the code.
Please help! I know this isnt very difficult. If you understand what I am trying to do, which is record a signal then transmit the same signal (the resolution must be in microseconds), then maybe you can find an easy solution for me, which I will greatly appreciate.
Regards,
ubnmce
I am brand new to BASIC stamp and have been assigned a moderately difficult project. I need to record the signals from any arbitrary remote control using a BS2 or BS2sx and then output the signal to an infrared LED.
Since every remote has a different protocol, the program must be able to be flexible and record a steady stream of data for approx. 1 second.
I am thinking about using the PULSIN commands to record the length of the signal when it is high and low, but I need a way to organize these values in the order that the come, save them, and then output this exact same pattern later.
I already fooled around with the SONY universal remote tutorial, and got it to work; but this only works for sony so I cant use much of the code.
Please help! I know this isnt very difficult. If you understand what I am trying to do, which is record a signal then transmit the same signal (the resolution must be in microseconds), then maybe you can find an easy solution for me, which I will greatly appreciate.
Regards,
ubnmce
Comments
You'd be better off using either an SX microcontroller with some kind of external memory or a Propeller with its 32K internal main memory.
Different vendors use different encoding schemes, too. Start bit duration, what a 'one' is versus a 'zero', how much 'dead' time there is between bits, what is the 'repeat' interval -- all vary quite a lot. If you look at the Sony IR protocol, and the Phillips RC-5 protocol, you'll at least see what you're up against.
I agree with the Propellor suggestion -- the BS2sx could be used for this purpose, but it would depend heavily on the exact protocol if it would work.