-
Notifications
You must be signed in to change notification settings - Fork 6
Tutorial 1 Braintone
Prior to this tutorial, make sure you have:
- completed the Complete Guide to Getting Started.
- a USB 2.0 Bluetooth dongle (specifically CSR)
- a MUSE eeg headband
- a Piezo buzzer and two wires <@diagram to come>
Make sure to select the following packages in the menuconfig (some are there by default, but better be sure):
- Atlants->Application->braintone_app
- Atlants->Interface->DATA_interface
- Atlants->preprocessing->DATA_preprocessing
- Atlants-GPL->librairies->wiringPi
- Librairies->bluez-libs
- Utilities->bluez-utils
You can now build the image and dd it to an SD card, by following the instructions in the Getting Started Section.
Before powering up the Raspberry Pi, make sure to attach the piezo-buzzer to GPIO 1 (wiringPI convention). The correct way to connect it is indicated in the following schematic:
You can now power up the Raspberry Pi and SSH to it, by following the instructions in the Getting Started.
You then need to find the MAC address of your Muse. To do this, power up the Muse and scan using the following command:
$hcitool scan
Take note of the MAC address and copy it - using the vi text editor - in the config file of the DATA_interface located:
/intelli/data/config/data_config.xml
Copy within the remote_addr xml tags
You can start Braintone by calling the script this way:
$./intelli/launch_braintone.sh start
During execution, you can stop it by typing:
$./intelli/launch_braintone.sh stop
The best way to achieve this is to tap arrow up, backspace 3 times and write the letter "op"