BCI CONTROLLING

Published Sep 21, 2022
 3 hours to build
 Beginner

Controlling LED lights with our brain attention using Brainwave Starter kit and Arduino platform

display image

Components Used

Arduino UNO
Arduino UNO
1
Bluetooth Module HC-05
Bluetooth is a wireless communication protocol used to communicate over short distances. It is used for low power, low cost wireless data transmission applications over 2.4 – 2.485 GHz (unlicensed) frequency band.
1
LED 3mm
LED 3mm
10
Breadboard
Breadboard
1
USB Type A to B Cable
USB Cables / IEEE 1394 Cables USB A-B 28/26 BLACK 1.3 M
1
Male to Female Jumper Wire
Jumper Wires Mach pin jumper wires
15
Female to Female Jumper Wire
Jumper Wires Mach pin jumper wires
5
Male to Male Jumper Wire
Jumper Wires Mach pin jumper wires
5
Resistor 330 Ohms
Metal Film Resistors - Through Hole FRN25 5% 330R
10
Description

 

  • Interfacing the mindwave mobile with an Arduino board using HC-05 bluetooth module.
  • Acquiring the Meditation eSense values from the data stream.
  • LED controlled by Meditation level of mindwaves.
  • Displaying the Meditation levels in serial monitorMindwave mobile:

 .

                                                                               Mindwave mobile

 

FindIing the Unique number of your Mindwave Device:

  • Select your Mindwave device
  • Right click → Properties → Bluetooth Then know your Unique Identifier Number 
  • Note the unique number

 

AT Commands for HC-05 module Initialize for Mindwave Kit

  •  First Enter into command mode, after then enter the following commands for HC-05 module to communicate our Mindwave Kit.
  1. AT
  2. AT+UART?
  3. AT+ROLE?
  4. AT+PSWD?
  5. AT+CMODE?
  6. AT+BIND?
  7. AT+IAC?
  8. AT+INQM?
  • Select your Port and set Baudrate is 38400
  • Enter the AT commands (Initialize)

 

INTERFACING ARDUINO WITH MINDWAVE KIT

  • Switch ON the Mindwave kit and unpaired the last connections, then OFF the Mindwave device.
  • Program  the “Mindwave with Arduino” source code to Arduino Board using Arduino compiler.
  • Open the “Serial Monitor” in Arduino compiler with 57600 baudrate.
  • Make all the connection and then switch ON the Arduino Board.
  • After the 7 Seconds, switch ON the Mindwave device.
  •  Now the Mindwave device and Arduino Board will pair automatically.
  • Wear the Mindwave device in Head, and give the attention.
  • Check the LED variation with respect your attention level.
  • And also see the Serial Monitor to know your Poor quality and attention levels.

 

VIDEO

 

Codes

Downloads

Circuit connections Download
At command output Download
Attention level detection Download

Institute / Organization

BANNARI AMMAN INSTITUTE OF TECHNOLOGY, SATHYAMANGALAM
Comments
Ad