Based on python-mindwave-mobile by @robintibor.
- About
- Getting Started
- Deployment
- Example App
- Extending & Developing
- Built Using
- TODO
- Contributing
- Authors
A Balena Engine based project to capture Neurosky Mindwave Mobile data streamed via a Raspberry Pi.
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.
- A Raspberry Pi 3 Model B or B+.
- A 4GB or larger microSD card.
- A 2A micro USB power supply.
- A Balena account.
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.
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).
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)
- Python 3 - Language.
- Balena Engine - Container Engine.
- PyBluez - Python Module.
- Basics of README.
- This TODO list.
- @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.
