Skip to content
Android App for demonstratng authentication using Brainwave (EEG ) signals
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gradle/3.3 final commit Aug 7, 2017
.idea final commit Aug 7, 2017
Resources final commit Aug 7, 2017
app final commit Aug 7, 2017
build final commit Aug 7, 2017
gradle/wrapper
.DS_Store working commit Jul 7, 2017
BrainNet-kk.iml working commit Jul 7, 2017
README.md Update README.md Aug 7, 2017
build.gradle
gradlew first commit Jun 27, 2017
gradlew.bat
import-summary.txt working commit Jul 7, 2017
local.properties working commit Jul 7, 2017
settings.gradle first commit Jun 27, 2017

README.md

BraiNet

Android App for demonstratng authentication using Brainwave (EEG ) signals, created for the class project for CSE-535 Mobile Computing course.

Project motovation and set up details

https://peps0791.github.io/braiNet-password-less-authentication/

Project Set up

1. Set up the database.

  1. Install MYSQL server on you local machine.
  2. Run the /Resources/FlaskServer/dbsetup.sql script to set up the database schema.

2. Set up the web server.

1. Install the environment dependencies.

Python version-> 2.7

Run the command

pip install -r requirements.txt

to install the environment library dependencies.

2. Modify the database details.

Open the /Resources/FlaskServer/DBHelper.py file and at line

cnx = mysql.connector.connect(user='root', password='password',
                                      host='127.0.0.1',
                                      database='BrainNet')

enter the password for the root user for your database set up in step 1 and change the host value accordingly.

2. Fire up the server.

Run the python server using the command

FLASK_APP=server.py flask run --host 0.0.0.0

3. Start the bluetooth service on the phone.

4. Install the android application.

  1. Open the project in Android Studio.
  2. Edit the HOST variable to your local machine IP in the file com.neurosky.mindwavemobiledemo.helper.Constants.java.
  3. Run the application.
You can’t perform that action at this time.