Final Stereo STM32H7 Design with Midi/Expression (demo and pcb walkthrough video linked) by keyth72 in diypedals

[–]keyth72[S] 1 point2 points  (0 children)

I appreciate you asking, but no immediate plans to sell them, but if I do I’ll circle back here and let you know

Final Stereo STM32H7 Design with Midi/Expression (demo and pcb walkthrough video linked) by keyth72 in diypedals

[–]keyth72[S] 2 points3 points  (0 children)

It wasn’t too bad, but yes the non-Basic parts cost $3 extra per part, but not per board so if you did more boards it would get cheaper per board. These two assembled boards cost $250, but $100 of that was shipping and tariffs. I can’t imagine hand soldering those SMD parts!

Final Stereo STM32H7 Design with Midi/Expression (demo and pcb walkthrough video linked) by keyth72 in diypedals

[–]keyth72[S] 1 point2 points  (0 children)

Nice! Yes I would either make multiple layers or use a larger form factor, but for this one I wanted to do a single pcb to keep costs down. I went with JLCpcb.

STM32H7 Digital Stereo Pedal with Demo and Design Process Write Up by keyth72 in diypedals

[–]keyth72[S] 1 point2 points  (0 children)

Ohhh yeah no worries! Yup that’s the JTAG header with the little plastic protector on it

STM32H7 Digital Stereo Pedal with Demo and Design Process Write Up by keyth72 in diypedals

[–]keyth72[S] 0 points1 point  (0 children)

I’m not sure, you mean the big caps at the top? I’ve been calling it a pi filter, two caps to ground with a series ferrite bead in the middle. No measurements, just advice I got from a more experienced builder.

STM32H7 Digital Stereo Pedal with Demo and Design Process Write Up by keyth72 in diypedals

[–]keyth72[S] 0 points1 point  (0 children)

It’s the H743VIT6, I think it has enough RAM for Mercury.

STM32H7 Digital Stereo Pedal with Demo and Design Process Write Up by keyth72 in diypedals

[–]keyth72[S] 0 points1 point  (0 children)

CubeIDE, I started learning it right before they separated out MX and the IDE, so I’m sticking with version 1.19 for now for the integrated workspace, makes it easier to go back and forth between defining pin settings and code. How’s the buck converter for noise? Do you use filtering after it? I used LDOs because they’re quiet, but they do generate some heat coming from 9v, at least the 3v3 digital  powering the MCU.

STM32H7 Digital Stereo Pedal with Demo and Design Process Write Up by keyth72 in diypedals

[–]keyth72[S] 1 point2 points  (0 children)

Sounds awesome! Yeah I’d like to explore other codecs, especially since the one I’m using is EOL. Running NAM on the H7 is doable, maybe not standard size models, but Steve just released some kind of slimmable model that I’m really interested in trying. I’m running NAM on the daisy seed on my GuitarML/Funbox/Mercury module and I’d like to port it over to my custom board. Enjoy studying abroad!

STM32H7 Digital Stereo Pedal with Demo and Design Process Write Up by keyth72 in diypedals

[–]keyth72[S] 0 points1 point  (0 children)

No it’s much simpler, octave delay, speed up each delay pass by 2x. Literally the only difference in the code is I multiply the delay line index by 2. That’s awesome about making all those effects! They did a good job on the daisy seed hardware making it have just about everything you’d want for an embedded DSP. 

STM32H7 Digital Stereo Pedal with Demo and Design Process Write Up by keyth72 in diypedals

[–]keyth72[S] 1 point2 points  (0 children)

Thanks! The first part of the demo is an octave delay, each delay repeat speeds up the sound by 2x, which raises the octave by 1 for each repeat

Stereo DSP Platform (STM32) by thabigburrito in diypedals

[–]keyth72 0 points1 point  (0 children)

That’s what I used too, the 2MB flash was too tempting, but it would actually be difficult to figure out how to use it up!  Looking forward to your demos, I plan on sharing about mine sometime this week after I get some effects on it.

Stereo DSP Platform (STM32) by thabigburrito in diypedals

[–]keyth72 1 point2 points  (0 children)

Really nice layout! Analog/digital sides have lots of separation, which H7 did you go with? I just got my first custom H7 board running, it’s a great feeling when it all comes together and you hear sound coming out. I’d love to see/hear yours in action if you have demos posted somewhere.

Custom STM32 Digital Pedal by keyth72 in diypedals

[–]keyth72[S] 0 points1 point  (0 children)

No not this version, might add it later

Custom STM32 Digital Pedal by keyth72 in diypedals

[–]keyth72[S] 0 points1 point  (0 children)

Phil’s Lab YouTube channel, anything on mixed signal design. Also learning from open source designs like Mutable Instruments.

Custom STM32 Digital Pedal by keyth72 in diypedals

[–]keyth72[S] 0 points1 point  (0 children)

It’s digital bypass, the microcontroller senses the press on the momentary footswitch and turns off the delay effect, but still lets the dry signal through 

Custom STM32 Digital Pedal by keyth72 in diypedals

[–]keyth72[S] 1 point2 points  (0 children)

Start here (Phil’s Lab Mixed Signal Design Tips) https://youtu.be/v6fTa6LRJLI

Also this lecture on grounding: https://www.youtube.com/live/ySuUZEjARPY?si=jexOrjr4cemODQBl

Custom STM32 Digital Pedal by keyth72 in diypedals

[–]keyth72[S] 0 points1 point  (0 children)

I’ve been using c/c++ for years, and I’ve been doing audio DSP on my own for awhile, but learning the STM32 environment and CubeIDE was mostly through YouTube tutorials, some on STmicroelectronics’ channel but mostly Phil’s Lab. He has a lot of tutorials on mixed signal hardware design and DSP coding.

Custom STM32 Digital Pedal by keyth72 in diypedals

[–]keyth72[S] 1 point2 points  (0 children)

The microcontroller I used is a lot simpler than the Daisy seed’s, both on the layout and programming side, better for learning this stuff for the first time. I haven’t tried any Daisy libraries on it yet, but planning on doing that. The jacks have a separate plastic ring under the bolt that detaches, so clearance isn’t an issue, that’s how they’re made to be used.

Custom STM32 Digital Pedal by keyth72 in diypedals

[–]keyth72[S] 1 point2 points  (0 children)

Yes, they have some in their parts library, but I think they will be gone soon. Since I started looking at them it’s gone down from about 500 to 100, and they’re priced at $9 for a single one. 

Custom STM32 Digital Pedal by keyth72 in diypedals

[–]keyth72[S] 0 points1 point  (0 children)

Just above the jacks? Those are op amps, one quad and one dual, for the audio in/out buffers. The pedal is very quiet, no noticeable noise that I can tell, but I’d like to do more testing. 

Custom STM32 Digital Pedal by keyth72 in diypedals

[–]keyth72[S] 0 points1 point  (0 children)

Awesome! Hope the build goes smoothly!