In this project we used NeuroSky sensor to control electronic devices in a room. Fully paralytic people cannot use any limb. So they cannot control any devices without help. But NeuroSky Brainwave sensor changes everything ..
There are lots of system in this project. So requirements list is long a bit.
If you want to do this project you will need this devices:
- Raspberry Pi 3
- DHT11 Humdity and Temperature Sensor
- Servo Motor
- LDR
- 8 Channel Relay (Min 4 channel)
- 3A 5V Regulator
- MCP3008
And you will need this softwares:
-Node JS
-Wiring Pi (To control Raspbery Pi pins)
-Gort (to connect with bluetooth)
We used Blur Admin Dashboard to make web panel for all home users. This dashboard work with AngularJS Framework. AngularJs is a very good framework to using Firebase. So it is very usefull for this application. Because we use Firebase to communicate Raspberry Pi and Web panel.
- Blur Admin Dashboard
- Raspberry Pi Node Js Server
-- Pi server (To control devices)
-- Control Interface (for the patient)
In raspberry pi:
You should change mac adress in "connectBluetooth.sh" with your NeuroSky Sensor Mac adress. After that you can connect with this command. You can download gort from this link.
sudo ./connectBluetooth.sh
When bluetooth connect, port will open at /dev/rfcomm0. So you should listen this port in "serial.js" or "serialEvent.js" (use one of these). After connect you should open new terminal after connect bluetooth.
npm install
sudo node mainEvent.js
main.js and mainEvent.js are same thing. Only difference between these mainEvent.js works with events. You have to run one of these files.
...