Emotion Sensor & EEG: Low-Cost Hardware for Real-Time Emotion Detection
Emotion Sensor & EEG: Low-Cost Hardware for Real-Time Emotion Detection
This project presents a compact emotion sensor capable of detecting stress, anger, happiness, and fear by analyzing EEG signals. The system is built with affordable components, making it accessible for hobbyists and researchers alike.
Project Overview
Author: xdeyyan – Project uploaded on 20.04.2018 CET (European Time, Balkans). The full design will be released in the near future; meanwhile, here is an outline of the current setup.
Key Components
- Quod 4 Processor – €14
- Quod Z6 Controller – €3
- Optional Raspberry Pi (for extended data logging and visualization)
- Wires, switches, 9 V battery and connector
Software Overview
The sensor reads EEG data and forwards it to a host system for analysis. Below is a simplified script that illustrates the data flow. The actual implementation uses Visual Studio Code and the Quod platform libraries.
// This is script for reading brain waves
// Developed by Dejan Lukić from Quod
implements {
use [RaspberryPI]
use [VisualStudio.code]
use [Qoud4.processor]
use [QoudZ6.controller]
}
code {
if 'startup' [run = 'Quod Controller.exe']
if 'shutdown' [terminate = 'Quod Controller.exe']
if 'hibernate' [screen.blank]
if 'err' [screen.err]
public function 'readBrainWaves' [
if 'brainWave' = 1 [positive.signal]
if 'brainWave' = 0 [negative.signal]
if positive.signal [analytics.pointer.high]
if negative.signal [analytics.pointer.low]
if positive.signal + negative.signal [analytics.pointer.medium + beep.sound]
if 'brainWave' = over 1 [shutdown = 'RaspberryPI' + shutdown = 'QuodZ6.controller']
other [startup = 'RaspberryPI' + startup = 'QuodZ6.controller']
]
}
Visualization
We plan to develop a graphical interface using Visual Studio Code that will display real-time EEG traces and emotion indicators. Sample EEG plots are available on Google and ResearchGate.
Next Steps
The current prototype is functional for emotion detection but not yet finalized. I will upload the complete firmware, schematic, and software package shortly. Stay tuned for updates!
Source: Emotion Sensor / EEG
Manufacturing process
- EEG Machines: Design, Manufacturing, and Emerging Applications
- Understanding the Oxygen (O2) Sensor: Role, Placement, and Failure Signs
- Build a Raspberry Pi Home Temperature Monitor with MCP9808, InfluxDB & Grafana
- UnifiedWater v1 – Complete Arduino Water Quality Sensor Kit
- River Health Monitor: Arduino-Based Water Quality System
- Build a Smart Wristband with Arduino MKR GSM 1400 & Hologram IoT
- Smart Hydroponic System Using Arduino Mega 2560 & Sensors
- Master Vibration Detection with Arduino: A Simple Sensor & LED Setup
- Arduino Temperature Sensor Project: Read, Convert, and Display Fahrenheit
- Build an IR Sensor Project with Arduino UNO – Simple Guide