Barbot 4 with mindwave reading headset
This is an update to Barbot 4 (https://www.youtube.com/watch?v=_GzJ4YeVhNk&t=2s) which allows for drink ordering by controlling your mindwaves which are then read by an EEG headset and piped across to the arduino via bluetooth where it is parsed and fed into a graph, as well as being monitored and used as a trigger for switching drinks, or pouring drinks.
This uses the mindflex headset which is a hackable toy, with lots of guides online for how to link it up to a pc. The parsing code needed rewriting in python to get it to link to the pi, as I am not running it in raw mode, as per the other ones that we found. Big thanks as always to Phil for his help with getting the parsing sorted for me - I'm not sure I could have done it without you.
The concentration selects another random drink, but I have it set to be harder to trigger, as I kept triggering it whilst remembering what to say for the video, and I was fed up of restarting it. The meditation is set to trigger the pour.
Currently 3 consecutive high reads will trigger it to pour, but the exact value, and the frequency till triggering is all configurable.