Recommended Free Tools
There is no single circuit that controls every remote-operated product. A practical universal infrared (IR) remote combines a microcontroller, keypad, IR receiver, nonvolatile memory and a driven IR LED, plus firmware that decodes or learns each command. The reference design below is a learning remote: it captures the timing from an existing IR handset, stores it and retransmits it later.
What “universal” means
Universal IR designs fall into several different categories. Choosing the category first prevents a simple receiver or single-protocol transmitter from being mislabeled as a universal remote.
Code-database remote
Firmware contains protocol implementations and manufacturer/device codes such as NEC, Sony SIRC, Philips RC-5/RC-6, Panasonic, Samsung, JVC and Mitsubishi. This uses little memory and produces repeatable timing, but compatibility depends on the code database. Unusual commands and many air-conditioner states may be missing.
Learning remote
The receiver captures an existing handset’s mark-and-space timing, stores it and replays it. This handles unknown protocols more flexibly, but needs capture memory and careful handling of carrier frequency, repeats, toggle bits and long messages. Analog Devices describes this receive-store-retransmit architecture in its learning-remote overview.
#1 Best Overall
- 【IR Learning Remote】This L336 remote control can learn and replicate all the functions of your original infrared remote which is working well, except some special remote buttons. Please note: If your original remote can't work well, our remote can not learn its function.
- 【3-in-1 integration】Just control 3 devices by one remote. It can store commands from three different devices and learn up to 3*42=126 buttons, managing your multiple home appliances more efficient and convenient. Apply to TV, VCR, SAT, , DVD, VCD, CD, HI-FI, etc IR remote.
- 【One Key Learning Settings】If you have a L336 remote control which has been completely learned want to copy all its settings to another new L336 remote control. Only takes a few simple steps to transmitted everything over.
- 【Permanent Memory】Once programmed, these codes are permanently stored in the memory chip. Even if the power is cut off, the battery is replaced, or the device is left unused for an extended period, the learned infrared code values will not be lost, eliminating the need for repeated setup.
- 【Package Included】1*remote control and 1* user manual(Batteries NOT included). Please make sure your original remote is an IR remote and it is working well before placing an order, thank you! Any question, please feel free to contact us.
Other projects often called universal
- A universal IR receiver/controller accepts commands and switches a relay or other load; it is not a handheld transmitter.
- A network IR blaster adds Wi-Fi or Ethernet and software control.
- RF, Bluetooth, Wi-Fi and HDMI-CEC remotes require different radios or interfaces; an ordinary IR schematic cannot learn them.
Reference block diagram
Buttons/keypad ──► Microcontroller ──► carrier/data output ──► transistor/MOSFET ──► IR LED
▲ │
IR receiver module ─────┘ └──► EEPROM or flash
The receiver module normally includes a photodetector, automatic gain control, band-pass filter and demodulator. Its output is a logic waveform of mark and space durations, not the original carrier waveform.
Practical learning-remote schematic
regulated VCC
│
┌───────────────────┴───────────────────┐
│ │
IR receiver module Microcontroller
┌───────────────┐ ┌────────────────────┐
│ VCC ──────────┼────────────────────┤ VCC │
│ GND ──────────┼────── GND ─────────┤ GND │
│ OUT ──────────┼───────────────────►│ timer/interrupt in │
└───────────────┘ │ keypad GPIO │◄── buttons
│ EEPROM/flash │◄── learned data
│ PWM/timer out ├───┐
└────────────────────┘ │
▼
base/gate resistor
│
VCC ── current-limiting resistor ── IR LED ── collector/drain NPN/MOSFET
│
emitter/source
│
GND
Use the exact receiver datasheet for pin order, supply voltage and output polarity; three-pin modules are not interchangeable. SparkFun’s TSOP382 example and pinout warning are documented in its IR communication tutorial and printable PDF.
Rank #2
- What Is Self-Learning Remote Control?:If You Perform The Desired Task By Use Of An Ir Remote Now, Then Yes, This Remote Can Be Programmed To Replicate Any Button That You Would Push On A Remote Of That Type,Suitable For The Elderly And Children To Use The Remote Control To Prevent Them From Making Mistakes Due To Too Many Remote Control Buttons.
- How To Use?:Our Products Come With Manuals, You Can Follow The Steps Of The Manuals, Simple To Use,You Basically Hold Down The Top Two Buttons Together To Put It In A "Programming" Mode. Then, Press A Button To Program, Point Your Existing Remote To The Top (End-To-End) And Send The Signal By Pressing The Button On The Existing Remote. After A Few Seconds The Led Flashes. Repeat For Other Buttons. Press The Top Two Buttons Together To End The Programming
- Applies To Which Devices?:It Is A Self-Learning Remote Control. You Will Need To Program It By Using An Existing Remote Control To 'Teach' It The Commands For Your Tv. It Works With Most Devices,Like Tv/Stb/Dvd/Dvb/Hifi Speaker/Vcr And Other Devices That Support Infrared Technology Remote Control.
- Is It Suitable For Rf (Radio Frequency)Devices?:No This Remote Control Is Only Used To Clone Infrared Remote Control Functions
- More Function?:The Remote Control Only Has Five Buttons: Power, Volume And Channel. However, You Can Program These Buttons To Mimic Any Function From An Existing Remote.Any Button On The Remote Control Can Be Copied.
Minimum hardware
- Microcontroller board or bare MCU with a timer capture/interrupt input and a carrier-generation timer.
- Demodulating IR receiver matched to the intended carrier family.
- 940–950 nm IR LED, current-limiting resistor and an NPN transistor or logic-level MOSFET.
- Base or gate resistor where required, push buttons or a matrix keypad, and EEPROM, internal flash or external memory.
- Regulated supply and local decoupling capacitors close to the MCU and receiver.
Exact resistor, transistor, LED-current, supply and pin values depend on the selected parts and must be calculated from their datasheets. SparkFun gives approximately 100 Ω for a higher-current arrangement and 330 Ω for a lower-current arrangement in its educational circuit; these are reference examples, not universal values. A transistor driver is preferable to direct MCU-pin drive when useful range matters, as shown in DigiKey’s Arduino learning-remote project.
Receiver and transmitter design
Receiver
Consumer receivers commonly expect a modulated carrier. Typical systems span roughly 28–60 kHz, while 38 kHz is common and many modules are centered near 40 kHz. See Analog Devices and Microchip AN657 for carrier and decoding context. A demodulating module is the simplest choice; a raw photodiode preserves more optical detail but requires an analog front end, faster sampling and more noise handling.
Rank #3
- 【IR Learning Remote】This L108E learning remote allows you to creat your own shortcuts, which can learn and replicate all the functions of your original infrared remote which is working well, except some special remote buttons. Provided 11 keys for free learning.
- 【Wide Compatibility】This universal learning remote fits for TV/ VCR/ SAT/ SET-TOP BOX/ VCD/ DVD/ CD/ Projector, etc. It is ideal choice for a multiple usage of your home appliances.
- 【Easy to Setup】Equipped with a detailed instruction in the package, you could program the remote just by a few simple steps. Small size but big buttons. It's more convenient for the old and children to use.
- 【Permanent Memory】Once programmed, these codes are permanently stored in the memory chip. Even if the power is cut off, the battery is replaced, or the device is left unused for an extended period, the learned infrared code values will not be lost, eliminating the need for repeated setup.
- 【Please note】 Please make sure your original remote is an infrared remote and it is working well. If your original remote can't work well, our remote can not learn its function. (For some special originals, it might be failed in copying or have to repeat learning the function keys for successfully usage.)
Transmitter
The MCU must create both the carrier and the protocol’s burst/gap sequence. The LED driver switches the IR LED with controlled pulse current. A 950 nm LED is a practical example, but wavelength, forward voltage, pulse rating, resistor and supply must match the chosen LED. A transistor improves current control and range; it does not guarantee a particular distance.
How learning and replay work
- Enter learning mode and select a button or memory slot.
- Point the original handset at the receiver and hold its button.
- Capture receiver-output transitions with a timer or interrupt.
- Measure every mark and space, count transitions and estimate or select the carrier frequency.
- Identify a known protocol when possible, while retaining the raw capture for unknown formats.
- Store timing data and metadata in nonvolatile memory.
- Exit learning mode, press the new button and regenerate the carrier while replaying the stored sequence.
A record should normally include pulse and gap durations, transition count, carrier frequency or preset, repeat behavior and (when decoded) protocol, checksum and state information. Microchip’s AN657 discusses microcontroller IR decoding and modulated versus non-modulated receiver approaches.
Rank #4
- 5 different colors. Choose the one that matches the best with you and your car audio system to have the control in the palm of your hand
- Infrared connection, up to 500m long range
- Universal compatibility, factory pre-programmed for 11 brands, and more than 60 different audio head units
- Learning mode: you can teach any function to each key, it's just necessary to have the original remote to teach the new functions key by key. Allows you to control, audio system, home theater, garage doors, electronic gates, AC and every kind of infrared device
- 16 functions 8 keys, each key can learn two different functions ( including power button ) by pressing the key 2nd, when on learning mode and to use the second function
Replay strategies
| Mode | Strength | Limitation |
|---|---|---|
| Protocol replay | Compact, deterministic and able to maintain protocol state | Needs a decoder and support for the target protocol |
| Raw replay | Works with unknown commands and proprietary timings | Consumes more memory and depends on capture fidelity |
| Hybrid | Decodes common protocols and stores raw fallbacks | Most firmware complexity |
Begin at 38 kHz for common television and audio equipment, but support adjustable carriers when possible. A fixed carrier can fail if the target uses a different passband or modulation scheme.
Firmware details that determine compatibility
Repeat frames
Volume, channel and navigation keys may send an initial frame followed by a repeat frame while held. Firmware should distinguish initial, repeat and key-release timeout events.
Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Fix the driver behind crashes, sound loss and screen glitches3Clear out junk files and repair common Windows errorsBest Value
- 【Note】MOES SMART IR blaster come with UL certified adapter and USB 2.0 cable,you may plug wherever there is a socket or USB port.One single room one smart IR is recommended as infrared can not break through the wall.Only supports 2.4G Wifi connection.For brands supported by IR blaster, please check the users' guide and use the search function to inquire.
- 【All-in One Control】MOES All-in-one IR remote controller devote to activate Air conditioners,TVs,fans,DVDs,STBs,TV BOXes etc Infraed device with one single MOES SMART IR(Only support Ir (38KHZ), RF not included)
- 【Remote Control from Anywhere】Equip with MOES Smart IR Controller,you may control IR devices with free mobile "Smart Life/Tuya" app anytime anywhere(Compatible with Android&iOS).
- 【Hands-free Voice Control】Alexa,set A/C to 77 degrees Fahrenheit.A voice command can activate MOES Smart IR controller to remotely control most infrared control device.Such as air condition,FAN,TV,DVD,STB,TV BOX etc.(Furthermore compatible brand or device,please check attached list or Smart Life APP.
- 【Customized DIY Copy Function】If you can not find IR device brand in "Smart Life"App,Programable DIY learning function may help to copy same function from orginal remote.Most IR remote control Device will be applicable such as fireplaces,heater,ceiling fans.
Toggle and state bits
Some protocols alternate a bit on successive presses. Replaying one captured frame forever may work once and then fail; protocol-aware firmware must update the expected state.
Air-conditioner messages
Many air-conditioner remotes transmit the complete state—temperature, mode, fan, swing and timers—in one long packet. A project documented captures of about 700 bits (85 bytes) for some signals; treat that as a project-specific example, not a universal requirement (project documentation, PDF). Provide a larger capture buffer and preserve state when supporting these devices.
Example control logic
initialize_hardware()
load_saved_commands()
while true:
if learn_button_pressed():
slot = select_memory_slot()
waveform = capture_ir_receiver()
metadata = analyze_waveform(waveform)
save(slot, waveform, metadata)
if user_button_pressed():
command = load_selected_command()
transmit(command, command.carrier_frequency)
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Assembly and bring-up
- Select the MCU operating voltage and regulator.
- Choose a receiver whose carrier sensitivity suits the remotes you will learn.
- Wire VCC, ground and output exactly as the receiver datasheet specifies.
- Connect the output to a timer-capable or interrupt-capable MCU input.
- Wire buttons with internal pull-ups or correctly sized external resistors.
- Connect the carrier/data output to the transistor or MOSFET driver.
- Fit the LED with the calculated resistor and verify polarity.
- Add local supply decoupling and inspect wiring before power-up.
- Capture a known remote with a logic analyzer or timer and verify timings.
- Store one command, transmit at short range, then check current, heating and supply stability before increasing range.
A phone camera may show an IR LED flashing, as described by SparkFun, but that only confirms approximate optical activity; it does not verify carrier, timing or output power.
Troubleshooting by symptom
| Symptom | Likely causes and actions |
|---|---|
| No waveform while learning | Wrong pinout, missing power, incompatible receiver or an RF/Bluetooth original remote. Check the datasheet and use a logic analyzer. |
| Learns but does not replay | Wrong carrier, reversed LED, inadequate driver current or incorrect stored timing. |
| Works only very close | Direct MCU drive, excessive series resistance, weak battery, poor LED alignment or insufficient transistor drive. |
| First press works, later presses fail | Unmanaged toggle bit or other stateful protocol behavior. |
| TV works but air conditioner does not | Capture buffer too short, incomplete long-state packet or missing checksum/state handling. |
| Random triggering | Sunlight or fluorescent interference, poor decoupling, unsuitable AGC behavior or floating input. |
| LED appears on a camera but the appliance ignores it | Incorrect protocol or carrier, insufficient optical power, bad alignment or wrong repeat behavior. |
Safety and scope limits
- IR is normally line-of-sight; walls and obstructions reduce reliability.
- Do not connect this low-voltage circuit directly to mains. Relay or appliance interfaces require isolation, enclosure, fusing and appropriate electrical safety design.
- A demodulating receiver may discard carrier-level information, so it cannot guarantee exact reproduction of every IR waveform.
- Encrypted, paired, RF, Bluetooth, Wi-Fi and HDMI-CEC systems need additional hardware and software.
Build or buy?
| Option | Best when | Main trade-off |
|---|---|---|
| Ready-made universal remote | You need immediate TV or audio control | Unsupported devices and limited customization |
| USB or network IR blaster | You want automation, macros or multi-room control | Software/network setup and often no physical keypad |
| Arduino or ESP prototype | You are experimenting or integrating custom buttons | Firmware, timing and range still require testing |
| Custom MCU PCB | You need a compact, offline or unusual-protocol design | Highest development effort |
| Universal IR receiver switch | You only need a remote button to operate a relay or lamp | It receives commands; it is not a universal transmitter. See the Sima SIS-1 documentation. |
For a breadboard prototype, the SparkFun circuit and DigiKey project provide practical starting points. For a dedicated design, consult Michael Kohn’s MSP430 example alongside the Microchip and Analog Devices references. A schematic solves only the hardware path; compatibility comes from the firmware, storage model and protocol handling.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

