Hello, i've tested relay esp node, and now i would test dimmer light.
How we can do this. What hardware we need to dimmer a light with esp ? same thing of relay or we need some more things?
cdj wrote: Hello, i've tested relay esp node, and now i would test dimmer light.
How we can do this. What hardware we need to dimmer a light with esp ? same thing of relay or we need some more things?
cdj wrote: Great Igor !
http://http://iot-playground.com/2-uncategorised/28-esp8266-wifi-led-dimmer
Code can be used also with 220v dimmable lights ?
Thanks
Dario
This code works only for DC current because it uses PWM. For 220V AC you need different HW with zero detection and optocouplers. But SW is very similar. Just use variable newLevel in example (value betwen 0 and 100%) to set light level in combination with zero detection. Google and you will find many examples internet.