Category Archives: neurosky mindwave hack

Neurosky mindwave hack

By | 14.07.2020

Several years ago, a company called Neurosky came out with an interesting chipset meant to be put in an EEG headset. This chipset would track your brainwaves, do some fancy math, and output a few numbers based on the Delta, Gamma, Alpha, and Beta waves in your brain.

neurosky mindwave hack

Of course, the senseable thing to do with this technology would be to put it in a Star Wars-branded toy where you pretend to be a Jedi. All was good with the world, and a few people hacked these Jedi Mind Trainers for some interesting builds. But the Neurosky chip was still a black box.

No one knew how it worked. All the building blocks are there. Right now, [Curt] has successfully opened up one of these fitness trackers and has done enough of a teardown to get the data off of the bioimpedence sensor.

For those that suffer them, seizures are a dangerous thing. Some detection methods exist for seizure sufferers, but they are primarily based on detecting the jerking motion of the patient.

This is an off-the-shelf product designed specifically for capturing EEG data. It outputs raw brainwave data which is key for doing proper analysis. The project then uses an Arduino Mega to tie everything together, along with some Sparkfun Bluetooth modules to talk to a cell phone to send an SMS for help in the event of a seizure.

The real difficulty in a project like this comes from developing an algorithm that can reliably detect seizures, as well as a unit robust enough to work in the real world.

Have you ever wanted to turn on or off your TV just by thinking about it? We love this hack mainly because it uses an old Star Wars Force Trainer game. This cool little toy was introduced in and uses a headset with electrodes, and an electroencephalography EEG chip.

Kids these days have the best toys! After a bit of coding, you can now control your TV by using the force! Video after the break. In the meantime if you can find his Arduino Brain Library on github. How does all the neuro-magic happen?This step-by-step guide is intended to quickly get a typical Arduino board user up and running with the MindWave Mobile. The parsed output stream can then be used to perform various tasks such as to control the speed of a motor, to light up LEDs, and to control the position of a servo motor, etc.

Either method will work. The Arduino may be powered by USB, by battery, or by an external power supply. Sample Code. All the details or regular microprocessor development such as processor clock speed, programming speed, clock sources, etc.

With this in mind, the Arduino system will still be able to perform much of the required tasks with no problem at all.

The simplicity of using the microprocessor peripherals combined with the C language along with the sample code provided provides for very quick interface to the MindSet. The user is encouraged to extend the Arduino code by appending code after the indicated section where the packet has been checked for a valid checksum.

Thereafter, the user may use the eSense values to do one of many things possible. Some of which is to control the brightness of an LED, the height of an object, etc. The bulk of the code is used for parsing the packet data. NeuroSky technologies enable the most insightful and easy-to-understand health and wellness biometrics for mobile solutions, wearable devices, and service providers.

NeuroSky-enabled solutions deliver unique insights into body and mind health and wellness that can motivate people to make better lifestyle choices. Contact Us. Table of Contents Features. Getting started with the Arduino development environment. This application requires the following materials: MindWave Mobile. Arduino Diecimila was used to develop please see the note below if you are using a Mega or Uno.

Download the provided example code into the Arduino board using the Arduino development environment.

Posts navigation

To make the MindWave Mobile discoverable, power on the headset. It is now discoverable. The LED will turn green when it's connected. This may take a few tries. You can power cycle the Arduino if you experience issues. Once the module is powered up, it will immediately look to connect. Check to be sure that the stored address is the Mac address, and it's configure to Auto, not Slave.The Muse headset is a rather expensive consumer-grade EEG headset that promises better meditation with the ability to track your brainwaves in order to go into a deeper trance.

Two bulky pods over the ears hold the battery and charging circuit on one side, and the brains on the other. The neat part about it is a little adjustable metal piece which allows for adjustment on the strap while maintaining all the electrical connections. A flexible circuit houses forehead electrodes which go along the length of the band. Think of the Inception music. I have an old Mindflex toy earmarked for something similar. Like wake you up at the time closest to your alarm in between deep sleep cycles for maximum rest.

Works pretty well by using the phones accelerometer to watch movement of your bed. The phone apps that do this monitor movement, but doing it by monitoring brain activity could be a lot better—or at least different. The Zeo sleep-tracking system used a forehead strap with electrode pads to measure EEG pretty sure it was EEG, not eye-motion muscles, though there have been lucid-dreaming devices that look for REMand low-power radio probably Polar?

It was able to give a much more accurate evaluation of your sleep state than the simple accelerometer apps on phones or Fitbit-like sensors — tracked when you were in deep sleep, light sleep, or REM. I do wonder if something similar could be done using the Hackaday. An intraoperative uses similar electrode placement and FFT analysis to determine level of consciousness. What a shitty teardown in term of describing the heart of it: the analog frontend.

