3

This is the prototype of my dimmer, which actually works quite well. It fades smoothly between different brightness settings. It gets MQTT messages from homebridge, so it can be controlled via Apples Homekit.

you are viewing a single comment's thread
view the rest of the comments
[-] Rolldach@feddit.de 0 points 1 year ago

What voltage does the lamp have and is the lamp led? Looks like a fun project ;)

[-] plantsandtrees@feddit.de 1 points 1 year ago

Yes it is a led light bulb working on 230 ac. This works like any other triac phase dimmer, but it was indeed a fun project to try for yourself! Basically I build a another shelly device, but for far less money ;)

[-] Rolldach@feddit.de 0 points 1 year ago

Cool, I had to look triac up as I didn’t know how it works. I thought dimming would just reduce the voltage. How did you implement it? Is it all done by the esp? (So I read that triac dimming is done by switching the currant on and off very quickly, is that correct? What frequency are you using?)

[-] plantsandtrees@feddit.de 0 points 1 year ago

Yes exactly. The idea is basically the same as PWM, but in this case the frequency is given through the 50Hz of the power grid. You just control how much of each half wave you turn the light on. As our eyes are slow we just conceive it as an overall lower brightness.

[-] onion@feddit.de 1 points 1 year ago

Apparently some people can get headaches from the flickering

load more comments (1 replies)
load more comments (1 replies)
this post was submitted on 04 Jul 2023
3 points (100.0% liked)

Smart-Home

276 readers
1 users here now

Alles zur Heimautomatisierung

AttributionSmarthome icons created by srip - Flaticon

founded 2 years ago
MODERATORS