Mind-Controlled Traffic Light Using Arduino and MindFlex
Intro: Mind-Controlled Traffic Light Using Arduino and MindFlex
Hi everyone,this is my first instructable.Today i will show you how to make a simple traffic light controlled by your brainwaves using the EEG toy MindFlex. This is a very simple and basic project,but the uses of the MindFlex Hack are much much more.
For this project you will need the following parts:
Hardware:
- 1 Arduino UNO R3
- 1 Breadboard
-1 MindFlex Headset
-1 Green LED
-1 Yellow LED
-1 Red LED
- 3 330 Ohm Resistors
-Jumper Wires
Tools:
-Hot Glue Gun
-Solder
-Screwdriver
Software:
-Arduino IDE
-Arduino Brain Library
Note: To install the Brain library you have to put the brain folder inside the arduino "Libraries" folder.
STEP 1: Hacking the MindFlex Headset
Once done this,you have to drill a small hole in the case where the wires will pass,and i suggests that you put a small dab of hot glue there so the wires won't move.
Done this,we can proceed to the next step.
STEP 2: Make the Circuit
After this,you have to connect the ground wire of the MindFlex to the Arduino ground,and the " T " wire to the arduino 0 (RX) pin.
Now you have to upload the code (remove the wire connected to the RX pin first,and reconnect it after the code is uploaded,because the Arduino IDE can show an error).
STEP 3: The Code
Here is the code :
9 Comments
Jarrettkd 4 years ago
Jarrettkd 4 years ago
JanV158 6 years ago
Hello. Can you explain, how does it work, please? When I think about red, only red diod is ON, when I think on green, only green is ON etc,?
the.pandorica.way 4 years ago
IAmTheRealBear 4 years ago
https://github.com/kitschpatrol/Brain
the.pandorica.way 4 years ago
the.pandorica.way 4 years ago
fituro 8 years ago
Skiept 8 years ago