Arduino library to control dimmable lamps and other AC loads (110V / 220V).
Switch branches/tags
Nothing to show
Clone or download
Latest commit da15bc7 Jul 27, 2016

README.rst

Dimmer Library for Arduino

This is an Arduino software library to control AC loads using triacs and a zero cross detector circuit. The library methods can be used to control the AC load power for multiple triacs independently, using a single shared zero-cross circuit.

There are different ways to implement zero cross detector circuits. This library is based on the implementation above, but it can be easily adapted to use any type of zero cross detector circuit.

To install, just click Download ZIP and install it using Sketch > Include Library... > Add .ZIP Library in the Arduino IDE.

The following examples are provided:

  • Fade Arduino Fade example using an AC lamp.
  • FadeMinimum Arduino Fade example using an AC lamp and setting a minimum power level (useful for dimmable LED or CFL lamps).
  • RandomLamps Control 3 dimmable lamps with random values (can be extended to 10 lamps).
  • WaveLamps Control 3 dimmable lamps in a wave form (can be extended to 10 lamps).
  • CountMode Control high, low response AC loads without introducing noise using count mode.

Copyright (c) 2015 Circuitar All rights reserved.

This software is released under an MIT license. See the attached LICENSE file for details.