Description: 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/60HzConnected 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/oqRyJLcfOxoTesting sketch for Arduino : https://drive.google.com/open?id=0B6GJokXFb5oENWVOd2gySWxZbHM Android application to control manually dim level for each channelAndroid application : https://drive.google.com/open?id=0B6GJokXFb5oEQ3ZiRE1Uam50c1kTesting 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; }
Price: 19.99 USD
Location: Clifton, New Jersey
End Time: 2024-02-05T17:03:51.000Z
Shipping Cost: 0 USD
Product Images
Item Specifics
Restocking Fee: No
Return shipping will be paid by: Seller
All returns accepted: Returns Accepted
Item must be returned within: 30 Days
Refund will be given as: Money Back
Platform: Arduino
Brand: KRIDA