Forked from original repository by Aruna Tennakoon
Read my full blog post about this project
This project supports turning on/off an LED strip through Alexa Voice commands using 1 ESP-8266 board.
Parts you need:
-
WeMos D1-mini ($4.00). You can buy it from Aliexpress
-
Logic-level MOSFET. Recommended: RFP30N06LE, 80N06L
-
Toggle switch
-
USB phone charger
-
USB charging cable (you'll need to strip it open for powering the LED. No need for the data cables, a cheap 2-wire USB cable will do just fine)
Optional: Resistor (any value between 1k and 100k). Used in case your LED remains ON after you have switched the power off. This is due to the residual capacitance of the MOSFET which is some cases is high enough to keep the LED on.
Schematic diagram for 3-pin SPST rocker switch with indicator LED: