Coder Social home page Coder Social logo

distracteddrivingdetect's Introduction

Motivation

I found that piercing the hobbyist Brain-Computer-Interface(BCI) realm to be diffiuclt. Firtly, it is expensive - specifically because an EEG device can cost anywhere from 200 dollars to more than a few thousand. Second, it requires quite a wealth of experience - Signal processing, Neural Networks, Electronics, etc. This project is my attempt at creating a useful, relatively functional BCI at relatively low-cost and minimal experience.

About the Project

This is a neurofeedback system that detects Mind-Wandering during driving: it reads your brain electrical activity, detects if you're Mind-Wandering, and beeps if you do.

Project Overview

Phase 1: Preparing the EEG headet - Hacking the Mindflex headset

Phase 2: Data Collection Module

Phase 3: Data Processing: Process data and train classifier

Phase 4: Make the device: Software

Phase 5: Make the device: Hardware

Phase 6: Real-Time testing

Getting started

All details about getting started with the project + details about specific phases of the project can be found on a series of articles on my website : https://joshetasrinivasan.com/distracted-driving-detector-intro/

Content Overview

  1. MindWanderDataCollect.ino: Arduino code for Data Collection Module: reads breain data and prints onto serial
  2. EEGData_mindWander.py: Python script to save Arduino Serial contents into CSV file
  3. SampleData.csv: Sample csv file after data collection
  4. circuitElements.pdf: Circuit details for Data Collection Module
  5. EEG_NN_Classifier.ipynb: A jupyter notebook that trains a Neural Network to predict Mind Wandering
  6. MindWanderRealTime.ino: Arduino code for the final product!
  7. hardwareLayoutMindWander.pdf: Hardware layout for the final product!

Contact

You can contact me at [email protected] in the case of any questions or suggestions.

Acknowlegements

All resources used is either documeted in the code or my website(https://joshetasrinivasan.com/distracted-driving-detector-intro/) where the walkthough for the project is detailed.

distracteddrivingdetect's People

Contributors

joshetasrinivasan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.