SMART LED DIMMER

The Smart LED Dimmer controls a 12V monochrome LED strip. It uses an ESP8266 WiFi module and Arduino software to pulse width modulate the strip's power. You control it with a momentary pushbutton switch or through its web interface. The repository includes SketchUp files for a 3D-printed case and push button mount and instructions and code allowing the dimmer to be recognized and controlled by a Samsung SmartThings hub. While tapping the button is very convenient, I find myself using voice commands and automated routines to control my dimmers more often than not. (Since both Google and Alexa can connect to SmartThings.)

The repository is at: https://github.com/kit-barnes/smartLEDdimmer.git

Dimmer Schematic
Dimmer Breadboard
FET Wiring

I initially used an NPN power transistor in designing the circuit and my earlier case designs included a mount for a TO-220 transistor. Breadboarding proved the bipolar device to be unsuitable and I switched to a MOSFET. Regrettably, I didn't find a suitable one in a TO-220 case so I resigned myself to the effort of soldering leads onto the tiny surface mount device, encapsulated it in multiple shrink-wraps, and gave up my transistor mount. (The resistor in the breadboard photo is left over from the bipolar circuit.)

As evidenced by the breadboard photo, I'd intended to use knots in the wires as strain relief. A few wraps of heavier wire took up much less room in the case. There are mountings for the ESP8266 module and the DC-DC converter and the cover snaps on. The pushbutton switch is press-fit into its mount.

dimmer3
dimmer4
dimmer5
dimmer6