Introducing the “Dimmer Not Dumber” II
A novel approach to fading line voltage lights!
This video shows me triggering the unit and then at the end, applying a reset signal. The unit is programmed to climb slowly to preset light levels upon repetitive triggering (10%, 20%, 30%, 40% and 100%). The reset signal applied at the end [44s] slowly fades down the light intensity to fully OFF.
A client wanted me to control the brightness of two sets of residential 110v pot lights. The only experience I have in controlling line-powered equipment is through using relays and opto-isolated solid state switches. However, these just provide simple ON/OFF control; and dimming lights is a whole different ball of wax! Plus, I did NOT want to mess with mains voltages! There are devices on the market to do this but they are a) expensive, b) require electronics connected to the 110v load side and c) require real-time software to control (see discussion below). I wanted a simpler solution that used off-the-shelf residential electrical components, used simple electronics and gave me complete electrical isolation.
So, I came up with the “Dimmer Not Dumber” light fader design.
In this design, a servo motor is connected to the shaft of an unmodified residential light dimmer (Levitron, I believe) via a simple gear pair. This dimmer has a control shaft that rotates about 320 degrees to fade between full OFF to full ON. In addition, pushing the switch knob turns the whole unit ON and OFF.
As servo articulation is typically a maximum of 180 degrees, a 2:1 gear pair means that the full range of the servo translates into a complete rotation of the dimmer shaft. Control of the servo position therefore allows full control of the intensity of the light, so now all I have to do is connect the servo to a micro-controller and voila! Full control of the light intensity and complete electrical isolation!
The Dimmer Not Dumber II version now includes an Arduino Nano, input conditioning for 5 – 24V triggers and a 5V buck converter. An 8-tooth gear attaches to the electrical fader’s control shaft and tightened with a small set screw, while the larger 16 tooth gear attaches to the servo using a plastic servo horn. All electrical components are located within pockets in the base attachment plate while the upper plate holds the servo and has holes to access the pair of 3-pin servo connections and the 4-pin screw terminal block for external connections.
The body of the unit is made in two parts: a 12mm HDPE base attachment plate and a 6mm HDPE upper plate servo mount. The base and upper plates are attached using 3 3mm Allen-head bolts. The electrical fader mounts inside an electrical box as normal, and the Dimmer Not Dumber II unit bolts to the dimmer using the normal screw holes used for fascia plates.
Dimmer Not Dumber II: showing top face with the two servo pins and the external connection screw terminals.
Dimmer Not Dumber II: closeup of the two servo connector pins and the screw terminals for 9-12V, Ground, Trigger and Reset connections
“Dimmer Not Dumber” works like a charm, both in the light and the dark!