---
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: "฿2748"
currency: THB
in_stock: true
reviews_count: 5
category: "Iot Mug"
url: https://www.desertcart.co.th/products/577344998-mosfet-trailing-edge-ac-led-light-dimmer-precise-dimming-control
store_origin: TH
region: Thailand
---

# 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:** ฿2748
**Availability:** ✅ In Stock

## Summary

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

## 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?** ฿2748 with free shipping
- **Is it available?** Yes, in stock and ready to ship
- **Where can I buy it?** [www.desertcart.co.th](https://www.desertcart.co.th/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 methods to customize your lighting exactly how you want it.
- • **Flicker-Free Experience:** Eliminate annoying flicker at any brightness level, creating a stable and cozy atmosphere every time.
- • **Precision Ambiance Control:** Tailor your lighting with ultra-precise MOSFET trailing edge dimming for both incandescent and dimmable LEDs.
- • **Robust 500W Power Handling:** Power through your lighting needs with a high-capacity 500W output, perfect for residential and professional setups.
- • **Seamless Microcontroller Integration:** Plug & play compatibility with Arduino, Raspberry Pi, ESP8266, ESP32, and other MCUs for smart DIY projects.

## Overview

The MOSFET Trailing Edge AC LED Light Dimmer by IotMug offers 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 ideal for smart lighting projects and professional installations. Compact and versatile, it ensures smooth, precise lighting adjustments for any environment.

## 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 | #939,722 in Tools & Home Improvement ( See Top 100 in Tools & Home Improvement ) #1,578 in Dimmer Switches |
| Brand | IotMug |
| Brand Name | IotMug |
| Circuit Type | 1-way |
| Connectivity Protocol | X-10 |
| Connector Type | Screw |
| Contact Material | Metal |
| Contact Type | Normally Open |
| Control Method | App |
| Current Rating | 5 Amps |
| Customer Reviews | 3.7 out of 5 stars 5 Reviews |
| Item Dimensions | 1.97 x 3.54 x 0.47 inches |
| Manufacturer | IotMug |
| Model | Mosfet Trailing Edge Dimmer |
| Mounting Type | Surface Mount |
| Number of Items | 1 |
| Number of Positions | 1 |
| Operating Voltage | 110 Volts |
| Operation Mode | automatic |
| 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)

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

---

*Product available on Desertcart Thailand*
*Store origin: TH*
*Last updated: 2026-02-22*