-->
Page 1 of 1

Esp8266 and ac dimmer

PostPosted: Wed Jul 18, 2018 3:03 pm
by Cpi81
Hi! Do you know how / if I can use a ac dimmer like this one AC Light Dimmer Module for PWM control, 1 Channel, 3.3V/5V logic, AC 50/60hz, 220V/110V
http://s.aliexpress.com/zueQjqm6 with and nodemcu esp8266? Thank you!

Re: Esp8266 and ac dimmer

PostPosted: Mon Jul 23, 2018 7:49 pm
by cubbieco
It says on the bottom of the board that it accepts 3.3v logic so it certainly should.

Re: Esp8266 and ac dimmer

PostPosted: Mon Jul 23, 2018 8:48 pm
by rudy
That board has a triac in it and you can not use PWM for dimming lights. You need to use phase control. That is to vary the time before triggering the triac, measured from each zero crossing of the AC waveform.

https://electronics.stackexchange.com/q ... ght-dimmer

The ESP8266 is not very for doing phase control because there will be times when the background processes will run and the triggering of the triac will not be consistently timed. This will cause flicker of the light.

Phase control can be effectively done with incandescent lamps. If you want to control LED lamps directly powered from the AC line then you most likely will have other problems to deal with. Weird things can happen when trying to use triacs to dimm some LED lights. Some of the problems can be overcome by having an incandescent lamp in parallel with the LED lamps.

Re: Esp8266 and ac dimmer

PostPosted: Tue Jul 24, 2018 12:27 am
by Cpi81
Thank you for your replies! So, I can't use that board with esp at all? :( Are you familiar with other AC Dimmer that I can use on the esp?