The width of this firing pulse depends on the n0: of touches on the plate. At zero crossing the IC fires a pulse to trigger the Triac. Line frequency is taken through R4 to pin 2 of IC. On the third touch, the bulb is driven fully. At the second touch, the bulb gives medium light. When you touch the plate, the lamp glows dimly. By touching this touch dimmer you can increase the light intensity of incandescent lamps in three steps.Īt first, when mains is ‘on,’ the lamp is ‘off’. TT 6061 is specifically designed for this purpose. This is a simple touch dimmer circuit made of IC TT6061. But if you want to make it more interesting by adding a touch feature check out our project. If you have a wall-mounted lamp one easiest way to control its brightness is to use a regulator switch (the ones we use for fans). But the same can be achieved without emptying your wallet if you have the know-how of basic electronics. Having such a built-in feature is available for some expensive lamps. They don’t have any regulators to increase or decrease the intensity of lighting. You can now apply this tutorial to manage all the lamps in your house.This is an interesting project where the intensity of a lamp can be controlled by touch. The two lamps turn on and off gradually, one after the other. Libraries #include // //Parameters const int zeroCrossPin = 2 const int acdPin = 3 int MIN_POWER = 0 int MAX_POWER = 80 int POWER_STEP = 2 //Variables int power = 0 //Objects dimmerLamp acd(acdPin) void setup () Once the library has been imported and the module initialized, we only have to choose the power level between 0 and 100%. The library will manage the synchronization between the PWM signal, which sets the power, and the phase of the AC current. To use the AC Light Dimmer module, we use the RBDdimmer.h library. Check the documentation of the library to see which pins you can use. The RBDdimmer library uses some pins in particular, depending on the microcontroller used. If you use several drives, the Z-C pins are all connected to the same microcontroller pin (in our case D2). GND to ground GND of the microcontroller.Vcc at pin 5 or 3.3V of the microcontroller.On the electronic side, the pins are connected as follows: As far as the wiring diagram is concerned, the module is connected to the mains via the AC-IN terminal block and the bulb is connected to the LOAD terminal block.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |