EEG Controlled Drone

by Upside Down Labs in Circuits > Sensors

117 Views, 0 Favorites, 0 Comments

EEG Controlled Drone

download (14).gif

What if you could fly a drone using nothing but your brain, muscle movements, and eye blinks?

In this project, we'll build a real-time Brain Computer Interface (BCI) that allows you to control a DJI Tello drone using EEG (brain activity), EMG (muscle activity), and EOG (eye movement) signals.

Using the Neuro PlayGround Lite (NPG Lite), bio-potential signals are acquired, processed, and translated into wireless commands that are sent directly to the drone over WiFi.

This project demonstrates how neuroscience, embedded systems, robotics, and wireless communication can be combined to create a powerful Human Computer interface (HCI).

Disclaimer: This project is intended for educational, research, and DIY neuroscience purposes only. It is not a medical device.

Supplies

Copy of NPG Lite (2500 x 1899 px).png

Hardware

  1. Neuro PlayGround Lite (NPG Lite)
  2. DJI Tello Drone
  3. Snap Cables
  4. Gel Electrodes
  5. USB-C Cable
  6. Laptop
  7. Nuprep Skin Preparation Gel
  8. Alcohol Wipes

Software

  1. NPG Lite Flasher Web
  2. NPG-TELLO-Drone Firmware

Skin Preparation

Untitled design.png

Before placing the electrodes, clean the skin properly.

The signals from the body are very small, so dust, oil, sweat, and dead skin can make the signal noisy.

What to do:

  1. Apply a small amount of Nuprep gel on the area where the electrode will be placed.
  2. Gently rub the gel on the skin for a few seconds.
  3. Clean the same area using an alcohol wipe.

Check Before Moving Ahead

  1. The skin should feel clean and dry.
  2. The electrode should stick properly.
  3. The electrode should not move or fall off easily.

Electrode Placement and Connection

download (9).gif
download (10).gif
ElectrodePlacement Signal Type
A0P Center Forehead EEG
A0N Behind Right Ear EEG
A1P/A1N Left Arm (biceps) EMG
A2P/A2N Right Arm (biceps) EMG
REF Behind Left Ear Ground

Pro Tips:

Clean skin with alcohol wipes before applying electrodes for better signal quality


Install the Firmware

download (2).gif
download (3).gif
download (5).gif
download (6).gif

The NPG Lite needs special firmware to communicate with the drone.

Connect the NPG Lite to your laptop using a USB-C cable.

Open the NPG Lite Web Flasher.

Flashing Steps

  1. Click Get from GitHub
  2. Download NPG-TELLO-Drone
  3. Select the downloaded firmware
  4. Click Connect Device
  5. Choose your NPG Lite
  6. Click Flash Firmware

Wait until the process completes.

The NPG Lite will restart automatically.

Configure Your Controls

download (7).gif

Start the NPG Lite in Configuration Mode.

Enter Configuration Mode

  1. Hold the BOOT button
  2. Power ON the NPG Lite
  3. Wait until the RGB LED turns purple
  4. Release the button

Now connect your laptop to:

WiFi: ESP32C6_Neuro_Config
Password: 12345678
Open: http://192.168.4.1 or http://droneconfig.local

Test Your Signals and Set the Controls

download (8).gif

The dashboard shows live values from all channels.

Each person produces slightly different signals, so we need to set thresholds.

Input Signal Detected Action Drone Command
🧠 EEG Focus Takeoff
👀 EOG Triple Blink Flip
😬 EMG Jaw Clench Change Control Mode
💪 EMG (Left Arm) Muscle Flex Up / Rotate
💪 EMG (Right Arm) Muscle Flex Down / Forward

Setting Thresholds

For each control:

  1. Stay relaxed and observe the resting value.
  2. Perform the action.
  3. Watch the signal increase.
  4. Set the threshold slightly above the resting value.

Repeat until each action triggers reliably.

Connect to the Drone

download (15).gif

Power ON your DJI Tello drone.

The NPG Lite will automatically:

  1. Search for nearby WiFi networks
  2. Detect the TELLO network
  3. Connect automatically
  4. Enter flight mode

No manual WiFi setup is required.

Let's Test the Controls!

download (14).gif

1. Takeoff

Focus your attention on a single point, such as an object on the wall or a spot on the screen. The system continuously measures your concentration level using EEG signals. Once your focus level crosses the predefined threshold, the drone automatically takes off and hovers in the air.

2. Move the Drone

Now let's control the drone using muscle signals (EMG).

  1. Flex your left arm
  2. Contract the muscles in your left arm. The EMG sensor detects this muscle activity and sends a command to the drone, causing it to move upward.
  3. Flex your right arm
  4. Contract the muscles in your right arm. The detected muscle signal is converted into a command that makes the drone move downward.

3. Change Control Modes

Clench your jaw firmly for a moment. The EMG sensor detects the jaw muscle activity and uses it as a mode-switching command. This allows you to change how the arm movements control the drone.

4. Rotation Mode

After switching modes, the same arm movements perform different actions:

  1. Left arm flex → Rotate the drone left.
  2. Right arm flex →Move drone forward

This lets you control multiple drone movements using the same set of muscle signals.

5. Perform a Flip

Blink your eyes three times in quick succession. The EOG sensor recognizes this unique blink pattern and triggers a flip command, making the drone perform an aerial flip.

6. Emergency Landing

Safety always comes first. If you need to stop the flight immediately, press the emergency button. The drone will instantly land, regardless of its current mode or action.


Applications

This project demonstrates how body signals can be used to control machines in real time.

Possible applications include:

  1. Brain-Computer Interfaces (BCI)
  2. Neuro-Robotics
  3. Assistive Technology
  4. Human-Computer Interaction
  5. STEM Education
  6. DIY Neuroscience Projects