Voice Control IoT Device

Meet Manvar
2 min readMar 19, 2021

using Flutter Application & Alexa Skill Kit

Objective

This is the proof of concept for our Drone project. In this project we have controlled the LED BUILTIN of ESP8266 NodeMCU using Flutter Application and also we have added voice control using Alexa Skill Kit.

Application Requirements

  1. NodeMCU ESP8266
  2. Electronic Speed Controller
  3. BLDC Motor
  4. 11.1v, 1500mah lithium polymer 3S/30C battery
  5. Propeller
  6. Wiring Cables
  7. AWS IoT Core
  8. AWS Lambda
  9. AWS Alexa Skill Kit
  10. AWS API Gateway

Architectural Diagram & Implementation

Project Flow

Controlling From Mobile Application

  1. Create API Gateway.
  2. Create two AWS Lambda function one for LED on and other one for LED off.
  3. Create topic in AWS IoT Core.
  4. Create mobile application using flutter which have ON and OFF button.
  5. Now, Connect NodeMCU ESP8266 with MQTT Broker using AWS IoT Core.
  6. Call the Lambda function of LED on/off using API Gateway.
  7. The command from application calls Lambda function through API Gateway goes to MQTT Broker.
  8. From MQTT Broker the command goes to NodeMCU ESP8266.

Controlling From Alexa

  1. Create a custom skill in Alexa Developer Console.
  2. Create a Invocation Function
  3. Under that, Create two intents for LED ON/OFF
  4. For each intents, create utterances like “Turn on LED” & “Turn off LED”.
  5. Write function for each intents.
  6. Call Lambda function using API Gateway for each intents function.
  7. Now, repeat the steps from step-5 of above section.

That’s all, Now LED will Turn ON/OFF with your beautiful voice.

Project Team :

18IT026 - Dhruv Dalsania

18IT046 - Jenil Kalathiya

18IT056 - Avinash Makhija

18IT062 - Meet Manvar

18IT063 - Ketul Mehta

Link of GitHub:

--

--