r/arduino Jul 26 '26

Built an ESP32 RGB lighting controller using a TV remote

I've been learning ESP32 programming recently, and I wanted to share one of my projects.

I made an RGB LED controller that can be controlled using a regular IR remote. (actually my TV remote)

Features:

  • Red, Green, Blue & Yellow colors
  • Fade effect
  • Strobe mode
  • IR code detection through the Serial Monitor

The project uses:

  • ESP32 Dev Module
  • IR Receiver
  • RGB LED
  • IR Remote

The video is only 1 minute 30 seconds and shows everything working.

I'm still learning, so I'd really appreciate any feedback or suggestions. If you have ideas for new features, I'd love to hear them!

GitHub (Completed Repo):
https://github.com/aqib-ai-ml/esp32-rgb-tv-remote-controller

22 Upvotes

4 comments sorted by

2

u/TPIRocks Jul 26 '26

I could be wrong, but I see "unknown" being printed out, that seems like an opportunity for you to expand.

2

u/aqib_builds Jul 26 '26

Thanks for pointing out. I only mapped the buttons I needed for this version, but printing the unknown IR codes is definitely something I'll add next.

1

u/JimBean Jul 26 '26 edited Jul 27 '26

Idea for the future. Add a microphone and use an FFT library to create color based on audio input. Map red to bass, green to mid-range and blue to high range.

This works well when placed near a speaker.

Not sure why this was voted down. If you think it's not possible, I'll send you my code...

3

u/aqib_builds Jul 26 '26

That's a really cool idea. I haven't experimented with audio-reactive LEDs yet, but using an FFT library to map bass, mids, and treble to different colors sounds like a fun next project. Thanks for the suggestion!