Control home appliances and IoT devices using your thoughts and mental attention with a brain-computer interface powered by an EEG sensor and Raspberry Pi.
This project is sourced from another site, not written by us — this list is our best match of their components against what we stock, not a verified bill of materials. Always check the original blog (linked above) for the actual parts list before buying.
The Brain Controlled IoT EEG project functions by establishing a wireless communication link between a wearable neural sensor and a single-board computer to automate physical devices using human mental focus. At the heart of the system is the NeuroSky MindWave Mobile 2 EEG Sensor, which captures electrical brainwave activity via a dry sensor forehead arm and an ear clip reference. This biosensor processes the raw electrical signals onboard and transmits structured data packets containing attention and meditation metric values wirelessly via Bluetooth. The Raspberry Pi 5 runs Raspbian OS and utilizes the Bluez driver stack to manage the Bluetooth connection with the headset. A Python script executes continuously, importing the NeuroPy library to parse the incoming data stream from the headset in real time. When the user's measured attention level crosses a predefined numerical threshold set within the script, the Raspberry Pi changes the logical state of one of its general-purpose input/output (GPIO) pins. This digital output signal is wired to a relay module, which acts as an electrically operated switch. Because the relay module isolates the low-voltage control circuit of the Raspberry Pi from high-voltage circuits, triggering the relay safely opens or closes the pathway connected to an electric light or home appliance. Through this closed-loop sequence of bio-signal acquisition, wireless telemetry, threshold logic evaluation, and hardware switching, the user achieves direct, hands-free control of physical hardware using sustained mental concentration.
Why Build This
Design advanced assistive technology prototypes that enable individuals with physical disabilities to control household environments using only brain activity.
Explore human-computer interaction (HCI) research paradigms by translating non-invasive electroencephalography data into actionable IoT commands.
Gain practical experience integrating Bluetooth peripheral devices, serial data parsing libraries, and electromechanical relay hardware on a Linux-based single-board computer.
Real-World Application
Assistive technology for individuals with physical disabilities, hands-free home automation, and advanced human-computer interaction research.
Skills You'll Learn
Bluetooth peripheral pairing and communication
Python serial and data stream parsing
GPIO digital output control
relay module interfacing
threshold-based event triggering
Safety Precautions
Exercise caution when working with mains electricity connected through relays.
Technology Tags
EEG
BRAIN-COMPUTER INTERFACE
BCI
PYTHON
IOT
BLUETOOTH
NEUROPY
SENSORS
Frequently Asked Questions
The project targets undergraduate engineering levels, so familiarity with Python programming, Linux terminal navigation, and basic electronics wiring is expected, though no prior EEG experience is required.
The NeuroSky MindWave Mobile 2 communicates wirelessly using Bluetooth, which is managed on the Raspberry Pi 5 via the Bluez driver stack and accessed through Python.
You can control any appliance that can be safely switched by the relay module, keeping in mind the electrical ratings of the relay and the requirement to exercise extreme caution with mains power.
Gallery
This page is part of Kitkraft's Project Hub — a curated collection of electronics & robotics projects gathered from the maker community to help students and hobbyists discover and learn to build. Kitkraft does not claim authorship of the original project, and makes no representation as to the accuracy, completeness or safety of third-party source material. The summary and "How It Works" explanation above are AI-generated, rewritten with reference to the original tutorial — not a reproduction of it. Full credit and a direct link to the original source are provided above. If you're the original creator and have a concern about how your work is represented here, please contact us and we'll address it promptly.