---
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: "146.64 DT"
currency: TND
in_stock: true
reviews_count: 3
category: "Iot Mug"
url: https://www.desertcart.tn/products/577344998-mosfet-trailing-edge-ac-led-light-dimmer-precise-dimming-control
store_origin: TN
region: Tunisia
---

# 500W high power output Flicker-free, smooth dimming Compatible with Arduino, Raspberry Pi & more 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:** 146.64 DT
**Availability:** ✅ In Stock

## Summary

> 💡 Light up your life with precision and power — never settle for less!

## 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?** 146.64 DT with free shipping
- **Is it available?** Yes, in stock and ready to ship
- **Where can I buy it?** [www.desertcart.tn](https://www.desertcart.tn/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

- • **Flexible Dimming Modes:** Choose from PWM, PSM, trailing, or leading edge dimming to customize your light exactly how you want it.
- • **Powerhouse Performance:** Handles up to 500W output, perfect for everything from cozy rooms to high-demand lighting setups.
- • **Precision Ambiance Control:** Tailor your lighting with ultra-precise MOSFET trailing edge dimming for incandescent & dimmable LEDs.
- • **Plug & Play MCU Compatibility:** Effortlessly integrate with Arduino, Raspberry Pi, ESP8266, ESP32, and Adafruit boards for smart home or DIY projects.
- • **Seamless Flicker-Free Experience:** Eliminate annoying flicker at any brightness level for a truly premium lighting vibe.

## Overview

The MOSFET Trailing Edge AC LED Light Dimmer delivers advanced, flicker-free dimming control compatible with both 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, making it the ideal choice for professional-grade lighting projects and smart home enthusiasts seeking precise ambiance control.

## 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: Excellent Dimmer! - This board worked perfectly for my project of building a wireless DMX controlled dimmer. Here is the included demo code re-written for use with ESP-32: #include  #define DEBUG true //set to true for debug output, false for no debug output #define DS if(DEBUG)Serial // DS = Debug Serial hw_timer_t *gateTimer = NULL; int dimmerLevel = 0; #define GATE 45 #define SCALEFACTOR 32 // ((80 MHZ / 80 prescale) / 120 hz) / 256 #define ZERO_CROSS_PIN 46 void IRAM_ATTR Zero_Cross_Interrupt() { if (dimmerLevel > 0) { digitalWrite(GATE, HIGH); timerAlarmWrite(gateTimer, SCALEFACTOR*dimmerLevel, true); timerAlarmEnable( gateTimer); timerWrite( gateTimer, 0); timerStart( gateTimer); } else { digitalWrite(GATE, LOW); } delayMicroseconds(400); // debounce zero-crossing } void IRAM_ATTR onGateTimer() { digitalWrite(GATE, LOW ); timerStop( gateTimer); } //*************************************************************************** void setup(){ #if DEBUG Serial.begin(115200); while (!Serial){} #endif pinMode(ZERO_CROSS_PIN,INPUT_PULLUP); pinMode(GATE,OUTPUT); digitalWrite( GATE, LOW); attachInterrupt(ZERO_CROSS_PIN, Zero_Cross_Interrupt, FALLING); gateTimer = timerBegin(0, 80, true); timerAttachInterrupt(gateTimer, &onGateTimer, true); timerAlarmWrite(gateTimer, 4000, true); } void loop(){ dimmerLevel = 0; for (int i=0;i0;i--) { dimmerLevel--; delay(100); } }
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 | #869,141 in Tools & Home Improvement ( See Top 100 in Tools & Home Improvement ) #1,396 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 A |
| Customer Reviews | 3.4 out of 5 stars 3 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 |
| Switch Type | Dimmer Switch |
| Terminal | Through Hole |
| Unit Count | 1 Count |
| Wattage | 5 watts |

## Product Details

- **Brand:** IotMug
- **Connector Type:** Screw
- **Contact Type:** Normally Open
- **Current Rating:** 5 A
- **Item dimensions L x W x H:** 1.97 x 3.54 x 0.47 inches
- **Material:** Metal
- **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)

## Customer Reviews

### ⭐⭐⭐⭐⭐ Excellent Dimmer!
*by K***R on December 17, 2023*

This board worked perfectly for my project of building a wireless DMX controlled dimmer. Here is the included demo code re-written for use with ESP-32: #include <Arduino.h> #define DEBUG true //set to true for debug output, false for no debug output #define DS if(DEBUG)Serial // DS = Debug Serial hw_timer_t *gateTimer = NULL; int dimmerLevel = 0; #define GATE 45 #define SCALEFACTOR 32 // ((80 MHZ / 80 prescale) / 120 hz) / 256 #define ZERO_CROSS_PIN 46 void IRAM_ATTR Zero_Cross_Interrupt() { if (dimmerLevel > 0) { digitalWrite(GATE, HIGH); timerAlarmWrite(gateTimer, SCALEFACTOR*dimmerLevel, true); timerAlarmEnable( gateTimer); timerWrite( gateTimer, 0); timerStart( gateTimer); } else { digitalWrite(GATE, LOW); } delayMicroseconds(400); // debounce zero-crossing } void IRAM_ATTR onGateTimer() { digitalWrite(GATE, LOW ); timerStop( gateTimer); } //*************************************************************************** void setup(){ #if DEBUG Serial.begin(115200); while (!Serial){} #endif pinMode(ZERO_CROSS_PIN,INPUT_PULLUP); pinMode(GATE,OUTPUT); digitalWrite( GATE, LOW); attachInterrupt(ZERO_CROSS_PIN, Zero_Cross_Interrupt, FALLING); gateTimer = timerBegin(0, 80, true); timerAttachInterrupt(gateTimer, &onGateTimer, true); timerAlarmWrite(gateTimer, 4000, true); } void loop(){ dimmerLevel = 0; for (int i=0;i<250;i++) { dimmerLevel++; delay(100); } for (int i=250;i>0;i--) { dimmerLevel--; delay(100); } }

### ⭐ 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

### ⭐⭐⭐⭐⭐ Excellent Product - Useful for controlling LED lighting
*by R***O on March 11, 2024*

Great product. Very simple to use so long as you understand how to do leading and trailing edge algorithms. Clean design - worked first time. Great results and the MOSFETs hardly get warm when driving 10 LED lamps. Will be using this board for all my future LED lighting control

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

---

*Product available on Desertcart Tunisia*
*Store origin: TN*
*Last updated: 2026-10-29*