Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use Modulo Dimmer: Examples, Pinouts, and Specs

Image of Modulo Dimmer
Cirkit Designer LogoDesign with Modulo Dimmer in Cirkit Designer

Introduction

The Modulo Dimmer (RobotDyn AC Light Dimmer Module) is an electronic device designed to control the brightness of AC-powered lighting fixtures. By varying the voltage or current supplied to the load, it enables precise dimming of incandescent, halogen, and some dimmable LED lights. This module is widely used in home automation, theatrical lighting, and energy-saving applications.

Explore Projects Built with Modulo 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!
Arduino Mega 2560 Controlled AC Dimmer Lamp with Voltage Monitoring
Image of  karakterisasi lampu: A project utilizing Modulo Dimmer in a practical application
This circuit is designed to control the brightness of an AC bulb using an Arduino Mega 2560 and an AC Dimmer Lamp Module. The Arduino provides power and control signals to the dimmer module, which in turn adjusts the AC voltage supplied to the bulb. A voltmeter is included to monitor the voltage across the bulb.
Cirkit Designer LogoOpen Project in Cirkit Designer
Wi-Fi Controlled AC Dimmer with Wemos D1 Mini
Image of lamp: A project utilizing Modulo Dimmer in a practical application
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.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO-Based Smart Light with LDR-Controlled AC Dimmer
Image of Brightness control system : A project utilizing Modulo Dimmer in a practical application
This circuit uses an Arduino UNO to control the brightness of an AC bulb based on the ambient light level detected by an LDR (Light Dependent Resistor) module. The Arduino reads the analog value from the LDR and adjusts the PWM signal sent to an AC dimmer module, which in turn modulates the power supplied to the AC bulb.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO-Based AC Light Dimmer with Potentiometer Control and LCD Display
Image of PPPPPP: A project utilizing Modulo Dimmer in a practical application
This circuit is a light dimmer that controls the brightness of an AC bulb using a TRIAC, with the brightness adjusted via a potentiometer. An Arduino UNO reads the potentiometer value and triggers the TRIAC through an optocoupler, while an I2C LCD displays the current brightness level. The circuit includes zero-crossing detection for phase control to ensure smooth dimming.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Modulo 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  karakterisasi lampu: A project utilizing Modulo Dimmer in a practical application
Arduino Mega 2560 Controlled AC Dimmer Lamp with Voltage Monitoring
This circuit is designed to control the brightness of an AC bulb using an Arduino Mega 2560 and an AC Dimmer Lamp Module. The Arduino provides power and control signals to the dimmer module, which in turn adjusts the AC voltage supplied to the bulb. A voltmeter is included to monitor the voltage across the bulb.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of lamp: A project utilizing Modulo 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.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Brightness control system : A project utilizing Modulo Dimmer in a practical application
Arduino UNO-Based Smart Light with LDR-Controlled AC Dimmer
This circuit uses an Arduino UNO to control the brightness of an AC bulb based on the ambient light level detected by an LDR (Light Dependent Resistor) module. The Arduino reads the analog value from the LDR and adjusts the PWM signal sent to an AC dimmer module, which in turn modulates the power supplied to the AC bulb.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of PPPPPP: A project utilizing Modulo Dimmer in a practical application
Arduino UNO-Based AC Light Dimmer with Potentiometer Control and LCD Display
This circuit is a light dimmer that controls the brightness of an AC bulb using a TRIAC, with the brightness adjusted via a potentiometer. An Arduino UNO reads the potentiometer value and triggers the TRIAC through an optocoupler, while an I2C LCD displays the current brightness level. The circuit includes zero-crossing detection for phase control to ensure smooth dimming.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Home Automation: Adjust lighting levels for comfort and energy efficiency.
  • Theatrical Lighting: Create dynamic lighting effects for stage performances.
  • Industrial Use: Control AC loads such as fans or heaters.
  • Smart Lighting Systems: Integrate with microcontrollers like Arduino for automated dimming.

Technical Specifications

Key Technical Details

  • Manufacturer: RobotDyn
  • Part ID: AC Light Dimmer Module
  • Input Voltage: 110V-220V AC
  • Output Load: 0-200W (for 110V AC) / 0-400W (for 220V AC)
  • Control Voltage: 3.3V-5V (compatible with most microcontrollers)
  • Zero-Cross Detection: Built-in for precise dimming control
  • Isolation: Optocoupler for safe interfacing with low-voltage circuits
  • Dimensions: 50mm x 25mm x 20mm

Pin Configuration and Descriptions

