Industrial manufacturing
Industrial Internet of Things | Industrial materials | Equipment Maintenance and Repair | Industrial programming |
home  MfgRobots >> Industrial manufacturing >  >> Manufacturing Technology >> Manufacturing process

Alexa‑Controlled ARDrone 2.0 Demo: Voice‑Activated Drone with Raspberry Pi & Hologram Nova

A hands‑on guide to turning an ARDrone 2.0 into a voice‑controlled companion using Amazon Alexa, a Raspberry Pi, and a Hologram Nova USB modem.

Story

Motivation

After mastering the ARDrone 2.0 in a previous project, we sought to elevate the experience by integrating Alexa’s voice interface. The Alexa & Arduino Smart Home Challenge inspired us to build a fully functional, voice‑driven drone demo.

Below is a concise walkthrough of our process.

We’ll cover the Raspberry Pi software setup, Alexa skill configuration, and the final deployment steps.

Pi Software Setup

Install the Flask‑Ask library on the Pi to expose an Alexa‑compatible endpoint:

$ sudo pip install flask-ask

Next, clone the ARDrone Wi‑Fi control repository and run the provided install.sh script to enable remote control via Python.

Setting Up the Alexa Skill and App

We built a custom Alexa skill that talks to a Flask server running on the Pi. Ngrok gives the server a public HTTPS endpoint required by Alexa.

Below is a minimal example of the Flask‑Ask application (save as app.py):

#!/usr/bin/env python
from flask import Flask
from flask_ask import Ask, statement
import ardrone
import time

app = Flask(__name__)
ask = Ask(app, "/")

# Initialise the drone and give it a brief reset period
 drone = ardrone.ARDrone()
 time.sleep(5)
 drone.reset()

@app.route("/")
def home():
    return "Ground Control to Major Tom"

@ask.intent("reset")
def reset():
    drone.reset()
    return statement("resetting")

Run the server with:

python app.py

Start Ngrok with a reserved sub‑domain to keep the HTTPS URL stable:

./ngrok http -subdomain=<your-subdomain-here> 5000

Note: The Pi joins the ARDrone’s Wi‑Fi network, while the Hologram Nova provides cellular connectivity for Alexa’s requests.

We used a 250 MB monthly plan on the Nova, which delivered reliable performance.

To configure the Alexa skill, navigate to the Amazon Developer ConsoleAlexa Skills Kit+ Add a New Skill. Follow the on‑screen wizard, completing each tab until all status indicators turn green.

Once all tabs show green checkmarks, publish the skill to your Echo device via the beta testing link.

Run

To launch the full system:

  1. Power on the ARDrone and connect the Pi to its Wi‑Fi network.
  2. On the Pi, activate the Hologram Nova cellular network:
    $ sudo hologram network connect
    Once the Nova’s LED is solid blue, the cellular link is active.
  3. Start Ngrok with the reserved sub‑domain (see earlier).
  4. Run the Flask application:
    $ python app.py
  5. With the drone’s LEDs green, you can command it via Alexa. If the drone does not respond, say "Alexa, ask Major Tom to reset".

Source: MajorTom: Alexa Voice Controlled ARDrone 2.0

Manufacturing process

  1. Accelerate Alexa Integration with Developer Kits and Reference Designs
  2. Why 2017 Became the Year of Voice Interfaces
  3. Temperature‑Controlled Fan: DIY Relay System for Media Furniture Cooling
  4. Control LEDs with Alexa via Raspberry Pi – Easy Step‑by‑Step Guide
  5. Voice-Activated Home Appliances: Bluetooth Control with Google Assistant
  6. Alexa-Activated LED Christmas Tree: DIY Guide
  7. DIY Arduino USB Trackpad: Convert an Old Laptop Pad into a Modern Input Device
  8. Control LED Lights with Alexa via Arduino Yun – A Smart Home Tutorial
  9. Build a 2‑Wheel Voice‑Controlled Robot with Arduino & BitVoicer Server
  10. Build a Voice‑Controlled Arduino Car with BLE – DIY Guide