Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use AC Light Dimmer: Examples, Pinouts, and Specs

Image of AC Light DimmerDesign with AC Light Dimmer in Cirkit Designer

AC Light Dimmer Documentation

1. Introduction

The AC Light Dimmer (Manufacturer: easy.ware, Part ID: Dimmer) is an electronic device designed to control the brightness of AC-powered light fixtures, such as incandescent and dimmable LED lights. By varying the voltage and current supplied to the light, the dimmer allows users to adjust the light intensity to suit their needs. This component is widely used in home automation, lighting control systems, and energy-saving applications.

Common Applications:


2. Technical Specifications

The following table outlines the key technical details of the easy.ware Dimmer:

Parameter Value
Operating Voltage 110V - 240V AC
Maximum Load Current 2A
Power Rating Up to 400W
Control Voltage 3.3V - 5V DC
Trigger Type Zero-crossing detection
Isolation Optocoupler-based isolation
Operating Temperature -20°C to 70°C
Dimensions 50mm x 30mm x 20mm

Pin Configuration and Descriptions

Pin Name Type Description
AC-IN Input Connects to the live (L) and neutral (N) wires of the AC power source.
AC-OUT Output Connects to the load (e.g., light bulb).
GND Ground Ground connection for the control circuit.
VCC Power Input 3.3V - 5V DC input for powering the control circuit.
PWM Control Signal Pulse Width Modulation (PWM) input for dimming control (from a microcontroller).

3. Usage Instructions

How to Use the AC Light Dimmer in a Circuit

  1. Safety First: Ensure the power supply is disconnected before wiring the dimmer. Handle AC connections with care.
  2. Connect the AC Power:
    • Connect the AC-IN pins to the live (L) and neutral (N) wires of the AC power source.
    • Connect the AC-OUT pins to the load (e.g., an incandescent or dimmable LED light).
  3. Connect the Control Circuit:
    • Connect the GND pin to the ground of your microcontroller (e.g., Arduino UNO).
    • Connect the VCC pin to a 3.3V or 5V DC power source.
    • Connect the PWM pin to a PWM-capable pin on your microcontroller.
  4. Programming the Microcontroller:
    • Use a PWM signal to control the brightness of the light. A higher duty cycle increases brightness, while a lower duty cycle decreases it.

Important Considerations and Best Practices


4. Example Arduino Code

Below is an example of how to use the easy.ware Dimmer with an Arduino UNO to control the brightness of a light using a potentiometer.

// Example: Controlling AC Light Dimmer with Arduino UNO
// Manufacturer: easy.ware
// Part ID: Dimmer

const int pwmPin = 9;  // PWM pin connected to the dimmer's PWM input
const int potPin = A0; // Analog pin connected to the potentiometer

void setup() {
  pinMode(pwmPin, OUTPUT); // Set the PWM pin as an output
}

void loop() {
  int potValue = analogRead(potPin); // Read the potentiometer value (0-1023)
  
  // Map the potentiometer value to a PWM duty cycle (0-255)
  int pwmValue = map(potValue, 0, 1023, 0, 255);
  
  analogWrite(pwmPin, pwmValue); // Output the PWM signal to the dimmer
  
  delay(10); // Small delay for stability
}

Code Explanation:


5. Troubleshooting and FAQs

Common Issues and Solutions

Issue Possible Cause Solution
Light does not turn on Incorrect wiring or loose connections Double-check all connections, especially AC-IN and AC-OUT.
Light flickers Incompatible load or incorrect PWM frequency Use a dimmable light and ensure the PWM frequency is 50Hz or higher.
Dimmer overheats Exceeding the maximum load rating Ensure the load does not exceed 400W. Provide proper ventilation.
No response to PWM signal Incorrect control voltage or wiring Verify that the VCC and PWM pins are correctly connected to the microcontroller.

Frequently Asked Questions (FAQs)

  1. Can I use this dimmer with non-dimmable LED lights?

    • No, non-dimmable LEDs may flicker or fail when used with this dimmer.
  2. What happens if I exceed the maximum load rating?

    • Exceeding the load rating can cause overheating, damage to the dimmer, or even fire hazards. Always stay within the specified limits.
  3. Can I control multiple lights with one dimmer?

    • Yes, as long as the total load does not exceed 400W.
  4. Is the dimmer compatible with 3.3V microcontrollers like ESP32?

    • Yes, the dimmer supports control voltages between 3.3V and 5V.

6. Safety Warnings


This documentation provides a comprehensive guide to using the easy.ware Dimmer safely and effectively. For further assistance, refer to the manufacturer's support resources.

Explore Projects Built with AC Light Dimmer

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Wi-Fi Controlled AC Dimmer with Wemos D1 Mini: A project utilizing AC Light Dimmer in a practical application
Wi-Fi Controlled AC Dimmer with Wemos D1 Mini

This circuit is designed to control the brightness of an AC bulb using a Wemos D1 Mini microcontroller and an AC dimmer module. The Wemos D1 Mini adjusts the dimmer module's PWM signal based on the input from a rocker switch, which is used to increase or decrease the brightness incrementally. The AC supply powers the bulb through the dimmer module, with the rocker switch providing zero-cross detection for phase-cut dimming.

Open Project in Cirkit Designer