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.
Triac Nanoshield
and Zero Cross Nanoshield
from Circuitar_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:
.. Triac Nanoshield
: https://www.circuitar.com.br/nanoshields/modulos/triac/
.. Zero Cross Nanoshield
: https://www.circuitar.com.br/nanoshields/modulos/zero-cross/
.. _Circuitar: https://www.circuitar.com.br/
.. _examples: https://github.com/circuitar/Dimmer/tree/master/examples/
.. _Fade: https://github.com/circuitar/Dimmer/blob/master/examples/Fade/Fade.ino
.. _FadeMinimum: https://github.com/circuitar/Dimmer/blob/master/examples/FadeMinimum/FadeMinimum.ino
.. _RandomLamps: https://github.com/circuitar/Dimmer/blob/master/examples/RandomLamps/RandomLamps.ino
.. _WaveLamps: https://github.com/circuitar/Dimmer/blob/master/examples/WaveLamps/WaveLamps.ino
.. _CountMode: https://github.com/circuitar/Dimmer/blob/master/examples/CountMode/CountMode.ino
Copyright (c) 2015 Circuitar
All rights reserved.
This software is released under an MIT license. See the attached LICENSE file for details.