A bit of a story here: I would like to be able to quickly and easily turn on/off captioning on the cable TV box. Normally this would require 10(!) button presses.
It's hard to be sure, but I expect that no commonly available universal remote control can be programmed to automate 10 button presses.
Having formal training in electronics, I easily used an Arduino to record all the necessary IR signals (via a sensor/demodulator) to accomplish the function.
My first attack on this problem was to make a program running on an Arduino that would accomplish this function. It worked, but it's such an over-kill... Also, you need to wait for it to boot (1? second). Edit: I could try modifying the board to shorten this boot time.
I don't have an EPROM burner, otherwise I would wonder about clocking a counter at 38 kHz and addressing an EPROM and using 1 bit to operate an IR LED (via a 2N2222).
If I were to stick with an Arduino, I think I would use the PWM to make the pulses. (Before I enabled a 555 astable which did the driving).
What is the easiest way to get this done?
3 Answers 3
I would recommend TV-B-Gone Kit and modify their available firmware to match the code sequence you would like to output
-
1\$\begingroup\$ There's also the Dangerous Prototypes IR Toy: dangerousprototypes.com/2014/05/14/… \$\endgroup\$John U– John U2014年05月16日 17:28:16 +00:00Commented May 16, 2014 at 17:28
I would recommend you use a cheap microcontroller with internal clock and bitbang the protocol on one output pin.
enter image description here
To identify the protocol you can try this Decode an infrared signal with an IR demodulator inside a microphone jack
Here is a list of IR protocols: SB-Projects.
This is a bit opinion-based, but IMO the easiest way is to identify the protocol and button sequence, and then program a micro-controller to emit the sequence. Any uC can be programmed to do this.
When someone asks for 'the easiest way to do something' it is always a problem that what is easy for one person might not be easy for another one. This can of course be solved with a clock generator, counter, (e)eprom... But then you are half-way to building your own controller!
Explore related questions
See similar questions with these tags.
it's such an over-kill
". Why would it be overkill? Take one step backward, is 1s boot time really a problem for your setup? You're saving yourself ~10s manual, annoying button presses! In another project I used a555
for the carrier and modulated it using the Arduino. Generating the carrier in software is also fine since - in your case - sequencing those keys is the only thing the microcontroller will do - isn't it? \$\endgroup\$