Parts Needed
Lines of Code
Time til Completion (min)

Alexa IR Control

Alexa Enabled

Use Alexa to control devices via an ESP8266 or NodeMCU. In additional, you can use an arduino in conjunction to send IR signals to TV or Devices.

Skills

  • Linux
  • Schematics
  • VNC

Instructions

Below you can find a list of the parts, schematics and programming needed to allow you to recreate and produce this project.

Parts Needed

Parts Needed

See a list of the parts need on the electrical and mechanical side of the project. In order to recreate this you will need these parts for the build. The items listed with "**" after it are optional for your build.

Electronics

  • NodeMCU (ESP8266)
  • 2N2222A BJT Transistor
  • IR Receiver
  • 100 Ohm Resistor
  • IR Transmitter

Tools

  • Breadboard or Perf Board
  • 5V 1A Micro USB
  • Soldering Iron **
  • Wood Enclosure **

Schematics

Schematics

Below I list exactly how to hookup your Alexa IR Controller with the parts listed:

1. NodeMCU (ESP8266)

The NodeMCU is powered by MicroUSB 5V and is the main Microcontroller and Wifi Module for the Projects

2. IR Receiver

There are three pins. VCC goes to 5V, GND goes to 0V, and Data Pin goes to an analog input to read the IR Signals sent to it (See picture on right)

3. IR Transmitter

After collecting IR Codes, setup the 2 pin transmitter as seen in the picture on the right. After programming the NodeMCU you can now send commands through Alexa

Programming

Download the Alexa-IR-Blaster Repository:

To find all the code and setup instructions you can visit Grensom on github.com. You can find the specific repository here for the Alexa IR Controller

Download Program (.ino) onto Arduino using Arduino IDE.

  1. Install Library: Arduino IDE >> Sketch >> Include Library >> Manage Libraries >> "search for" FastLED
  2. Open Sketch (.ino)
  3. Upload to Arduino through USB Connection

Full Instructions

You can find the full Instructions on my GitHub Repository

Overview Instructions

Overview Instructions

  1. Download the Alexa-IR-Blaster Repository and Arduino IDE if you dont have it

  2. Open Arduino IDE and download the following Libraries: ESP8266WiFi.h, WebSocketsClient.h, ArduinoJson.h

  3. Connect NodeMCU to computer via USB connection and Upload sketch(.ino file) to Arduino.

  4. Complete the Full Schematic NodeMCU, BJT, and IR Transmitter

  5. Connect Micro USB to NodeMCU for power and Enjoy