Measure EEG With STM32 (Nucleo Board)
by Roni2016 in Workshop > Science
44 Views, 1 Favorites, 0 Comments
Measure EEG With STM32 (Nucleo Board)
MicroBCI. Shield to Measure EEG with NUCLEO-WB55 STMicroelectronics Development Boards & Kit. EEG with STM32.
Flash the Firmware
- Connect your NUCLEO-WB55 board to your computer using a Micro USB cable.
- Open STM32CubeProgrammer.
- Load the provided .hex firmware file for MicroBCI.
- Flash it to the board.
A full step-by-step video guide is available on YouTube. https://youtu.be/crqOmnJ3Hjg
or GitHub
Attach the MicroBCI Shield
- Carefully plug the MicroBCI shield onto the STM32 NUCLEO board.
- Ensure all pins align properly before powering it up.
- Power the device via a battery (never directly from mains).
Connect the Electrodes
Plug the electrodes into the input channels of the MicroBCI shield (up to 8).
Place electrodes according to your experiment:
- For EEG: use an EEG cap (dry or wet electrodes).
- For EMG: place electrodes over muscles.
- For ECG: place electrodes on chest/arms.
Verify good electrode contact.
Acquire Data
You can use MicroBCI with different SDKs depending on your application:
- Python SDK – run a script on your computer to capture, visualize, and process EEG data.
- Mobile SDK (Flutter) – build cross-platform apps to stream EEG signals on Android/iOS.
- STM32 framework – process data in real-time directly on the MCU.
Start Experimenting
- Record your own EEG and visualize it in Python.
- Build a mobile app to track meditation or focus.
- Experiment with EMG (muscle activity) or ECG (heart signals).
- Collect datasets for research or machine learning.
Next Steps
Try customizing the firmware to add filters or features.
Share your datasets and projects with the PiEEG community.
Explore applications: brain-controlled robots, biofeedback games, or stress/focus trackers.