Build Guideintermediate

Brain-Controlled Car: EEG + EMG Robotic Control

Control a robotic car wirelessly using brain signals for forward/reverse movement and muscle signals for steering, combining EEG and EMG via BLE with NPG Lite and XIAO ESP32-C6.

Boards:ESP32-C6
Firmware:Arduino
Use Cases:EducationRobotics

Overview

This project combines brain-computer interface and human-computer interface technologies to wirelessly control a robotic car. Mental focus drives the car forward, arm muscle flexion steers left and right, and flexing both arms reverses the car.

Hardware Required

  • Neuro PlayGround (NPG) Lite for EEG/EMG acquisition
  • Brain BioAmp Band (or gel electrodes)
  • XIAO ESP32-C6 as the receiver
  • MX1508/MX1616 motor drivers
  • DC motors
  • BioAmp Snap Cables

How It Works

  1. Forward: Focus your mind (beta wave detection)
  2. Steering: Flex left or right arm (EMG detection)
  3. Reverse: Flex both arms together

The NPG Lite captures brain and muscle signals and transmits them via Bluetooth Low Energy to the XIAO ESP32-C6, which drives the motors through motor driver boards.

Software

  • Arduino IDE with ESP32 board library (v3.2.0)
  • Adafruit NeoPixel library
  • NPG Lite firmware

What You'll Learn

  • Multi-modal biosignal control (EEG + EMG)
  • BLE communication between devices
  • Motor control for robotics applications

Resources