Exactly what the title says. I made it to get into Open Sauce as an exhibitor.
Go to file
2024-07-30 20:55:52 +00:00
arduino Lots of various updates for Open Sauce 2024-06-19 22:32:41 -06:00
collar-utils Lots of various updates for Open Sauce 2024-06-19 22:32:41 -06:00
other Lots of various updates for Open Sauce 2024-06-19 22:32:41 -06:00
Simple-Logger Lots of various updates for Open Sauce 2024-06-19 22:32:41 -06:00
static Lots of various updates for Open Sauce 2024-06-19 22:32:41 -06:00
templates Lots of various updates for Open Sauce 2024-06-19 22:32:41 -06:00
utils Lots of various updates for Open Sauce 2024-06-19 22:32:41 -06:00
__init__.py Lots of various updates for Open Sauce 2024-06-19 22:32:41 -06:00
.gitignore Lots of various updates for Open Sauce 2024-06-19 22:32:41 -06:00
.gitmodules Lots of various updates for Open Sauce 2024-06-19 22:32:41 -06:00
animate_bar.py Lots of various updates for Open Sauce 2024-06-19 22:32:41 -06:00
animate_graph.py Lots of various updates for Open Sauce 2024-06-19 22:32:41 -06:00
data.final.day.one Lots of various updates for Open Sauce 2024-06-19 22:32:41 -06:00
headset.py Lots of various updates for Open Sauce 2024-06-19 22:32:41 -06:00
LICENSE Lots of various updates for Open Sauce 2024-06-19 22:32:41 -06:00
main.py Lots of various updates for Open Sauce 2024-06-19 22:32:41 -06:00
minecraft.py Lots of various updates for Open Sauce 2024-06-19 22:32:41 -06:00
openSauceDisplay.png Lots of various updates for Open Sauce 2024-06-19 22:32:41 -06:00
README.md Update README.md 2024-07-30 20:55:52 +00:00
requirements.txt Lots of various updates for Open Sauce 2024-06-19 22:32:41 -06:00
simpleLog.py Lots of various updates for Open Sauce 2024-06-19 22:32:41 -06:00

A mind controlled shock collar (for humans)

Overview


"The Machine That Electrocutes You As Soon As You Relax" - Charlie Slimecicle

This is the repo with all the code I used to make a mind controlled shock collar that got me accepted to exhibit at Open Sauce!
It also includes all the EEG data I collected while exhibiting at Open Sauce, atleast for day 1. You can find it all in data.final.day.one.

Please note that this is the code in its spaghetti, unclean, rapidly-finished-hours-before-I-left-for-Open-Sauce, glorious mess. So don't expect too much.

It uses the Mindflex toy and the Brain Arduino library to get the EEG values. It then sends them to the server. The Mindflex and collar both use a ESP8266 in order to communicate data back to the server over UDP. This means that the entire setup is wireless.

You can then use it from a web interface that uses Flask and Chart.js

You can use this web interface to play the "game"

For a more detailed overview on how this all works, you can see my blog post here. (Not finished writing)

The "Game"

To play the game itself, you put on both the collar and Mindflex, and you set a threshold (red line) for either meditation or attention. If you pass this threshold, you will be shocked with a varying power level depending on how far you got from the threshold.

For example, if you set the meditation threshold to something like 80, and the condition to be going above, you would get shocked the second that you start to relax.


My booth at Open Sauce