# RBDimmer

> Open-source AC dimmer modules and libraries for ESP32, Arduino, and ESPHome. Phase-cut TRIAC dimmers with hardware, software library, documentation, and ready-made integrations for Home Assistant, ESPHome, Blynk, and ESP RainMaker.

RBDimmer is a hardware and firmware ecosystem for controlling AC loads (lights, heaters, fans, motors) with microcontrollers. Products range from 4A to 40A single- and multi-channel dimmer modules. All products are compatible with the rbdimmerESP32 Arduino library and DimmerLink UART/I2C controller for high-channel-count applications.

## Products

- [AC Dimmer 4A (1 channel)](https://www.rbdimmer.com/shop/ac-dimmer-module-4a-1-channel-33v5v-logic-ac-400v-4a-6): Entry-level dimmer, 3.3V/5V logic, AC 400V max
- [AC Dimmer 8A (1 channel)](https://www.rbdimmer.com/shop/ac-dimmer-module-8a-1-channel-33v5v-logic-ac-400v-8a-4): Most popular model
- [AC Dimmer 8A (2 channel)](https://www.rbdimmer.com/shop/ac-dimmer-module-8a-2-channel-33v5v-logic-ac-400v-8a-5): Dual-channel version
- [AC Dimmer 16-24A with current sensor](https://www.rbdimmer.com/shop/ac-dimmer-module-1624a-with-current-sensor-33v5v-logic-temperature-control-19): With temperature control and current monitoring
- [AC Dimmer 40A (1 channel)](https://www.rbdimmer.com/shop/ac-dimmer-module-40a-1-channel-33v5v-logic-ac-600v-40a-9): High-power, AC 600V
- [DIN-Rail Dimmer 2x8A](https://www.rbdimmer.com/shop/dimmer-module-din-rail-2-channel-33v5v-logic-8a600v-per-channel-10): DIN-mount version
- [DimmerLink Controller](https://www.rbdimmer.com/shop/dimmerlink-controller-uarti2c-interface-for-ac-dimmers-48): UART/I2C multi-dimmer controller
- [SCT-013 Sensor Adapter](https://www.rbdimmer.com/shop/sct-013-sensor-adapter-31): Current sensor interface

## Documentation

- [rbdimmerESP32 Library Guide](https://www.rbdimmer.com/docs/dimmers-universal-library-for-esp32-arduino-guide-and-examples): Complete Arduino library documentation with examples
- [Hardware Connection Guide](https://www.rbdimmer.com/docs/hardware-connection): How to wire dimmers to ESP32/Arduino
- [Selecting a Dimmer](https://www.rbdimmer.com/docs/selecting-dimmer): Choosing the right model for your load
- [Dimmers Guide (Overview)](https://www.rbdimmer.com/docs/dimmers-guide): Introduction to phase-cut dimming
- [DimmerLink Overview](https://www.rbdimmer.com/docs/dimmerlink-overview): UART/I2C controller documentation
- [DimmerLink UART Communication](https://www.rbdimmer.com/docs/dimmerlink-UartCommunication): UART protocol reference
- [DimmerLink I2C Communication](https://www.rbdimmer.com/docs/dimmerlink-I2CCommunication): I2C protocol reference
- [DimmerLink ESPHome Integration](https://www.rbdimmer.com/docs/dimmerlink-esphome): Native ESPHome support

## Integration Guides

- [ESP32 Web Server with Slider](https://www.rbdimmer.com/blog/integration-guides-8/dimmer-controller-esp32-8266-web-server-with-slider-arduino-code-1): Browser-based control
- [ESP RainMaker Cloud Integration](https://www.rbdimmer.com/blog/integration-guides-8/dimmer-with-esp32-esp-rainmaker-cloud-platform-mobile-app-3): Amazon Alexa, Google Home
- [MQTT Home Assistant Integration](https://www.rbdimmer.com/blog/integration-guides-8/dimmer-with-esp8266-esp32-mqtt-publish-and-subscribe-with-arduino-ide-connecting-to-home-assistant-node-red-amazon-aws-and-openhab-2): HA, Node-RED, AWS, OpenHAB

## Technical Background

- [AC Dimmer Theory (TRIAC + Zero-Cross)](https://www.rbdimmer.com/blog/tech-articles-1/ac-dimmer-based-on-zero-cross-detector-and-triac-operating-principles-and-applications-5): How phase-cut dimming works
- [Trailing Edge vs Leading Edge](https://www.rbdimmer.com/blog/faq-9/trailing-edge-vs-leading-edge-which-dimmer-method-to-choose-14): Choosing dimming method
- [LED Lamps Compatibility](https://www.rbdimmer.com/blog/faq-9/led-lamps-with-ac-dimmer-triac-or-mosfet-compatibility-guide-15): TRIAC vs MOSFET for LEDs

## Source Code (GitHub)

- [robotdyn-dimmer/rbdimmerESP32](https://github.com/robotdyn-dimmer/rbdimmerESP32): Arduino library for ESP32
- [robotdyn-dimmer/DimmerLink](https://github.com/robotdyn-dimmer/DimmerLink): UART/I2C controller firmware
- [robotdyn-dimmer/ACRouter](https://github.com/robotdyn-dimmer/ACRouter): AC power router firmware
- [RobotDynOfficial/RBDDimmer](https://github.com/RobotDynOfficial/RBDDimmer): Original Arduino library (legacy, 280 stars)

## Supported Platforms

- Arduino IDE (ESP32, ESP8266)
- PlatformIO
- ESPHome (native component)
- Home Assistant (via ESPHome/MQTT)
- ESP RainMaker (Amazon Alexa, Google Home)
- Blynk IoT platform

## Languages

Documentation is available in: English (default), French (/fr/), German (/de/), Spanish (/es/), Italian (/it/), Russian (/ru/).

## Contact

- Website: https://www.rbdimmer.com
- Forum: https://forum.rbdimmer.com
- Support: https://www.rbdimmer.com/customer-support
