RobotDynOfficial / RBDDimmer

The following library is used for work with dimmer, it gives ability to control large ammoun of dimmer. This lib uses with Leonardo, Mega, UNO, ESP8266, ESP32, Arduino M0, Arduino Zero, Arduino Due, STM32.
244 stars 112 forks source link

Use with Metro M0 adafruit #39

Open kelroy1990 opened 3 years ago

kelroy1990 commented 3 years ago

Hi RobotDyn, we are using at this moment your module in a covid project but we have a problem with it.

We are using an arduino Metro M0 from adafruit and it dont works as expected. I think that the problem its related to the timmer TC3 configuration, as it doesnt interrupt at 100ms.

Under oscilloscope we could see that the Dimmer set the Triac correctly to the OFF position in the width choosed by code (dimmer.setPower(X)), but it goes up again suddenly. So i guess that the TC3 timmer its going really so fast and dont cover the AC sinusoide completly.

As you see on the following photo, the violet signal should cover the rest of the sinusoide.

Thanks for your help. imagen

BLUE: AC sinusoide output of dimmer. Yelow: Under the Blue sinusoide, AC MAINLANE Violet: Control Dimmer signal.