Featured Project

STM32 Digital Guitar Effects Pedal

Project combining analog and digital signal processing techniques to create guitar effects in an embedded device.

CI2C/I2SSPIRTOSDSPSTM32

Technical Implementation

This project involved designing a digital guitar effects pedal using an STM32 microcontroller. The system processes audio signals in real-time with various effects including distortion, delay, and reverb.

The hardware design includes analog input conditioning, digital signal processing, and analog output stages. The DSP algorithms were optimized for real-time performance on the STM32 platform.

The final product achieved professional-grade audio quality with latency under 1ms, making it suitable for live performances.

Audio Features

  • Real-time audio processing with <1ms latency
  • Multiple effect algorithms implemented in C
  • Custom PCB design with proper grounding techniques
  • I2S audio interface with 24-bit resolution
  • USB configuration interface

Hardware Gallery

Front panel design

Front panel design

Internal components

Internal components

Hardware Design

Hardware Design

Overview Block Diagram

Overview Block Diagram

DSP Algorithms

Signal Processing Architecture

Key Audio Processing Innovations

  • Optimized FIR filters: Implemented using ARM CMSIS-DSP library with 90% CPU utilization efficiency
  • Delay effects: Circular buffer implementation with interpolation for smooth delay transitions
  • Distortion algorithms: Wave shaping with adjustable hardness parameters
  • Real-time performance: Achieved consistent 0.8ms latency through DMA and double-buffering

Want to know more?

Interested in the technical details or have a similar project in mind?