$5 ESP8266 WiFi LED Dimmer
Custom hardware designs for a super tiny WiFi LED dimmer module based on the ESP8266, to control your lights from any device. Doesn't need any arduinos or raspberries to work, just the ESP. If you like this, please give it a star!
Update: The new module design for RGB (i.e. triple channel) LEDs is done. This new design can handle up to ~8.5A of current per channel! Its parts costs the same as the old design, and if you want only one channel, you could just not solder the 2nd and 3rd channel. This way you can use the beefed up design. :)
Ordering the board
Choose whether you want a single or triple channel dimmer, and then send all files in [single_channel or triple_channel]/gerber_files/ to your PCB house, and all should be fine and dandy!
You can also order the new triple channel design from DirtyPCBs here: http://dirtypcbs.com/store/designer/details/tjclement/1329/5-esp8266-rgb-led-dimmer
Parts
After having ordered the print board, you're going to want to have these parts for every module (mind you, there's two panelized modules per board ordered!):
Single Channel (old version) | Triple Channel (new version) | ||
Amount | Description | Amount | Description |
1 | ESP8266, ESP-12(E) format | 1 | ESP8266, ESP-12(E) format |
1 | XM1584 Power converter (set to 3.3v!) | 1 | MP2307 MINI 360 Power converter (3.3v!) |
1 | FDS8896 PowerTrench MOSFET | 3 | FDS8896 PowerTrench MOSFET |
2 | KF350-2P screw terminal blocks | 4 | KF350-2P screw terminal blocks |
4 | 10k resistors, 0603 format | 6 | 10k resistors, 0603 format |
Total cost: less than $5!
I order most of it from China, sites like aliexpress.com will have everything you need.
Firmware
Because this module is essentially a breakout for the ESP8266, you can use any firmware written for it. I've written a bunch of cool things to get this module running as I want it to, check it out here: http://github.com/tjclement/esp-dimmer-software.
Just hook up a 12V power supply, connect it and the LED strip to the module, and the ESP will be able to control the LEDs. Awesome!
If you're looking for something else (or write your own firmware), have a look at http://esp8266.com for more resources.
You can use a loader like this one to load firmware onto the ESP: https://github.com/themadinventor/esptool.
Contributing
You can open the .sch and .brd files in Eagle (V7.2+), and make any modifications you see fit. If you add something cool, please create a pull request so we can bring the awesomeness into the community!
Credits
Heavily inspired by Quindor's original design over at http://blog.quindorian.org/2014/12/esp8266-wifi-led-dimmer-part-1-of-x.html/. We've been sharing design ideas back and forth ever since. Nice job mate!