Skip to content

lush-tech-warriors/MindWave-Mobile-2-on-Balena-in-Python-3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

226 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LUSH logo

MindWave Mobile 2 on Balena in Python 3

Status GitHub Issues GitHub Pull Requests License


Based on python-mindwave-mobile by @robintibor.

📝 Table of Contents

📖 About

A Balena Engine based project to capture Neurosky Mindwave Mobile data streamed via a Raspberry Pi.

👟 Getting Started

We suggest getting a copy of this project up and running in Balena Cloud by following the Deployment instructions, and then working in Balena's local development mode to make your changes using the information list under Usage as a guide.

Prerequisites

  • A Raspberry Pi 3 Model B or B+.
  • A 4GB or larger microSD card.
  • A 2A micro USB power supply.
  • A Balena account.

🚀 Deployment

This project can be deployed to Balena Cloud and subsequently your Raspberry Pi devices by following the instructions from the Balena Docs, but substituting the "simple-server-python" example project for this one.

🧠 Example App

Out of the box, this project comes with a simple web UI for starting, stopping & viewing Mindwave Mobile data readings.

Once deployed, and with the headset set in pairing mode visit you devices IP (listed in the Balena Cloud Console).

⌨️ Extending & Developing

Afterward deploying, you can work in Balena's local development mode to quickly see changes. The example app hopefully gives a clear base to work from, but for an even simpler example you can try the following to see Mindwave datapoints printed to the console, these will be viewable in the Balena Cloud logs.

from mindwavemobile.MindwaveDataPointReader import MindwaveDataPointReader
mindwaveDataPointReader = MindwaveDataPointReader()
# connect to the mindwave mobile headset...
mindwaveDataPointReader.start()
# read one data point, data point types are specified in  MindwaveDataPoints.py'
dataPoint = mindwaveDataPointReader.readNextDataPoint()
print(dataPoint)

⛏️ Built Using

🔧 TODO

  • Basics of README.
  • This TODO list.

✍️ Authors

  • @robintibor - Original groundwork, Python 3 and MindWave Mobile 2 integration.
  • @Simon-Ince - Balena & Raspberry Pi integration + Example App.

See also the list of contributors for the original robintibor/python-mindwave-mobile project.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors