sound_spectrum_mcu

Public

@path321

Download board files

Files for version 1. Pick what you came for.

Share sound_spectrum_mcu

Check access before sharing the link.

Who can open this board

Anyone can open this board. No sign-in is required.

This link opens the latest version. Copying it does not grant additional access.

Loading…

README

Sound Analyzer

STM32-powered board for analyzing sound input from MEMS microphones, designed as an open-source, hands-on introduction to DSP on ARM Cortex-M4 processors.

Table of Contents

  1. About the Project
  2. Project Status
  3. Getting Started
    1. Getting the Source
    2. Usage
    3. Versioning
  4. How to get help
  5. License

About the Project

It uses the CMSIS-DSP library to handle computationally intensive tasks, while a companion PyQt-based Python script is used for plotting frequency-domain data data from PCB to host PC.

The goal is to demonstrate the full pipeline of audio signal acquisition and transformation, from raw time-domain data to frequency-domain analysis

The PCB intentionally exposes additional unused pins, allowing users to extend functionality and experiment beyond the core features

1kHz sine

FrontBack

Back to top

Project Status

In progress, working version availabe in main branch

Full STM32CubeIDE project is hosted here, with .elf and .bin files ready inside code/sound_analyzer_v1/Debug folder

As for python script, both source plot_graph.py and executable plot_graph.exe are available, with executable tested only for Windows platform

Back to top

Getting Started

For application usage, no extra programm shall be installed , other than downloading the executable plot_graph.exe

For developer usage, STM32CubeIDE + STM32CubeMX shall be installed, as described here

In addition, Python >=3.9 shall be installed from here, with the following Python libraries also installed :

  • Numpy
  • PySide6
  • pyqtgraph
  • Pyserial

PCB files are located on pcb/ folder, while device files can be found on code/sound_analyzer_v1/ and plot files on code/plot_graph/

Getting the Source

This project is hosted on GitHub. You can clone this project directly using this command:

https://github.com/path321/sound_spectrum_mcu.git

Usage

  1. Connect the board via USB to your host PC. Make sure that no other STM32-based USB is connected to PC

  2. Unzip plot_graph.zip Double click on plot_graph.exe

  3. If you want to stop the live graph, check on the Button on the top right end of the GUI window

Versioning

This project uses Semantic Versioning. For a list of available versions, see the repository tag list.

Back to top

How to Get Help

Please create a new issue on

https://github.com/path321/sound_spectrum_mcu/issues

Back to top

License

This project is licensed under the MIT License - see LICENSE.md file for details.

Back to top

Comments

No comments yet. Be the first to ask about this board.

Ask about this board

Sign in to BoardRepo

New here? Signing in creates your account; there is no separate sign-up.