Alexa ESP8266 Based LED Strip Controller + Gaming PC

by mcmchris in Circuits > Electronics

591 Views, 2 Favorites, 0 Comments

Alexa ESP8266 Based LED Strip Controller + Gaming PC

PortadaAlexaLEDHao.jpg

Hello to everyone, today I am here to show you how to control a LED strip attached to a Gaming Laptop with Alexa and the ESP8266. I am recycling one of my last projects, the Infrared WiFi Switch that activates a Triac and also can drive an IR LED.

Here I leave you a tutorial with all the information so you can make your own version. If you are a visual learner I know that a video worth more than 1000 words, so here is a Tutorial video. (I am a Spanish speaker, so please consider turning on English subtitles):


Skills Required:

Screenshot (45).png
Screenshot (64).png

This project may seem difficult or very complex, but it is definitely not completely, since you will have all the guidance for the construction, it was difficult for me to design it to make life a little easier for you. Any conceptual doubt, you are free to ask it without problems.

  • You should have an understanding of:
  • Handling main voltages
  • Arduino programming (I give you the code).
  • Soldering through hole components.

Components and Parts List

Captura de pantalla (850).png
Captura de pantalla (844).png
Captura de pantalla (843).png
Captura de pantalla (839).png

🛒Materials to build it wit custom PCB:

Circuit Diagram and Schematic + PCB

Schematic_TriacSwitch_2021-08-11.png
Captura de pantalla 2021-08-12 154719.png

Here is the Circuit Diagram of our project:

It has all the internal connections of the circuit that will us allow to create the PCB design later.

I also attached the PNG of the Schematics so you can see it better.

Gerber File (Free, just put 0 in the charge box).

For the implementation of a good project we need a reliable assembly for the circuit that makes it up, and there is no better way to do it than with a good PCB.

I suggest JLCPCB:

$2 for 1-4 Layer PCBs⚡, Get SMT Coupons🎫

Learning IR Remote Codes

Captura de pantalla (840).png
Captura de pantalla (841).png
Captura de pantalla (842).png
Captura de pantalla (844).png
Captura de pantalla (845).png
Captura de pantalla (846).png
Captura de pantalla (847).png
Captura de pantalla (848).png

  1. Unbox your remote controlled LED strips and test it works fine.
  2. Get an IR sensor, finout its pinout and wire it to your ESP8266 (signal on pin 0).
  3. Upload the Code.
  4. Point the sensor with the remote controller and press your wanted buttons.
  5. Annotate the codes and verify the Hex.

Uploading the Final Code

Captura de pantalla (852).png
Captura de pantalla (855).png
Captura de pantalla (853).png

  1. Go to code lines 30 and 31 and put your WiFi credentials.
  2. Go to code lines 105 and 109 and place the Hex codes after the 0x (Ex. irsend.sendNEC(0xFF827D, 32);)
  3. Go to code line 33 and name the device that will appear in the Alexa app.
  4. Upload the code to the ESP8266 using the programming board

Bind Your Project With Alexa

Captura de pantalla (856).png
Captura de pantalla (857).png
Captura de pantalla (858).png
Captura de pantalla (859).png
Captura de pantalla (837).png

  1. Connect an AC cable to the L an N terminal block and power up the board.
  2. Verify your ESP8266 turn on it LEDs and they blink for a while (searching por wifi).
  3. Then tell your Alexa " Alexa, discover new devices " and wait, it should say " 1 device discovered ".
  4. Verify in your app that the devices was added.
  5. Test the IR LED activates when you say Alexa to turn on or off the device.
  6. Wire up the LED strip and test it controls it.

Custom Any Space With Your LED Strip and Enjoy

Captura de pantalla (860).png
Captura de pantalla (861).png
Captura de pantalla (862).png

You can control this LED strip particularly with a bluetooth APP while you can turn on and off it with your voice with Alexa.

Note: you must need an Alexa physical speaker not just the app.