Little more than mentioning its presence. She should post a circuit diagram or at least tell as which principle is used for measurement: single ended, differential, three opam INA etc. This is useless. Of course the headset consists out of a cpu, an analog forntend, a battery and a bluetooth radio. Sloppy, sloppy work. Unlikely, too expensive and not necessary, but whatever it is a teardown should answer the question.

neurosky mindwave hack

Does that say 0. So while you have it apart, might as well upgrade the battery. You guys need to check out the Aurora headband by Iwinks. My Muse headband battery needs replacement. I have identified it as a very high quality Lithium Polymer mAh 0.

Mine too. Thank you for identifying the battery type!For our purposes, though, it was still a bit spendy. Since NeuroSky supplies the EEG chip and hardware for the Force Trainer and Mind Flex toys, these options represent a cheaper if less convenient way to get the same data. The silicon may be the same between the three, but our tests show that each runs slightly different firmware which accounts for some variations in data output.

The MindSet, unlike the toys, also gives you access to raw wave data. It gives you almost all of the data the Mind Set for less than half the cost. But first, the inevitable caveat: Use extreme caution when working with any kind of voltage around your brain, particularly when wall power is involved. My thanks to Viadd for pointing out this risk in the comments.

If you make a mistake you could damage the unit beyond repair. Most of the action is in the headband, which holds the EEG hardware. A micro controller in the headband parses data from the EEG chip and sends updates wirelessly to a base station, where a fan levitates the ball and several LEDs illuminate to represent your current attention level.

This schematic immediately suggests several approaches to data extraction. Others have reported success with this approach. We could never get it to work. We decided to take a higher-level approach by grabbing serial data directly from the NeuroSky EEG chip and cutting the rest of the game hardware out of the loop, leaving a schematic that looks more like this:. The video below walks through the whole process. Detailed instructions and additional commentary follow after the video.

Grab a screwdriver and crack open the left pod of the Mind Flex headset. The right pod holds the batteries. The NeuroSky Board is the small daughterboard towards the bottom of the headset. Thin wire is fine, we used 24 gauge. Be careful not to short the neighboring pins.

Your Arduino will want to share ground with the Mind Flex circuit. We used a dab of hot glue to act as strain relief for the new wires, and drilled a hole in the case for the two wires to poke through after the case was closed. This step is optional. The ground goes… to ground. You may wish to secure the Arduino to the side of the Mind Flex as a matter of convenience.The USB dongle will no longer work with your computer.

Please visit store. This step-by-step guide is intended to quickly get a typical Arduino board user up and running with the MindWave. This guide will show how to setup quickly for communication with the MindWave and gives example code to parse the output stream.

The parsed output stream can then be used to perform various tasks such as to control the speed of a motor, to light up LEDs, and to control the position of a servo motor, etc. The following describes easiest way to quickly get up and running using an Arduino board. The Arduino is sold by a vendor listed in the sources section.

After the system is up and running, the Arduino may be detached from the computer and run independently. Connecting the dongle to the Arduino Board requires removing the plastic covering from the dongle and soldering wires to 4 of the pins. In order to for the dongle to properly receive the TX signal from the Arduino, two traces on the board must be cut.

With an X-Acto knife, cut these two traces. The Arduino may be powered by USB, by battery, or by an external power supply. All the details or regular microprocessor development such as processor clock speed, programming speed, clock sources, etc. With this in mind, the Arduino system will still be able to perform much of the required tasks with no problem at all.

The simplicity of using the microprocessor peripherals combined with the C language along with the sample code provided provides for very quick interface to the MindSet. The user is encouraged to extend the Arduino code by appending code after the indicated section where the packet has been checked for a valid checksum.

Philips Hue Light controlled with TouchDesigner and EEG Headset MindWave NeuroSky

Thereafter, the user may use the eSense values to do one of many things possible. Some of which is to control the brightness of an LED, the height of an object, etc. The bulk of the code is used for parsing the packet data. To switch the program to measure your meditation level, requires changing a few lines of code.

Inside the pde file, locate the code shown below. Note that this is in a docx format. Simply rename the extension from docx to pde and run the program. NeuroSky technologies enable the most insightful and easy-to-understand health and wellness biometrics for mobile solutions, wearable devices, and service providers. NeuroSky-enabled solutions deliver unique insights into body and mind health and wellness that can motivate people to make better lifestyle choices. Contact Us.

Table of Contents Features. Connecting the dongle to the Arduino Board. Getting started with the Arduino development environment. This application requires the following materials: MindWave. The basic programming flow is as follows: Connect the dongle to the Arduino board. Download the provided example code into the Arduino board using the Arduino development environment.

Remove the plastic covering from the USB dongle. Once the cover is off, you should see the board shown below Note: Bottom View Orientation. Solder wires to these 4 pins, leaving enough wire to make the necessary adjustments. Connect the boards together, according to the schematic shown below. Once you have synced the program and your board, disconnect the TX and RX lines coming out of the Arduino.

