---
product_id: 46417439
title: "1 Channel Arduino Light Dimmer, Arduino Dimmer Module, Arduino AC Light Dimmer Controller, AC Dimmer Module for Arduino, STM32, ARM, AVR, 3.3V/5V Logic, AC 50/60hz, 220V/110V"
brand: "robotdyn"
price: "€ 3.37"
currency: EUR
in_stock: true
reviews_count: 6
url: https://www.desertcart.hr/products/46417439-1-channel-arduino-light-dimmer-arduino-dimmer-module-arduino-ac
store_origin: HR
region: Croatia
---

# 8A Load Power Smart Home Ready AC/DC Compatibility 1 Channel Arduino Light Dimmer, Arduino Dimmer Module, Arduino AC Light Dimmer Controller, AC Dimmer Module for Arduino, STM32, ARM, AVR, 3.3V/5V Logic, AC 50/60hz, 220V/110V

**Brand:** robotdyn
**Price:** € 3.37
**Availability:** ✅ In Stock

## Summary

> Illuminate Your Innovations! 💡

## Quick Answers

- **What is this?** 1 Channel Arduino Light Dimmer, Arduino Dimmer Module, Arduino AC Light Dimmer Controller, AC Dimmer Module for Arduino, STM32, ARM, AVR, 3.3V/5V Logic, AC 50/60hz, 220V/110V by robotdyn
- **How much does it cost?** € 3.37 with free shipping
- **Is it available?** Yes, in stock and ready to ship
- **Where can I buy it?** [www.desertcart.hr](https://www.desertcart.hr/products/46417439-1-channel-arduino-light-dimmer-arduino-dimmer-module-arduino-ac)

## Best For

- robotdyn enthusiasts

## Why This Product

- Trusted robotdyn brand quality
- Free international shipping included
- Worldwide delivery with tracking
- 15-day hassle-free returns

## Key Features

- • **Ideal for Projects:** Perfect for home automation, school projects, and DIY enthusiasts.
- • **High Power Handling:** Supports up to 8A for robust applications.
- • **Isolated Safety Design:** Ensures complete isolation between low and high voltage sides.
- • **Smooth Dimming Control:** Create the perfect ambiance with gradual lighting adjustments.
- • **Versatile Compatibility:** Seamlessly integrates with Arduino Uno, Mega, and more!

## Overview

The 1 Channel Arduino Light Dimmer is a versatile module designed for controlling AC voltage in various applications, from smart home lighting to DIY projects. With compatibility across multiple platforms and a robust design, it offers a safe and effective solution for both hobbyists and professionals.

## Description

Buy 1 Channel Arduino Light Dimmer, Arduino Dimmer Module, Arduino AC Light Dimmer Controller, AC Dimmer Module for Arduino, STM32, ARM, AVR, 3.3V/5V Logic, AC 50/60hz, 220V/110V: Tools & Home Improvement - desertcart.com ✓ FREE DELIVERY possible on eligible purchases

Review: Does not work as a dimmer - UPDATED The documentation on this product is very poor. The sketch provided by the manufacturer does not work. That being said, with the following sketch I found elsewhere on the internet: /* AC Voltage dimmer with Zero cross detection Author: Charith Fernanado  http://www.inmojo.com  Adapted by DIY_bloke License: Creative Commons Attribution Share-Alike 3.0 License. Attach the Zero cross pin of the module to Arduino External Interrupt pin Select the correct Interrupt # from the below table (the Pin numbers are digital pins, NOT physical pins: digital pin 2 [INT0]=physical pin 4 and digital pin 3 [INT1]= physical pin 5) check:  http://www.inmojo.com  Pin | Interrrupt # | Arduino Platform --------------------------------------- 2 | 0 | All -But it is INT1 on the Leonardo 3 | 1 | All -But it is INT0 on the Leonardo 18 | 5 | Arduino Mega Only 19 | 4 | Arduino Mega Only 20 | 3 | Arduino Mega Only 21 | 2 | Arduino Mega Only 0 | 0 | Leonardo 1 | 3 | Leonardo 7 | 4 | Leonardo The Arduino Due has no standard interrupt pins as an iterrupt can be attached to almosty any pin. In the program pin 2 is chosen */ int AC_LOAD = 3; // Output to Opto Triac pin unsigned char dimming = 128; // Dimming level (0-128) 0 = ON, 128 = OFF void setup() { pinMode(AC_LOAD, OUTPUT);// Set AC Load pin as output attachInterrupt(0, zero_crosss_int, RISING); // Choose the zero cross interrupt # from the table above } //the interrupt function must take no parameters and return nothing void zero_crosss_int() //function to be fired at the zero crossing to dim the light { // Firing angle calculation : 1 full 50Hz wave =1/50=20ms // Every zerocrossing thus: (50Hz)-> 10ms (1/2 Cycle) // For 60Hz => 8.33ms (10.000/120) // 10ms=10000us // (10000us - 10us) / 128 = 75 (Approx) For 60Hz =>65 int dimtime = (65*(int)dimming); // For 60Hz =>65 delayMicroseconds(dimtime); // Wait till firing the TRIAC digitalWrite(AC_LOAD, HIGH); // Fire the TRIasdf;lkjdidimv2 delayMicroseconds(10); // triac On propogation delay // (for 60Hz use 8.33) Some Triacs need a longer period digitalWrite(AC_LOAD, LOW); // No longer trigger the TRIAC (the next zero crossing will swith it off) TRIAC } void loop() { for (int i=5; i <= 126; i++){ dimming=i; delay(10); } } It works perfectly.
Review: Doesn't work. Neither sellers convoluted sketch, nor a ... - The sketch provided by the seller doesn't work. Hardware works fine (PWM pin is really the gate of the TRIAC).

## Technical Specifications

| Specification | Value |
|---------------|-------|
| ASIN | B072K9P7KH |
| Brand | RobotDyn |
| Brand Name | RobotDyn |
| Connectivity Protocol | Wi-Fi |
| Current Rating | 8 Amps |
| Customer Reviews | 3.9 out of 5 stars 31 Reviews |
| International Protection Rating | IP54 |
| Item Dimensions | 5.12 x 3.35 x 1.57 inches |
| Item Weight | 24.6 Grams |
| Manufacturer | Zhuhai RobotDyn Technology Co.,Ltd (China) |
| Material | Stainless Steel |
| Material Type | Stainless Steel |
| Operating Voltage | 220 Volts |
| Operation Mode | ON-OFF |
| Switch Type | Dimmer Switch |
| Unit Count | 1.0 Count |

## Product Details

- **Brand:** RobotDyn
- **Connectivity Protocol:** Wi-Fi
- **Current Rating:** 8 Amps
- **International Protection Rating:** IP54
- **Item dimensions L x W x H:** 5.12 x 3.35 x 1.57 inches
- **Material:** Stainless Steel
- **Operating Voltage:** 220 Volts
- **Operation Mode:** ON-OFF
- **Switch Type:** Dimmer Switch
- **Unit Count:** 1.0 Count

## Images

![1 Channel Arduino Light Dimmer, Arduino Dimmer Module, Arduino AC Light Dimmer Controller, AC Dimmer Module for Arduino, STM32, ARM, AVR, 3.3V/5V Logic, AC 50/60hz, 220V/110V - Image 1](https://m.media-amazon.com/images/I/51nNy1K6BjL.jpg)
![1 Channel Arduino Light Dimmer, Arduino Dimmer Module, Arduino AC Light Dimmer Controller, AC Dimmer Module for Arduino, STM32, ARM, AVR, 3.3V/5V Logic, AC 50/60hz, 220V/110V - Image 2](https://m.media-amazon.com/images/I/51bbOsZxtSL.jpg)

## Questions & Answers

**Q: There are no instructions that come with this - can someone provide how to wire it and some sample code for an arduino?**
A: //ZERO----2
//DIMMER----11


int i;
int ZDpin=0;
void setup(){
  Serial.begin(9600);
  pinMode(A0,INPUT);
  pinMode(11,OUTPUT);
  pinMode(13,OUTPUT);
  pinMode(10,OUTPUT);
}

void light(){
  delay(3);
  digitalWrite(10,1);
}

void loop(){
  i=digitalRead(10);
  digitalWrite(13,0);
  digitalWrite(10,0);
  attachInterrupt(ZDpin,light,RISING);
  delay(20);
  if(i==1){
    delay(3);
      digitalWrite(13,1);
      pwm();

  }
}

void pwm()
{
  for (int a=0; a<=255;a++)                
  {
    analogWrite(11,a);
    delay(8);                                         
  }
    for (int a=255; a>=0;a--)             
  {
    analogWrite(11,a);
    delay(8);                             
  }
  delay(800);           
}

**Q: can you also provide wiring diagram for a simple light? N L are not labeled???**
A: Hello friend,
GND to GND
VCC to 5V

Simple sketch.
//ZERO----2
//DIMMER----11


int i;
int ZDpin=0;
void setup(){
  Serial.begin(9600);
  pinMode(A0,INPUT);
  pinMode(11,OUTPUT);
  pinMode(13,OUTPUT);
  pinMode(10,OUTPUT);
}

void light(){
  delay(3);
  digitalWrite(10,1);
}

void loop(){
  i=digitalRead(10);
  digitalWrite(13,0);
  digitalWrite(10,0);
  attachInterrupt(ZDpin,light,RISING);
  delay(20);
  if(i==1){
    delay(3);
      digitalWrite(13,1);
      pwm();

  }
}

void pwm()
{
  for (int a=0; a<=255;a++)                
  {
    analogWrite(11,a);
    delay(8);                                         
  }
    for (int a=255; a>=0;a--)             
  {
    analogWrite(11,a);
    delay(8);                             
  }
  delay(800);           
}

**Q: is this UL listed?  does it need to?**
A: Is it listed UL listed? .. it can't be, it's not a complete assembly. Would it pass even if it was? .. no, and neither does (nor do they even try) things like Sonoff modules.
Must it be? .. Legally speaking? .. no, and neither does anything else. UL is not a government agency, it's funded by insurance companies. The FCC has a say on the Sonoff's but hillariously, look up some of those certification numbers and the pictures, it's just the wifi module they submit, not the whole thing.

What's that mean for you? .. well,  in worst case something goes wrong, for example, since the ESP(*) modules aren't a RTOS (real-time) system, they might hang, and the zero-cross detection matters when you're trying to do A/C dimming in the way most devices expect. If your light bulbs are sourced from the same end of the spectrum, they'll at the very least stink, and perhaps blow the breaker. If you try and use it on a ceiling fan, it's a question of which one will shoot sparks first, unless you know how to design a VFD in Arduino, again, subject to the RTOS problem, as motors don't care for the sine wave to disappear half-way and come back full power before the windings have made it around. This is not hard, but do note that they're fibbing when they say this is a MOSFET unit (which would work for that), it's a standard triac one (their schematic for it is here .. note Q1, that's a triac if you're not familiar with circuit icons. The other ones are optocouplers that isolate the logic side from the triac and ZCD). https://robotdyn.com/pub/media/0G-00005677==Mod-Dimmer-5A-1L/DOCS/Schematic==0G-00005677==Mod-Dimmer-5A-1L.pdf

In general, my advice would be .. if you're asking this question, stick to brand-name units that are purpose built and delivered as finished modules. On the other hand, if you're perfectly capabible with a soldering iron and you're pretty sure that if things go south, the plastic box in the wall will contain whatever lets loose (yes, it usually does, at least for long enough to blow the breaker) .. but the smell of burnt Chineesium persists for a week in the house, regardless of what you do. If your SO/spouse is as understanding as mine, go for it, the code libraries are on RobotDyn's website .. practice with an incandecent bulb though.

Also note: Since every bulb these days is LED, there's a bunch you can buy that have wifi (always an ESP8266) already in them, many of which you can program with the likes of ESPEasy/Tasmota/etc .. then you just need to wire up the wall switch as a logic gate (eg: 10k resistor across GPIO and ground) to a (whatever little module you want) .. and have your MQTT broker tell the light how bright it needs to be. I will warn you not to put this in the ceiling fixture though, expect to need to get in and fiddle with it at least once a year when you fudge the flashing of whatever it is you're driving the thing with.

mosquitto_pub -h broker.local -t cmnd/gizmo/setoption -m "FailureSmoke 0"

**Q: what is the purpose of the c-z pin? vcc, gnd and Pam all make sense, but I can't find the purpose of the c-z**
A: It's not c-z it's Z-C which stands for Zero Cross. It's the signal that the ac line line voltage is a 0. On a 60hz system this occurs 120 times per second. It's an Input to your controller. The PWM is an output from the controller to the dimmer. Based on the dimming level that you select / program into your system after the Z-C activates the controller waits X milliseconds before it enables the PWM Line. Note: I have limited the dim setting from 30-90 any lower or higher causes the lights to flicker

## Customer Reviews

### ⭐⭐⭐⭐⭐ Does not work as a dimmer
*by D***. on March 17, 2018*

UPDATED The documentation on this product is very poor. The sketch provided by the manufacturer does not work. That being said, with the following sketch I found elsewhere on the internet: /* AC Voltage dimmer with Zero cross detection Author: Charith Fernanado <a href="http://www.inmojo.com"> http://www.inmojo.com </a> Adapted by DIY_bloke License: Creative Commons Attribution Share-Alike 3.0 License. Attach the Zero cross pin of the module to Arduino External Interrupt pin Select the correct Interrupt # from the below table (the Pin numbers are digital pins, NOT physical pins: digital pin 2 [INT0]=physical pin 4 and digital pin 3 [INT1]= physical pin 5) check: <a href="http://arduino.cc/en/Reference/attachInterrupt"> http://www.inmojo.com </a> Pin | Interrrupt # | Arduino Platform --------------------------------------- 2 | 0 | All -But it is INT1 on the Leonardo 3 | 1 | All -But it is INT0 on the Leonardo 18 | 5 | Arduino Mega Only 19 | 4 | Arduino Mega Only 20 | 3 | Arduino Mega Only 21 | 2 | Arduino Mega Only 0 | 0 | Leonardo 1 | 3 | Leonardo 7 | 4 | Leonardo The Arduino Due has no standard interrupt pins as an iterrupt can be attached to almosty any pin. In the program pin 2 is chosen */ int AC_LOAD = 3; // Output to Opto Triac pin unsigned char dimming = 128; // Dimming level (0-128) 0 = ON, 128 = OFF void setup() { pinMode(AC_LOAD, OUTPUT);// Set AC Load pin as output attachInterrupt(0, zero_crosss_int, RISING); // Choose the zero cross interrupt # from the table above } //the interrupt function must take no parameters and return nothing void zero_crosss_int() //function to be fired at the zero crossing to dim the light { // Firing angle calculation : 1 full 50Hz wave =1/50=20ms // Every zerocrossing thus: (50Hz)-> 10ms (1/2 Cycle) // For 60Hz => 8.33ms (10.000/120) // 10ms=10000us // (10000us - 10us) / 128 = 75 (Approx) For 60Hz =>65 int dimtime = (65*(int)dimming); // For 60Hz =>65 delayMicroseconds(dimtime); // Wait till firing the TRIAC digitalWrite(AC_LOAD, HIGH); // Fire the TRIasdf;lkjdidimv2 delayMicroseconds(10); // triac On propogation delay // (for 60Hz use 8.33) Some Triacs need a longer period digitalWrite(AC_LOAD, LOW); // No longer trigger the TRIAC (the next zero crossing will swith it off) TRIAC } void loop() { for (int i=5; i <= 126; i++){ dimming=i; delay(10); } } It works perfectly.

### ⭐⭐⭐ Doesn't work. Neither sellers convoluted sketch, nor a ...
*by P***V on December 13, 2017*

The sketch provided by the seller doesn't work. Hardware works fine (PWM pin is really the gate of the TRIAC).

### ⭐⭐⭐⭐⭐ It's an optically isolated TRIAC with zero-crossing detector circuitry.
*by R***B on February 2, 2018*

Works as expected. It's an optically isolated TRIAC with zero-crossing detector circuitry. Simple but functional. The thing to remember is that a TRIAC only turns off at the zero-crossing even after the "PWM" signal has been removed. So if you want to use it as a dimmer, then you need to enable (active high) "PWM" somewhere inside the AC waveform and release on the ZC signal going high. I'm using mine as a switch so I'm using the ZC signal to enable close to 0V on AC. A note about the ZC output: This is just a pull-up to VCC that is pulled down by AC action on the other side of an opto-isolator. Since there has to be a large current-limiting resistor on the AC side, the signal is rather wide (I measured ~1ms at 115VAC). So, about 500us after the signal goes high should get you really close to 0V if needed.

---

## Why Shop on Desertcart?

- 🛒 **Trusted by 1.3+ Million Shoppers** — Serving international shoppers since 2016
- 🌍 **Shop Globally** — Access 737+ million products across 21 categories
- 💰 **No Hidden Fees** — All customs, duties, and taxes included in the price
- 🔄 **15-Day Free Returns** — Hassle-free returns (30 days for PRO members)
- 🔒 **Secure Payments** — Trusted payment options with buyer protection
- ⭐ **TrustPilot Rated 4.5/5** — Based on 8,000+ happy customer reviews

**Shop now:** [https://www.desertcart.hr/products/46417439-1-channel-arduino-light-dimmer-arduino-dimmer-module-arduino-ac](https://www.desertcart.hr/products/46417439-1-channel-arduino-light-dimmer-arduino-dimmer-module-arduino-ac)

---

*Product available on Desertcart Croatia*
*Store origin: HR*
*Last updated: 2026-03-11*