Hi, sorry for the basic question but I’m completely stuck.
I’m trying to use the rbdimmer module with my Arduino Uno. I found some example code online and it starts with:
#include <RBDdimmer.h>
But when I try to compile I get this error:
fatal error: RBDdimmer.h: No such file or directory
I went to Sketch → Include Library → Manage Libraries and searched for “RBDdimmer” but nothing came up. I also tried “rbdimmer” and “rbd dimmer” — still no results.
I’m using Arduino IDE 2.3.2 on Windows 11. This is my first project with an AC dimmer so I’m not sure if I’m looking for the wrong library name or if I need to install it manually somehow.
Sorry if this is a dumb question — any help would be really appreciated!
Root cause: case-sensitive search in Library Manager.
The correct search term is RBDDimmer — note the capital D at the end. The library is published as “RBDDimmer” not “RBDdimmer”. Library Manager search is picky about this.
Steps:
- Sketch → Include Library → Manage Libraries
- Search:
RBDDimmer
- Install the latest version
- Your
#include <RBDdimmer.h> will then resolve correctly — the header filename inside the package is lowercase-d
If Library Manager still doesn’t find it install manually from GitHub:
- Download ZIP from GitHub - RobotDynOfficial/RBDDimmer: The following library is used for work with dimmer, it gives ability to control large ammoun of dimmer. This lib uses with Leonardo, Mega, UNO, ESP8266, ESP32, Arduino M0, Arduino Zero, Arduino Due, STM32. · GitHub
- Sketch → Include Library → Add .ZIP Library → select the downloaded file
- Restart IDE
Note: if you’re on an ESP32 rather than an AVR board you want a different library entirely — search for rbdimmerESP32 in Library Manager or grab it from GitHub - robotdyn-dimmer/rbdimmerESP32: Universal AC Dimmer Library for ESP32 (Arduino and ESP-IDF) · GitHub. The old RBDDimmer library technically compiles on ESP32 but has known interrupt issues (missing IRAM_ATTR etc.).
It works! Thank you very much for the help!
I searched for “RBDDimmer” with the capital D and it showed up right away. I feel silly — I was so close but the capitalization tripped me up.
Installed it and my code compiles now with no errors. I’m using an Arduino Uno so the regular RBDDimmer library is the right one for me.
Good to know about the ESP32 version too — I’m planning to upgrade to an ESP32 later for WiFi control so I’ll remember to switch to rbdimmerESP32 when I do.
Thanks again for the quick and clear answer!