Welcome Start here. NeuroSky So far, the majority of those hacks used the Mindflex toy to be fair there were several using the Force Trainer as wellwhich depends on a chip made by the company that is responsible for the MindWave.

Both the Mindflex and the Force Trainer were reverse engineered to access the stream of data coming in from the EEG sensors. But NeuroSky is embracing the urge to mess with their products by offering developer tools.

neurosky mindwave hack

The quick clip after the break shows his finished project, grabbing data from the USB dongle that comes with the headset, converting it to the necessary levels for the Arduino, then processing the signals for display on and LED bar graph. For those that suffer them, seizures are a dangerous thing.

Some detection methods exist for seizure sufferers, but they are primarily based on detecting the jerking motion of the patient. This is an off-the-shelf product designed specifically for capturing EEG data. It outputs raw brainwave data which is key for doing proper analysis. The project then uses an Arduino Mega to tie everything together, along with some Sparkfun Bluetooth modules to talk to a cell phone to send an SMS for help in the event of a seizure.

The real difficulty in a project like this comes from developing an algorithm that can reliably detect seizures, as well as a unit robust enough to work in the real world.

Lucid dreaming is one of the rare psychological phenomenon terrible sci-fi frequently gets right.

The Solution

Yes, lucid dreaming does exist, and one of the best ways to turn a normal dream into a lucid dream is to fixate on a particular object, sound, or smell. For their Hackaday Prize entry[Jae] is building a device to turn the electronic enthusiast community on to lucid dreaming. The Muse headset is a rather expensive consumer-grade EEG headset that promises better meditation with the ability to track your brainwaves in order to go into a deeper trance. Two bulky pods over the ears hold the battery and charging circuit on one side, and the brains on the other.

The neat part about it is a little adjustable metal piece which allows for adjustment on the strap while maintaining all the electrical connections. A flexible circuit houses forehead electrodes which go along the length of the band. Think of the Inception music. The trio are communications systems engineering and computer science students with no background in neuroscience whatsoever. The team used these inputs to measure Alpha waves and Steady State Visually Evoked Potential to control the pair of servos on the labyrinth frame.

When first introduced to the story he communicates by ringing a bell. But after being moved to a nursing home he communicates by spelling out messages with the assistance of a nurse who holds up a card with columns and rows of letters. This hack automates that task, trading the human assistant for a blink-based input system.

The user wears a Neurosky Mindwave Mobile headset. This measures brainwaves using EEG. The microcontroller processes the EEG data to establish when the user blinks their eyes. The LCD screen first scrolls down each row of the displayed letters and numbers. When the appropriate row is highlighted a blink will start scrolling through the columns until a second blink selects the appropriate character. If you think you could build something like this to help the disabled, you should check out thecontrollerproject.

The MindWave has two sensors — a forehead and ear lobe sensor. For the forehead sensor, [Tom] simply soldered a piece of wire to a penny and attached it to the elastic. Now that [Tom] has a much more comfortable EEG setup, he can get on with improving his lucid dreaming skills and even try communicating via Morse from inside a dream.

By using our website and services, you expressly agree to the placement of our performance, functionality and advertising cookies. Learn more. The Hackaday Prize is Sponsored by:. Search Search for:. Hackaday Links: April 12, 14 Comments.Raspberry Pi Projects. One of the earliest hacks to be published, this set of instructions explained how to modify a MindFlex toy to output brainwave information through to an Arduino. Ostensibly, the next step after hacking into a MindFlex was to turn it into a torture device.

Stay focused or get shocked. The Arduino uses the open source language Processing. Some of the work related to arduino development was extended into a PC version of the brainwave band visualization.

Make Magazine published an article on hacking. The original article was not published online, but is available in issue Fire bullets… with your Mind! This clever hack enables you to modify one of the battery powered Nerf guns. One user started an experiment to monitor changes in his body and mood based upon daily drug consumption.

Hacks do not have to be just hardware and software. NeuroSky technologies enable the most insightful and easy-to-understand health and wellness biometrics for mobile solutions, wearable devices, and service providers. NeuroSky-enabled solutions deliver unique insights into body and mind health and wellness that can motivate people to make better lifestyle choices. Contact Us. Welcome Start here. NeuroSky Platforms and Genres. Developer Tools. App Notes and Tutorials.

Which API is right for me. GitHub Repositories. Publish your Apps. Publishing Requirements. App Standards. Seattle Interactive Conference Hackathon. SXSW GDC NeuroSky Developer's Forum. NeuroSky Support Site. MindWave Mobile. About NeuroSky NeuroSky technologies enable the most insightful and easy-to-understand health and wellness biometrics for mobile solutions, wearable devices, and service providers.

Documentation Developer Tools Publish Support.


thoughts on “Neurosky mindwave hack

Leave a Reply

Your email address will not be published. Required fields are marked *