Projects with an IR receiver and remote
19 Mokxi projects use an IR receiver and remote (5 beginner and 14 intermediate). They run on Arduino Uno, Raspberry Pi Pico and ESP32 boards. Here are all of them, from “IR remote codes on pin 12” to “Infrared remote rover”. Each card says what the project does, the board and parts it needs and its level, and Open in the simulator runs it in your browser in one click, with no account.
How to pick your first one
- Start with “IR decoder”, a beginner project that needs an IR receiver and remote and an IR remote.
- Arduino Uno runs 13 of them, Raspberry Pi Pico 3 and ESP32 2. Start on the board you have, or on an Arduino Uno if you are buying one.
- The parts used most here are the LED (5 projects), the buzzer (3) and the transistor (3). With those on hand, most of this list is open to you.
- Before you build one on a real bench, read the IR receiver and remote wiring guide for your board below. It gives every pin and the voltage notes.
19 projects ready to run

IR remote codes on pin 12
An infrared receiver on pin 12: press a button on the remote and the IRremote library prints the code it sends.
- Board
- Arduino Uno R3
- Parts
- IR receiver and remote, IR remote
- Level
- Beginner

Remote control light switch (IR on 12, servo on 11)
An IR receiver on pin 12 and a servo on pin 11: press 1 on the remote and the servo arm swings to flip a wall switch on, press 2 and it flips it off.
- Board
- Arduino Uno R3
- Parts
- IR receiver and remote, IR remote, servo motor
- Level
- Beginner

IR decoder
The kit remote and a VS1838B with the IRremote library: timer 2 samples the receiver in the background.
- Board
- Arduino Uno R3
- Parts
- IR receiver and remote, IR remote
- Level
- Beginner

IR receiver on pin 2
An IR receiver module on pin 2: press a button on the remote and the IRremote library prints the button’s name and its code.
- Board
- Arduino Uno R3
- Parts
- IR receiver and remote, IR remote
- Level
- Beginner

IR remote control relay module
IRremote and a 21-key handset: keys 1 to 4 toggle the four channels of a relay board, each switching a 12 V lamp, and 0 turns them all off.
- Board
- Arduino Uno R3
- Parts
- IR remote, IR receiver and remote, four-channel relay board, DC jack and adapter, filament lamp
- Level
- Beginner

MicroPython IR remote on a Pico: print each button’s code
MicroPython on a Raspberry Pi Pico: an IR receiver on GP15 decodes the kit remote’s NEC frames and prints each button’s hex code.
- Board
- Raspberry Pi Pico
- Parts
- IR receiver and remote, resistor, IR remote
- Level
- Intermediate

Guess the number: IR remote and an I2C LCD
The board picks a number from 0 to 99; type guesses on the remote (IR receiver on pin 2), press PLAY/PAUSE to check.
- Board
- Arduino Uno R3
- Parts
- IR receiver and remote, IR remote, I2C LCD
- Level
- Intermediate

Memory math game on an LCD and an IR remote
A sum flashes on a 16x2 LCD for two seconds, then you key the answer in on an IR remote (receiver on 12).
- Board
- Arduino Uno R3
- Parts
- 16x2 character LCD, RGB LED, resistor, IR receiver and remote, IR remote, +1 more
- Level
- Intermediate

Remote-controlled colors: IR on pin 2, RGB on 11, 10 and 9
An IR receiver on pin 2 and an RGB LED with red on 11, green on 10 and blue on 9.
- Board
- Arduino Uno R3
- Parts
- RGB LED, resistor, IR receiver and remote, IR remote
- Level
- Intermediate

Pico W infrared remote decoder on GP17
MicroPython on a Pico W: an IR receiver on GP17 and a small NEC decoder timed from pin interrupts print the name of each remote button pressed.
- Board
- Raspberry Pi Pico W
- Parts
- IR receiver and remote, IR remote
- Level
- Intermediate

MicroPython infrared remote codes on GPIO 15
MicroPython on an ESP32: an IR receiver on GPIO 15 and a small NEC decoder print the code of each button pressed on the remote.
- Board
- ESP32-DevKitC V4
- Parts
- IR remote, IR receiver and remote, resistor
- Level
- Intermediate

Laser tag: two Nanos
Infrared laser tag for two Arduino Nanos: each button fires an NEC code through an IR LED, and the other player’s VS1838B counts the hit.
- Board
- Arduino Nano
- Parts
- Infrared LED, IR receiver and remote, resistor, push button, LED, +1 more
- Level
- Intermediate

Remote stepper
An IR receiver on pin 12 and a 28BYJ-48 on its ULN2003 board: VOL+ turns the shaft a quarter turn and VOL- turns it back.
- Board
- Arduino Uno R3
- Parts
- 28BYJ-48 stepper and ULN2003, IR receiver and remote, IR remote
- Level
- Intermediate

MicroPython IR remote dimmer on a Pico: keys 0 to 3
MicroPython on a Raspberry Pi Pico: remote keys 0 to 3, read by an IR receiver on GP16, set four levels for the LED on GP14 and beep a buzzer.
- Board
- Raspberry Pi Pico
- Parts
- IR receiver and remote, resistor, IR remote, LED, transistor, +1 more
- Level
- Intermediate

Four AC lamps on an IR remote SSR board
Keys 1 to 4 on an IR handset toggle the four channels of a G3MB-202P solid-state relay board, each switching a 12 V AC lamp; 0 turns them all off.
- Board
- Arduino Uno R3
- Parts
- IR remote, IR receiver and remote, SSR board, signal generator, filament lamp
- Level
- Intermediate

Remote dimmer: IR on 12, LED on 5, buzzer on 13
Buttons 0 to 3 on the remote set the LED on pin 5 to off, dim, medium and full; an active buzzer on pin 13, switched by an NPN transistor.
- Board
- Arduino Uno R3
- Parts
- Resistor, LED, transistor, buzzer, IR receiver and remote, +1 more
- Level
- Intermediate

Remote-controlled lamps
A 21-button handset, a VS1838B and three lamps. NEC decoded from pulse widths, and a receiver that inverts everything it hears.
- Board
- Arduino Uno R3
- Parts
- IR remote, IR receiver and remote, resistor, LED
- Level
- Intermediate

MicroPython remote sets an LED’s brightness
MicroPython on an ESP32: keys 0 to 3 on an IR remote set the PWM brightness of the LED on GPIO 14, and a buzzer beeps on each key.
- Board
- ESP32-DevKitC V4
- Parts
- IR remote, IR receiver and remote, resistor, LED, buzzer, +1 more
- Level
- Intermediate

Infrared remote rover
A two-wheel robot driven from a 21-button infrared remote.
- Board
- Arduino Uno R3
- Parts
- MX1508 dual motor driver, 2WD robot car chassis, IR receiver and remote, IR remote
- Level
- Intermediate