Measure EEG With STM32 (Nucleo Board)

by Roni2016 in Workshop > Science

44 Views, 1 Favorites, 0 Comments

Measure EEG With STM32 (Nucleo Board)

New Bitmap Image (18).jpg

MicroBCI. Shield to Measure EEG with NUCLEO-WB55 STMicroelectronics Development Boards & Kit. EEG with STM32.


Flash the Firmware

micro_bci.png


  1. Connect your NUCLEO-WB55 board to your computer using a Micro USB cable.
  2. Open STM32CubeProgrammer.
  3. Load the provided .hex firmware file for MicroBCI.
  4. 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

  1. Carefully plug the MicroBCI shield onto the STM32 NUCLEO board.
  2. Ensure all pins align properly before powering it up.
  3. 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:

  1. For EEG: use an EEG cap (dry or wet electrodes).
  2. For EMG: place electrodes over muscles.
  3. For ECG: place electrodes on chest/arms.

Verify good electrode contact.

Acquire Data

You can use MicroBCI with different SDKs depending on your application:

  1. Python SDK – run a script on your computer to capture, visualize, and process EEG data.
  2. Mobile SDK (Flutter) – build cross-platform apps to stream EEG signals on Android/iOS.
  3. STM32 framework – process data in real-time directly on the MCU.


Start Experimenting

  1. Record your own EEG and visualize it in Python.
  2. Build a mobile app to track meditation or focus.
  3. Experiment with EMG (muscle activity) or ECG (heart signals).
  4. 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.