First of all, I would like to mention that I'm happy to find this site and really thankful for the inspiration I've got from SuperHouseTV.
In another topic Jonathan mentioned the lack of dimming control caused by the relays in the system. What would be the ideal/practical solution to make the system able to dim the lights?
As far as I can imagine, it would require modifications in the high voltage and the control side as well.
Light dimming
Re: Light dimming
Instead of using a relay to control the mains voltage you will need to use a triac with a zero cross detection circuit. You need the zero cross because of how the triac interacts with the AC voltage. There are some premade boards on eBay.
Re: Light dimming
If your light fixture uses AC, then some of the TRIAC dimmers available at:
http://www.inmojo.com/search/?type=products&s=dimmer
may do the trick as long as your light fixture is dimming compatible (i.e. either incandescent, LED corn bulb, or LED bulb/driver that is TRIAC dimming compatible, some fluro).
In the specific case of an AC lighting circuit connected to an LED driver, there are drivers on the market that can be wired up with an extra wire pair for a dimming signal (DALI, PWM, 0-10V, or resistor) but that is going to be difficult unless you are renovating.
If your light circuit is instead low voltage DC connected directly to an LED, you will need to dim by either:
Analog dimming will be harder to implement and I wouldn't try that unless you can find a constant current driver that has an input for dimming control (like some Meanwell models).
http://www.inmojo.com/search/?type=products&s=dimmer
may do the trick as long as your light fixture is dimming compatible (i.e. either incandescent, LED corn bulb, or LED bulb/driver that is TRIAC dimming compatible, some fluro).
In the specific case of an AC lighting circuit connected to an LED driver, there are drivers on the market that can be wired up with an extra wire pair for a dimming signal (DALI, PWM, 0-10V, or resistor) but that is going to be difficult unless you are renovating.
If your light circuit is instead low voltage DC connected directly to an LED, you will need to dim by either:
- Digital dimming (PWM the DC voltage)
- Analog dimming (Adjustable constant current source)
Analog dimming will be harder to implement and I wouldn't try that unless you can find a constant current driver that has an input for dimming control (like some Meanwell models).
Re: Light dimming
OK I am having a problem, and thought others may as well, so adding it to this highly relevant thread.
The setup:
I am using one of these http://www.inmojo.com/store/krida-elect ... e-arduino/ triac boards with zero cross detection.
Along with that, my fixture is a dimmable driverless 120v (USA) AC LED light. Specifically the Intertek led-sm6dl.
Im not sure that it matters but I am driving the triac with an esp8266 (wemos mini).
The Problem:
So I wrote out my code and everything works fine when I am only using 1 light fixture. No noticeable flicker, good dimming range, no noise. However, when I connect 2 or more lights, I get horrible flashing. Like seizure inducing.
Another wrinkle. I bought a leviton 6672 dimmer switch. And that thing works great. No flashing at all. No matter how many lights I connect. So I opened it up and from what I can tell its just a triac controlled by a pot. But, it has a huge inductor in there along with some capacitors. I was wondering if I am just missing a smoothing circuit of some sort on my setup? I dont believe its a software issue but anything is possible.
Any thoughts would be appreciated.
Thanks
Sixfold
As a side note, this is for my home automation project. I am planning a lengthy write up eventually, so you dont all have to waste hours troubleshooting like I did.
The setup:
I am using one of these http://www.inmojo.com/store/krida-elect ... e-arduino/ triac boards with zero cross detection.
Along with that, my fixture is a dimmable driverless 120v (USA) AC LED light. Specifically the Intertek led-sm6dl.
Im not sure that it matters but I am driving the triac with an esp8266 (wemos mini).
The Problem:
So I wrote out my code and everything works fine when I am only using 1 light fixture. No noticeable flicker, good dimming range, no noise. However, when I connect 2 or more lights, I get horrible flashing. Like seizure inducing.
Another wrinkle. I bought a leviton 6672 dimmer switch. And that thing works great. No flashing at all. No matter how many lights I connect. So I opened it up and from what I can tell its just a triac controlled by a pot. But, it has a huge inductor in there along with some capacitors. I was wondering if I am just missing a smoothing circuit of some sort on my setup? I dont believe its a software issue but anything is possible.
Any thoughts would be appreciated.
Thanks
Sixfold
As a side note, this is for my home automation project. I am planning a lengthy write up eventually, so you dont all have to waste hours troubleshooting like I did.