The Button

The Button

thingiverse

Print the Button to switch your favorite hue lights or scenes, homematic scenes or whatelse you can imagine to do with one click esp-01. After pressing the Button the esp resets and executes the code ( logging into wlan, searching for bridge, sending data). After that the esp goes into deepsleep again and wait for the next reset. The deep sleep mode don't need much energy so you can use the Button for a long time without changing batteries ( I hope so ;) ) I use it for my lights to switch a good morning scene (lights, coffeemachine) and for some all off buttons. I used @PrintMo 's Rugged Lens Filter Case locking system for the button ( http://www.thingiverse.com/thing:415961 ) How it works: https://youtu.be/y_RpBIn9FNE Instructions BOM print all the parts buy the electronics 2x 10k resistor 1x 3mm LED (+resistor for the LED) in my case 150Ohm 1x perfboard 6*19 dots 2x battery holders (AAA) 2x 4 pin connectors 1x micro push button (long) 1x M4 nut and screw 2x 5mm Neodym magnets double sided tape maybe some small springs 1x esp-01 Step 2 - Electronic wire the Electronic on the picture: 1- 10k resistor 2 - 150Ohm left side the esp-01 bottom view (means VCC is in upper left corner, GND in lower right) the hole on the left is for a M4 screw Hint for battery saving some ESP-01 boards have a working red power LED. "Note: Some batches of this module ship with LED Current limiting resistors of the wrong value (47Ohm vs 4.7KOhm). This usually results in the power LED vanishing in a puff of smoke. "http://www.esp8266.com/wiki/doku.php?id=esp8266-module-family#esp-01 For our project that fact is good cause we save some power ;) If the red LED is not destroyed on your board ... destroy it. The LED is also glowing in deep sleep mode so it's draining our battery. I powered mine then I saw where the red LED is located and used a plier to destroy it. Step 3 - Build Build the Button and insert electronic place the M4 nut to secure the electronic the magnets are for holding it in place (cut the support on the bottom to place them) the holes in the base are for some tiny springs. Look in your local hardware store for some All instructions are in the video too. Step 4 - code you can use the attached .ino file as a start some examples for hue lights are in. From start to action the button needs about 5 secs maybe you can reduce the time by using static ip adresses

Download Model from thingiverse

With this file you will be able to print The Button with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on The Button.