Skip to content

Arduino library to control dimmable lamps and other AC loads (110V / 220V).

License

Notifications You must be signed in to change notification settings

circuitar/Dimmer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Arduino library to control dimmable lamps and other AC loads (110V / 220V).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •