---
product_id: 577344998
title: "MOSFET Trailing Edge AC LED Light Dimmer - Precise Dimming Control for Incandescent and DIMMABLE LED Bulbs - Compatible with Arduino, Raspberry Pi, ESP8266, ESP32, Flicker-Free, High Power"
brand: "iotmug"
price: "€ 42.23"
currency: EUR
in_stock: true
reviews_count: 5
category: "Iot Mug"
url: https://www.desertcart.at/products/577344998-mosfet-trailing-edge-ac-led-light-dimmer-precise-dimming-control
store_origin: AT
region: Austria
---

# 500W high power output Flicker-free trailing edge dimming Arduino & Raspberry Pi compatible MOSFET Trailing Edge AC LED Light Dimmer - Precise Dimming Control for Incandescent and DIMMABLE LED Bulbs - Compatible with Arduino, Raspberry Pi, ESP8266, ESP32, Flicker-Free, High Power

**Brand:** iotmug
**Price:** € 42.23
**Availability:** ✅ In Stock

## Summary

> 💡 Light up your life with precision and power – don’t get left in the dark!

## Quick Answers

- **What is this?** MOSFET Trailing Edge AC LED Light Dimmer - Precise Dimming Control for Incandescent and DIMMABLE LED Bulbs - Compatible with Arduino, Raspberry Pi, ESP8266, ESP32, Flicker-Free, High Power by iotmug
- **How much does it cost?** € 42.23 with free shipping
- **Is it available?** Yes, in stock and ready to ship
- **Where can I buy it?** [www.desertcart.at](https://www.desertcart.at/products/577344998-mosfet-trailing-edge-ac-led-light-dimmer-precise-dimming-control)

## Best For

- iotmug enthusiasts

## Why This Product

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

## Key Features

- • **Multiple Dimming Modes:** Choose from PWM, PSM, trailing, or leading edge dimming to customize your lighting experience.
- • **Compact & Versatile Design:** Space-saving 50x90mm PCB fits effortlessly into any setup, elevating your lighting control game.
- • **Precision Ambiance Control:** Tailor your lighting with ultra-smooth, flicker-free dimming for both incandescent and dimmable LEDs.
- • **Robust 500W Power Handling:** Power through your lighting needs with high-capacity output supporting diverse applications.
- • **Seamless Microcontroller Integration:** Plug & play compatibility with Arduino, Raspberry Pi, ESP8266, ESP32 – perfect for smart home and DIY projects.

## Overview

The MOSFET Trailing Edge AC LED Light Dimmer by IotMug delivers precise, flicker-free dimming compatible with incandescent and dimmable LED bulbs. Supporting up to 500W output and multiple dimming methods, it integrates seamlessly with popular microcontrollers like Arduino and Raspberry Pi. Its compact design and versatile compatibility make it ideal for professional and DIY smart lighting projects.

## Description

Introducing our innovative MOSFET Trailing Edge AC LED Light Dimmer, the pinnacle of lighting control technology. This next-generation dimmer leverages high voltage MOSFET transistors to deliver flawless dimming performance. MOSFET Trailing Edge AC LED Light Dimmers are often referred to as "Reverse Phase dimmers," and they have been purpose-built for one thing - precise lighting control.Key Features:Versatile Compatibility: Our dimmers are fully compatible with both incandescent bulbs and DIMMABLE LED bulbs, making them the perfect choice for a wide range of lighting solutions.Stable and Flicker-Free Dimming: Enjoy stable and flicker-free dimming at any level, ensuring a smooth transition from bright illumination to a cozy ambiance.Wide Voltage Range: With a working voltage of ~100V to ~120VAC for 60Hz and ~200V to ~240VAC for 50Hz, these dimmers offer flexibility for different electrical setups.High Output Power: Our MOSFET Trailing Edge AC LED Light Dimmers can handle an impressive output power of up to 500W, providing excellent control over your lighting.Microcontroller Compatibility: These dimmers are compatible with popular development boards like Arduino, Raspberry Pi, ESP8266, ESP32, and Adafruit boards, ensuring seamless integration into your projects.Various Dimming Methods: Choose from multiple dimming methods, including PWM, PSM, Trailing, and Leading edge, to suit your specific lighting requirements.Compact Design: The PCB size is 50mm x 90mm, ensuring a space-efficient and easy-to-install solution for your lighting control needs.Elevate your lighting experience with our MOSFET Trailing Edge AC LED Light Dimmer. Whether you're a DIY enthusiast or a professional lighting designer, our dimmer is your key to achieving the perfect ambiance in any setting. Experience the future of lighting control today! Please see images for sample code. Please ask us if you have any questions.

Review: Good product, excellent support - Works well and can implement any dimmer waveform. Excellent service, would buy from this vendor again. Here is a version of the script for the ESP32-S3 using the latest timer API (that was changed in a way that breaks the existing timer based scripts) #define GATE 5 #define ZERO_CROSS_PIN 4 #define FREQ 8333 hw_timer_t *gateTimer = NULL; //timer 1Mhz resolution int dimmerLevel = 0; int timerActive = 0; long counter = 0; long counter2 = 0; long start = 0; long end = 0; void ARDUINO_ISR_ATTR ZeroCrossISR() { if (dimmerLevel > 0 && timerActive == 0) { digitalWrite(GATE, HIGH); timerAttachInterrupt(gateTimer, &TimerISR); //attach callback timerAlarm(gateTimer, ((FREQ * dimmerLevel) / 4096), true, 0); timerWrite(gateTimer, 0); //timerRestart(gateTimer); timerStart(gateTimer); timerActive = 1; counter++; //start = micros(); } else digitalWrite(GATE, LOW); delayMicroseconds(100); // debounce zero-crossing} } void ARDUINO_ISR_ATTR TimerISR() { digitalWrite(GATE, LOW ); //end = micros(); timerStop(gateTimer); timerActive = 0; counter2++; } void setup() { Serial.begin(9600); while (!Serial){} pinMode(ZERO_CROSS_PIN,INPUT_PULLUP); pinMode(GATE,OUTPUT); digitalWrite(GATE, LOW); attachInterrupt(ZERO_CROSS_PIN, &ZeroCrossISR, FALLING); gateTimer = timerBegin(1000000); timerAttachInterrupt(gateTimer, &TimerISR); } void loop() { /* Serial.print("Still running... "); Serial.print(counter); Serial.print(", "); Serial.print(counter2); Serial.print(" Microsecs = "); Serial.println(end - start); */ dimmerLevel = 0; for (int i = 0; i = 0; i -= 50) { dimmerLevel = i; } delay(5000); }
Review: It works great, but - The code offered will not compile! Customer Service??? Non existent. I developed this code that works as of 10/11/24 Good Luck! // Pin Definitions const int zero_cross_pin_ip2 = 2; // Input from zero-crossing detector const int mosfet_op9 = 9; // MOSFET gate control (PWM output) int dimming_level = 255; // Dimming level (0-255), adjust for brightness // Time per half cycle for 50Hz = 10000 microseconds (10ms), for 60Hz = 8333 microseconds (8.33ms) int AC_half_cycle = 72000; // Adjust for 50Hz or 60Hz AC - 72000 works best for my application // Zero crossing interrupt handler volatile bool zeroCrossDetected = false; void zeroCrossISR() { zeroCrossDetected = true; } void setup() { pinMode(mosfet_op9, OUTPUT); pinMode(zero_cross_pin_ip2, INPUT); // Attach interrupt to zero-crossing pin (RISING signal) attachInterrupt(digitalPinToInterrupt(zero_cross_pin_ip2), zeroCrossISR, RISING); Serial.begin(9600); delay(234); Serial.println("dimmer_AI2"); delay(234); } // end setup void loop() { if (zeroCrossDetected) { zeroCrossDetected = false; // Map dimming level (0-255) to time delay (0-AC_half_cycle) int delayTime = map(dimming_level, 0, 255, AC_half_cycle, 0); // Wait for the delay time (to control phase cut) delayMicroseconds(delayTime); // After the delay, turn the MOSFET ON to allow current to pass for the rest of the cycle digitalWrite(mosfet_op9, HIGH); // Keep MOSFET ON for the remaining cycle delayMicroseconds(AC_half_cycle - delayTime); // Turn MOSFET OFF at the end of the half-cycle digitalWrite(mosfet_op9, LOW); } // Optionally, update dimming level from Serial input for dynamic control char i_read = 'x'; int enter = 0x0A; int got_serial = false; char heres_what_i_read = ']'; if (Serial.available() > 0) { i_read = (Serial.read()); if (i_read != enter) { heres_what_i_read = i_read; } if (heres_what_i_read == 'd') { dimming_level = dimming_level - 10; Serial.print("dimming_level "); Serial.println(dimming_level); } if (heres_what_i_read == 'u') { dimming_level = dimming_level + 5; Serial.print("dimming_level "); Serial.println(dimming_level); } } } // end loop

## Features

- Precise Dimming: Achieve the perfect ambiance with precise dimming control using our MOSFET Trailing Edge AC LED Light Dimmer, compatible with both incandescent and DIMMABLE LED bulbs.
- Flicker-Free Performance: Say goodbye to annoying light flickering. Our dimmer ensures a stable, flicker-free experience at any dimming level.
- Versatile Compatibility: Suitable for a wide range of projects, our dimmer works with popular microcontrollers like Arduino, Raspberry Pi, ESP8266, ESP32, and other MCU
- High Power Output: With an impressive 500W output capacity, this dimmer provides the control you need for various lighting applications.
- Multiple Dimming Methods: Choose from various dimming methods, including PWM, PSM, Trailing, and Leading edge, to tailor your lighting to your preferences and project requirements.

## Technical Specifications

| Specification | Value |
|---------------|-------|
| ASIN | B0CL3RLKLC |
| Actuator Type | electronic" or "solid-state |
| Best Sellers Rank | #1,028,832 in Tools & Home Improvement ( See Top 100 in Tools & Home Improvement ) #1,589 in Dimmer Switches |
| Brand | IotMug |
| Brand Name | IotMug |
| Circuit Type | 1-way |
| Color | Black |
| Compatible Devices | Arduino, Raspberry Pi, ESP8266, ESP32, Adafruit boards |
| Connectivity Protocol | X-10 |
| Connector Type | Screw |
| Contact Material | Metal |
| Contact Type | Normally Open |
| Control Method | App |
| Control Type | Advanced |
| Controller Type | Microcontroller |
| Current Rating | 5 Amps |
| Customer Reviews | 3.8 out of 5 stars 5 Reviews |
| Item Dimensions | 1.97 x 3.54 x 0.47 inches |
| Manufacturer | IotMug |
| Material Type | Metal |
| Model | Mosfet Trailing Edge Dimmer |
| Mounting Type | Surface Mount |
| Number of Items | 1 |
| Number of Positions | 1 |
| Operating Voltage | 110 Volts |
| Operation Mode | automatic |
| Part Number | Mosfet Trailing Edge Dimmer For Arduino |
| Smart Home Compatibility | Smart Home Compatible |
| Switch Type | Dimmer Switch |
| Terminal | Through Hole |
| Unit Count | 1.0 Count |
| Wattage | 5 watts |

## Product Details

- **Brand:** IotMug
- **Circuit Type:** 1-way
- **Connector Type:** Screw
- **Contact Type:** Normally Open
- **Current Rating:** 5 Amps
- **Item dimensions L x W x H:** 1.97 x 3.54 x 0.47 inches
- **Operating Voltage:** 110 Volts
- **Operation Mode:** automatic
- **Switch Type:** Dimmer Switch
- **Terminal:** Through Hole

## Images

![MOSFET Trailing Edge AC LED Light Dimmer - Precise Dimming Control for Incandescent and DIMMABLE LED Bulbs - Compatible with Arduino, Raspberry Pi, ESP8266, ESP32, Flicker-Free, High Power - Image 1](https://m.media-amazon.com/images/I/81Wg9l7psVL.jpg)
![MOSFET Trailing Edge AC LED Light Dimmer - Precise Dimming Control for Incandescent and DIMMABLE LED Bulbs - Compatible with Arduino, Raspberry Pi, ESP8266, ESP32, Flicker-Free, High Power - Image 2](https://m.media-amazon.com/images/I/81pgZOlIGCL.jpg)
![MOSFET Trailing Edge AC LED Light Dimmer - Precise Dimming Control for Incandescent and DIMMABLE LED Bulbs - Compatible with Arduino, Raspberry Pi, ESP8266, ESP32, Flicker-Free, High Power - Image 3](https://m.media-amazon.com/images/I/81FhO9aNwKL.jpg)
![MOSFET Trailing Edge AC LED Light Dimmer - Precise Dimming Control for Incandescent and DIMMABLE LED Bulbs - Compatible with Arduino, Raspberry Pi, ESP8266, ESP32, Flicker-Free, High Power - Image 4](https://m.media-amazon.com/images/I/81dv2oI2fqL.jpg)
![MOSFET Trailing Edge AC LED Light Dimmer - Precise Dimming Control for Incandescent and DIMMABLE LED Bulbs - Compatible with Arduino, Raspberry Pi, ESP8266, ESP32, Flicker-Free, High Power - Image 5](https://m.media-amazon.com/images/I/81Gyc5H6okL.jpg)

## Customer Reviews

### ⭐⭐⭐⭐⭐ Good product, excellent support
*by E***N on August 11, 2024*

Works well and can implement any dimmer waveform. Excellent service, would buy from this vendor again. Here is a version of the script for the ESP32-S3 using the latest timer API (that was changed in a way that breaks the existing timer based scripts) #define GATE 5 #define ZERO_CROSS_PIN 4 #define FREQ 8333 hw_timer_t *gateTimer = NULL; //timer 1Mhz resolution int dimmerLevel = 0; int timerActive = 0; long counter = 0; long counter2 = 0; long start = 0; long end = 0; void ARDUINO_ISR_ATTR ZeroCrossISR() { if (dimmerLevel > 0 && timerActive == 0) { digitalWrite(GATE, HIGH); timerAttachInterrupt(gateTimer, &TimerISR); //attach callback timerAlarm(gateTimer, ((FREQ * dimmerLevel) / 4096), true, 0); timerWrite(gateTimer, 0); //timerRestart(gateTimer); timerStart(gateTimer); timerActive = 1; counter++; //start = micros(); } else digitalWrite(GATE, LOW); delayMicroseconds(100); // debounce zero-crossing} } void ARDUINO_ISR_ATTR TimerISR() { digitalWrite(GATE, LOW ); //end = micros(); timerStop(gateTimer); timerActive = 0; counter2++; } void setup() { Serial.begin(9600); while (!Serial){} pinMode(ZERO_CROSS_PIN,INPUT_PULLUP); pinMode(GATE,OUTPUT); digitalWrite(GATE, LOW); attachInterrupt(ZERO_CROSS_PIN, &ZeroCrossISR, FALLING); gateTimer = timerBegin(1000000); timerAttachInterrupt(gateTimer, &TimerISR); } void loop() { /* Serial.print("Still running... "); Serial.print(counter); Serial.print(", "); Serial.print(counter2); Serial.print(" Microsecs = "); Serial.println(end - start); */ dimmerLevel = 0; for (int i = 0; i < 4096; i += 50) { dimmerLevel = i; } for (int i = 4090; i >= 0; i -= 50) { dimmerLevel = i; } delay(5000); }

### ⭐ It works great, but
*by J***. on October 11, 2024*

The code offered will not compile! Customer Service??? Non existent. I developed this code that works as of 10/11/24 Good Luck! // Pin Definitions const int zero_cross_pin_ip2 = 2; // Input from zero-crossing detector const int mosfet_op9 = 9; // MOSFET gate control (PWM output) int dimming_level = 255; // Dimming level (0-255), adjust for brightness // Time per half cycle for 50Hz = 10000 microseconds (10ms), for 60Hz = 8333 microseconds (8.33ms) int AC_half_cycle = 72000; // Adjust for 50Hz or 60Hz AC - 72000 works best for my application // Zero crossing interrupt handler volatile bool zeroCrossDetected = false; void zeroCrossISR() { zeroCrossDetected = true; } void setup() { pinMode(mosfet_op9, OUTPUT); pinMode(zero_cross_pin_ip2, INPUT); // Attach interrupt to zero-crossing pin (RISING signal) attachInterrupt(digitalPinToInterrupt(zero_cross_pin_ip2), zeroCrossISR, RISING); Serial.begin(9600); delay(234); Serial.println("dimmer_AI2"); delay(234); } // end setup void loop() { if (zeroCrossDetected) { zeroCrossDetected = false; // Map dimming level (0-255) to time delay (0-AC_half_cycle) int delayTime = map(dimming_level, 0, 255, AC_half_cycle, 0); // Wait for the delay time (to control phase cut) delayMicroseconds(delayTime); // After the delay, turn the MOSFET ON to allow current to pass for the rest of the cycle digitalWrite(mosfet_op9, HIGH); // Keep MOSFET ON for the remaining cycle delayMicroseconds(AC_half_cycle - delayTime); // Turn MOSFET OFF at the end of the half-cycle digitalWrite(mosfet_op9, LOW); } // Optionally, update dimming level from Serial input for dynamic control char i_read = 'x'; int enter = 0x0A; int got_serial = false; char heres_what_i_read = ']'; if (Serial.available() > 0) { i_read = (Serial.read()); if (i_read != enter) { heres_what_i_read = i_read; } if (heres_what_i_read == 'd') { dimming_level = dimming_level - 10; Serial.print("dimming_level "); Serial.println(dimming_level); } if (heres_what_i_read == 'u') { dimming_level = dimming_level + 5; Serial.print("dimming_level "); Serial.println(dimming_level); } } } // end loop

### ⭐⭐⭐⭐ Good for my test bench
*by M***L on July 19, 2024*

Preformed as intended and easily turned in to a tester with additional parts. It just Works

## Frequently Bought Together

- MOSFET Trailing Edge AC LED Light Dimmer - Precise Dimming Control for Incandescent and DIMMABLE LED Bulbs - Compatible with Arduino, Raspberry Pi, ESP8266, ESP32, Flicker-Free, High Power
- ELEGOO 120pcs Multicolored Dupont Wire 40pin Male to Female, 40pin Male to Male, 40pin Female to Female Breadboard Jumper Ribbon Cables Kit Compatible with Arduino Projects
- Freenove Breakout Board for ESP32 / ESP32-S3 WROVER WROOM, Terminal Block Shield HAT with Pin Header, 5V 3.3V Power Outputs, GPIO Status LED

---

## 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.at/products/577344998-mosfet-trailing-edge-ac-led-light-dimmer-precise-dimming-control](https://www.desertcart.at/products/577344998-mosfet-trailing-edge-ac-led-light-dimmer-precise-dimming-control)

---

*Product available on Desertcart Austria*
*Store origin: AT*
*Last updated: 2026-06-06*