The Modulo Dimmer has a 4-pin interface for connecting to a microcontroller and AC load.

Pin Name Description
AC-IN AC input terminals for connecting to the mains power supply (110V-220V AC).
AC-OUT AC output terminals for connecting to the load (e.g., light bulb, fan).
VCC Power supply input for the control circuit (3.3V-5V).
GND Ground connection for the control circuit.
PWM Pulse Width Modulation input for dimming control (from microcontroller).
Z-C Zero-cross detection signal output (used for synchronization with AC cycles).

Usage Instructions

How to Use the Modulo Dimmer in a Circuit

  1. Connect the AC Input and Output:

    • Connect the AC-IN terminals to the mains power supply (110V-220V AC).
    • Connect the AC-OUT terminals to the load (e.g., a dimmable light bulb).
  2. Connect to a Microcontroller:

    • Connect the VCC and GND pins to the 3.3V or 5V power supply of your microcontroller.
    • Connect the PWM pin to a PWM-capable pin on the microcontroller.
    • Optionally, connect the Z-C pin to a digital input pin for zero-cross detection.
  3. Write Control Code:

    • Use the PWM signal to control the brightness of the connected load.
    • Synchronize the PWM signal with the zero-cross detection signal for smooth dimming.

Important Considerations and Best Practices

  • Safety First: Always handle the module with care when working with high-voltage AC power. Ensure proper insulation and avoid touching live components.
  • Load Compatibility: Verify that the connected load is dimmable and within the module's power rating.
  • Zero-Cross Synchronization: For smooth dimming, use the zero-cross detection signal to synchronize the PWM signal with the AC mains frequency.
  • Heat Dissipation: Ensure adequate ventilation or heat sinking if the module operates near its maximum power rating.

Example Code for Arduino UNO

Below is an example of how to use the Modulo Dimmer with an Arduino UNO to control the brightness of a light bulb.

/*
  Example Code for RobotDyn AC Light Dimmer Module
  This code demonstrates how to control the brightness of a light bulb
  using PWM and zero-cross detection with an Arduino UNO.
*/

#define ZC_PIN 2    // Pin connected to the Zero-Cross detection signal
#define PWM_PIN 3   // Pin connected to the PWM input of the dimmer module

volatile boolean zeroCross = false; // Flag for zero-cross detection
int dimValue = 128;                 // Brightness level (0-255)
int delayTime;                      // Delay time for dimming

void zeroCrossISR() {
  // Interrupt Service Routine for zero-cross detection
  zeroCross = true;
}

void setup() {
  pinMode(ZC_PIN, INPUT);           // Set Zero-Cross pin as input
  pinMode(PWM_PIN, OUTPUT);         // Set PWM pin as output
  attachInterrupt(digitalPinToInterrupt(ZC_PIN), zeroCrossISR, RISING);
}

void loop() {
  if (zeroCross) {
    zeroCross = false;              // Reset zero-cross flag
    delayTime = (128 - dimValue) * 75; // Calculate delay for dimming
    delayMicroseconds(delayTime);   // Wait for the calculated delay
    digitalWrite(PWM_PIN, HIGH);    // Turn on the dimmer
    delayMicroseconds(10);          // Keep it on for a short duration
    digitalWrite(PWM_PIN, LOW);     // Turn off the dimmer
  }
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. The light does not dim or flickers:

    • Ensure the load is dimmable (e.g., incandescent or dimmable LED).
    • Verify proper synchronization with the zero-cross signal.
    • Check the PWM signal from the microcontroller.
  2. The module overheats:

    • Ensure the load does not exceed the module's power rating.
    • Provide adequate ventilation or heat sinking.
  3. No response from the module:

    • Verify all connections, especially the AC input and output.
    • Check the microcontroller's PWM output and ensure it is connected to the correct pin.
  4. Zero-cross detection not working:

    • Ensure the Z-C pin is properly connected to the microcontroller.
    • Check for noise or interference in the AC mains supply.

FAQs

  • Can I use this module with a 3.3V microcontroller?
    Yes, the module is compatible with both 3.3V and 5V logic levels.

  • Is this module suitable for non-dimmable LEDs?
    No, non-dimmable LEDs may not work correctly and could be damaged.

  • Can I control multiple dimmers with one microcontroller?
    Yes, but ensure each dimmer has its own zero-cross detection and PWM control pin.

  • What happens if I exceed the power rating?
    Exceeding the power rating may damage the module or cause overheating. Always stay within the specified limits.


This concludes the documentation for the RobotDyn AC Light Dimmer Module.