2CH AC LED Light Dimmer Module Controller Board For Arduino and Raspberry Smart

Old price: $31.99
$21.99
Ship to
*
*
Shipping Method
Name
Estimated Delivery
Price
No shipping options

2CH AC LED Light Dimmer Module Controller Board For Arduino and Raspberry Smart Home

Main Features:
AC Light Dimmer Module Controller Board ARDUINO RASPBERRY Compatible 50/60Hz
Connected LOAD power for each channel 5A.
Compatible with any ARDUINO, RASPBERRY boards.
Auto detect 50Hz or 60Hz. / Working voltage from 110v to 240v.
AC Phase Control Circuit (Dimming Circuit) / Home Automation, School Projects, Work Related Projects

AC Phase Control Circuit (Dimming Circuit) Module contains two Triacs with zero-cross detector for programming the intensity of incandescent lamps, AC LED dimmable bulbs, heating elements or fan speed controlled through a micro-controller.
Working AC voltage 80...240 VAC.
Auto detect 50Hz or 60Hz. Zero-Cross detection (with zero/cross output pin SYNC).
Compatible with any ARDUINO, RASPBERRY boards.
Low voltage side and high voltage side is completely isolated.
Dimensions of the PCB 90mm x 60mm.
Four mounting holes diameter 3.2mm.
Connected LOAD power for each channel 5A.
NOT appropriate to change the brightness of fluorescent lamps !!!
Control dimming level via FIRING ANGLE method !
Warning: This project deals with AC electricity which is dangerous if you don’t know how to treat it safely. You must treat electricity with caution!
See wiring diagram in high resolution Watch video on YouTube : https://youtu.be/wTjRpAVPv8Q AC LED Bulb : https://youtu.be/oqRyJLcfOxo
Testing sketch for Arduino : https://drive.google.com/open?id=0B6GJokXFb5oENWVOd2gySWxZbHM Android application to control manually dim level for each channel
Android application : https://drive.google.com/open?id=0B6GJokXFb5oEQ3ZiRE1Uam50c1k
Testing sketch for Arduino (need HC-05 Bluetooth module) : https://drive.google.com/open?id=0B6GJokXFb5oES3JkQ2VSVFpFVEU


Sample Arduino  Code copy and paste to your arduino IDE

unsigned char channel_1 = 7;    // Output to Opto Triac pin, channel 1unsigned char channel_2 = 6;    // Output to Opto Triac pin, channel 2unsigned char dimming = 3;      // Dimming level (0-100)unsigned char i;unsigned char flag=0;void setup() {  // put your setup code here, to run once:  pinMode(channel_1, OUTPUT);// Set AC Load pin as output  pinMode(channel_2, OUTPUT);// Set AC Load pin as output  attachInterrupt(1, zero_crosss_int, RISING);  // Serial.begin(9600);}void zero_crosss_int()  // function to be fired at the zero crossing to dim the light{  // Firing angle calculation : 1 full 50Hz wave =1/50=20ms   // Every zerocrossing : (50Hz)-> 10ms (1/2 Cycle) For 60Hz (1/2 Cycle) => 8.33ms   // 10ms=10000us    int dimtime = (100*dimming);    // For 60Hz =>83     delayMicroseconds(dimtime);    // Off cycle    if (flag==0xFF)   {    digitalWrite(channel_1, HIGH);   // triac firing    delayMicroseconds(10);         // triac On propogation delay (for 60Hz use 8.33)    digitalWrite(channel_1, LOW);    // triac Off   }    else   {    digitalWrite(channel_2, HIGH);   // triac firing    delayMicroseconds(10);         // triac On propogation delay (for 60Hz use 8.33)    digitalWrite(channel_2, LOW);    // triac Off   }  }void loop() {                                // Serial.println(pulseIn(8, HIGH));                                     for (i=85;i>5;i--)          {            dimming=i;            delay(20);          }                     for (i=5;i<85;i++)          {
            dimming=i;            delay(20);          }                    flag=~flag;                        }