Blueprint

StepperSynth

An electronic instrument that uses stepper motors to make music

Created by danny danny 🚀

Tier 1

4 views

0 followers

danny danny 🚀 added to the journal ago

Last Printed Part

At first, I thought I dimensioned this part correctly with all the tolerances right. I referenced some lengths from a hack pad i made a while ago which I thought was perfect, but no. It was extremely tight with me forgetting how tolerances are different between 3d printers

My next print was a little too loose, and I also did not think about some tolerances around the reset button

And finally, the last iteration had structural support and ironing where its needed

image

danny danny 🚀 added to the journal ago

Soldering Everything

Since i chose pcba on only one side and omitting some parts to save on money, I bought some things separately and had to manually solder them on. It wasn't that bad, but it was very time consuming.

image

I started with the esp32 microcontroller i was using which required a hot plate and solder paste. Surprisingly, it was very easy and i chose a really nice low melting point paste which was forgiving.

image

The hotswap sockets also fit very perfectly

image

Now for the through hole parts, I either used some tape to hold them on or bent the pins to help stay in place for soldering

image

Here's an image of my rotary encoders on as well as the neopixels

image

Lastly were the other headers, screw terminals, and electrolytic capacitors

image

danny danny 🚀 added to the journal ago

Modifying CAD and 3d Printing

Since my 3d printer is not that big and I don't want to print my parts vertically which sacrifice its integrity, I decided to cut a bunch of things in half to fit on my bed.

From previous projects, I figured out that a 0.3mm width cut works perfectly for press fit parts. I first created a guide line and created a 0.15mm offset line from both directions to do this.

To also keep things fastened in at least one axis, I added dovetail joints/puzzle piece cuts

chrome_C4ysmlAA4u

image

Printing

I had a ton of PETG filament that I bought a while ago and wasn't using, but I didn't know what kind of mess i was getting into. PETG was more... sticky and easier to mess up the first layer with.

My power supply support bracket thing came out perfect. It could fit on the bed at an angle
image

The case had to be printed in two separate prints due to its size, but it was also a one shot print which worked perfectly! The only problem was that I forgot to set the z-offset for the first layer, so the adhesion isn't great on the corners and they're a bit curved on the edges.

image

The dovetail/puzzle piece cut was a bit tighter than expected. I had to use a tool to force it, but it works and will not fall apart!

image

The last thing I had to print was my motor mount. My first print went out great, but when i tested the fit for the motors, they were too tight. 41mm instead of the 42.3mm makes a huge difference. The screw hole could not fit the head either, but I wasn't concerned as much as I could drill them out.

(red line exaggerates the curve a bit more)

image

I printed it another time with the holes fixed, but for some reason onshape decided to cancel my tolerance fix for the motors.... What a waste of plastic

I also decided to fix my z-offset but it was too close to my bed. Another half print fail.
image

Another fail 😭
image

Christmas night, I tried printing one last time with all the fixes above. It worked out perfectly. The only problem now was that this edge may be too fragile to hold a press fit for the 3rd stepper motor

image

danny danny 🚀 added to the journal ago

Gathering Components

I decided that some components on my BOM could be sourced from previous projects and boards that I don't use anymore.

Hot-swap switch component

I had this broken keyboard pcb that didn't work anymore. Instead, i decided to harvest its functional parts. By using a hot plate first and then heat gun, I could easily pull them off

image

Miscellaneous Board Harvest

I also harvested an esp32-s3 wroom 2 from one of my non-functional boards

image

In total, I am saving the planet by avoiding buying and shipping new parts and am lowering my total carbon footprint!

image

CAN CAN ⚡🚀 approved StepperSynth ago

Tier approved: 1

Grant approved: $297.00

Be sure to send videos!

danny danny 🚀 submitted StepperSynth for ship review ago

PenguinMo PenguinMo requested changes for StepperSynth ago

I know you can't reduce shipping so could you try to reduce other things

danny danny 🚀 submitted StepperSynth for ship review ago

zsharpminor zsharpminor âš¡ requested changes for StepperSynth ago

Nice project! Please include FULL itemized cart screenshots showing what you're buying and why it's so expensive. Additionally, please choose the cheapest shipping method on JLC, and detail your PCBA parts in your BOM, thanks!

danny danny 🚀 submitted StepperSynth for ship review ago

danny danny 🚀 added to the journal ago

Final Touches

I pretty have everything done! But i need to fix some small issues and also have some flare

Cad

The cad was improved a little. I added some cool extruded geometry on the side seen by users, and filleted corners in the x/y axis for 3d print optimization.

image

image

PCB

I made sure to use as many basic parts as i could and only am doing PCBA on one side. I will have to solder on some components, including the MCU, neopixels, bulk caps, and more.

I also created some cool silkscreens for the front and back of my pcb since there was empty space

image

BOM

I started writing my bom

image

danny danny 🚀 added to the journal ago

Routed PCB

I started routing my PCB but saw a few mistakes on my schematic while doing so. The pinout for TMC2209 to my specific stepper motor was a little different with the coil pairs being together instead of separated. Some previous placement of footprints also didnt make sense and i definitely could of chose specific pins based on their physical location. (analog muxes)

I tried ignoring this problem until now, but I've never routed any power lines above 5v before. Looking at TMC2209 modules sold online, they of course have thick traces coming from OA1/OA2/OB1/OB2. I wasn't sure how thick mine were going to be, but definitely not the 0.3mm default.

I first did 1.0mm thickness which took tons of space, but after some chatting and doing some research, 0.6mm seemed like it would work.

image

My workflow was something like this:

  • Route the hall effect sensors and mux first
  • Give power traces priority, and also traces farthest from the esp32 pin
  • Also give analog traces more priority over digital ones
  • Try not to use too many vias to jump across traces
  • its literally a game of chess, but kicad (iykyk)

Overall, my routing was good enough

For final touches, I tried something new called via stitching

image

danny danny 🚀 added to the journal ago

Cadded a Bunch of Stuff

This entry is a combination of work spread around 4ish days or more. I chose to do this on onshape as i am very annoyed at how slow fusion 360 loads.

Measuring Parts On Hand

I needed to measure parts i had on hand and model some references. This included my ac plug, stepper motors, and power supply.

image

Importing and Designing around the PCB Model

Kicad has this feature where i can export a 3d model (step file) and import into onshape to take solid dimensions of. At first i had issues with lag but i remembered that all the caps/resistors were also included and fixed that.

image

With this, I started designing the plate that fits the keycaps, neopixels (shining through a thin layer of plastic), and rotary encoders. I could then build a case around it fastened with M3 screws i have laying around.

chrome_lmEsddRs0H

image

The PCB would be held in through the keycaps in the plate, but is also supported by a inner lip inside the case

A press fit mount was made for the power supply as well

image

The power supply is also held with this bar that hugs the power supply and stops the plate from sagging

image

Lastly, a motor mount was made to stylishly display the stepper motors at a 45 degree angle to the user. It is also press fit lol

image

End result

Overall, i think its a really solid cad design but kinda bland, I'll probably add some holes to allow the user to see inside of it later.

chrome_8n2NrPDpo4

image

danny danny 🚀 added to the journal ago

DC-DC Buck Converter + Auto Power Switch

Since my design has two power sources, one from a power supply and another from USB power delivery, i would have to manage which power I am going to use.

Ideally I should support all these conditions below

  • USB plugged in, PSU not plugged in (esp32/logic is powered, motors cant drive, ideal for developing firmware)
  • USB unplugged, PSU plugged in (both esp32 and stepper motor ics are powered and can drive, for production)
  • Both USB and PSU plugged in (same as above but can also push code and run motors at the same time)

First, I need to turn 24v to 5v. I can do this with a simple DC-DC Buck Converter module i found.

Now, I can then use a TPS2115A to switch between two 5v sources and then output to the LDO instead of USB PD doing it directly.

I used a bunch of sources including the ones below to help wire the IC!

image

danny danny 🚀 added to the journal ago

Component Positioning

I positioned everything on my board. It took quite a while as I had to search back through some datasheets as they recommend a distance between some components, like pulldowns and capacitors for the hall effect sensors.

I generated a outline file for my keyboard switches and based the board size off of it. This would let me know every position of the keys n stuff.

One thing that I had to also account for was the space underneath the pcb. The power supply i was using was pretty large, and it limited places of where I could put components that stuck out (screw terminals, heatsinks for tmc2209 drivers, pinheaders, etc)

image

danny danny 🚀 added to the journal ago

Finishing up schematic, defining footprints for symbols

Connecting Components to MCU

I decided to skip connecting all my components to my mcu until the end as i knew it would be time consuming to check which pins were capable of what... and i was right.

A bunch of checking if GPIO or ADC was supported for specific pins. There were so many limitations that I sadly had to remove one rotary encoder in my design as well as two buttons that are linked to two encoders.

I double, even triple checked if the io i used was safe and there was so much conflicting info due to there being multiple revisions of the esp32-s3. In the end, IO6-12 are actually safe to use and kicad's symbol is correct as the SPI flash io is between IO21-30 which is why they're omitted. I THINK.

image

Anyways, In the end i was able to use up all of my GPIO lol.

image

IO47 + 48 are also not on 3.3v logic high for some reason...

Footprints

I decided to use mostly all 0805 size components for resistors and capacitors as they should be common and standard component for PCBA. For my external PSU, i am using a 5mm pitch screw terminal. I also will use a hot-swappable key switch thing for my two octave change keys

image

image

danny danny 🚀 added to the journal ago

Creating Schematic for Multiplexer and Sensors

I think my implementation is alright. The sheer amount of sensors I am using definitely requires me to use a multiplexer as there isn't enough GPIO on the esp32-s3.

At first, I thought it would be really complicated to use the mux ic, but it was really simple and just acts like a switch between all the connected IO. The S0,1,2,3 accept binary to switch between all the connected devices and sends them to COM. I was told that my use case with tons of analog devices required an op-amp for stable voltage when switching.

I also used a bunch of resources below!

In the end, i think it'll function pretty solid
image
image

danny danny 🚀 added to the journal ago

Starting the Schematics

MCU Setup

The microcontroller setup was pretty straightforward. 5v power was from usb-c and going through a LDO for 3v3 power for logic for the esp32.

image

TMC2209 Implementation

This was super hard as I had to design my own implementation of the IC for my specific use case. I had to reference many different resources including already made modules and the datasheet.

References

image

I'm not entirely sure if my implementation is right or great... What got me really confused was how this IC could function without a MCU with all of its configuration pinouts, but I could really just do this all with the UART.

danny danny 🚀 added to the journal ago

Planning Idea

Today i started drafting my idea on paper and researched what components i would use.

Features

  • Possibly midi in?
  • Maybe built in mic?
  • Velocity support for keys
  • Arpeggio module for effects
  • 2-3 octave keyboard
  • Portable, similar dimensions to a 75% keyboard

Components

  • External psu for 4 stepper motors
  • CD74HC4067 Analog mux i found from ti with 16:1 channels
  • TMC2209 motor controller
  • DRV5053 analog hall sensors for hall effect key switches
  • Esp32-s3 module

A major problem was finding a way to connect all 36 hall effect sensors to an esp32. Multiplexing isnt really my strong suit and i have some ptsd from doing it from a previous project.

b

danny danny 🚀 started StepperSynth ago

12/2/2025 - Planning Idea

Today i started drafting my idea on paper and researched what components i would use.

Features

  • Possibly midi in?
  • Maybe built in mic?
  • Velocity support for keys
  • Arpeggio module for effects
  • 2-3 octave keyboard
  • Portable, similar dimensions to a 75% keyboard

Components

  • External psu for 4 stepper motors
  • CD74HC4067 Analog mux i found from ti with 16:1 channels
  • TMC2209 motor controller
  • DRV5053 analog hall sensors for hall effect key switches
  • Esp32-s3 module

A major problem was finding a way to connect all 36 hall effect sensors to an esp32. Multiplexing isnt really my strong suit and i have some ptsd from doing it from a previous project.

b

12/4/2025 - Starting the Schematics

MCU Setup

The microcontroller setup was pretty straightforward. 5v power was from usb-c and going through a LDO for 3v3 power for logic for the esp32.

image

TMC2209 Implementation

This was super hard as I had to design my own implementation of the IC for my specific use case. I had to reference many different resources including already made modules and the datasheet.

References

image

I'm not entirely sure if my implementation is right or great... What got me really confused was how this IC could function without a MCU with all of its configuration pinouts, but I could really just do this all with the UART.

12/5/2025 - Creating Schematic for Multiplexer and Sensors

I think my implementation is alright. The sheer amount of sensors I am using definitely requires me to use a multiplexer as there isn't enough GPIO on the esp32-s3.

At first, I thought it would be really complicated to use the mux ic, but it was really simple and just acts like a switch between all the connected IO. The S0,1,2,3 accept binary to switch between all the connected devices and sends them to COM. I was told that my use case with tons of analog devices required an op-amp for stable voltage when switching.

I also used a bunch of resources below!

In the end, i think it'll function pretty solid
image
image

12/7/2025 - Finishing up schematic, defining footprints for symbols

Connecting Components to MCU

I decided to skip connecting all my components to my mcu until the end as i knew it would be time consuming to check which pins were capable of what... and i was right.

A bunch of checking if GPIO or ADC was supported for specific pins. There were so many limitations that I sadly had to remove one rotary encoder in my design as well as two buttons that are linked to two encoders.

I double, even triple checked if the io i used was safe and there was so much conflicting info due to there being multiple revisions of the esp32-s3. In the end, IO6-12 are actually safe to use and kicad's symbol is correct as the SPI flash io is between IO21-30 which is why they're omitted. I THINK.

image

Anyways, In the end i was able to use up all of my GPIO lol.

image

IO47 + 48 are also not on 3.3v logic high for some reason...

Footprints

I decided to use mostly all 0805 size components for resistors and capacitors as they should be common and standard component for PCBA. For my external PSU, i am using a 5mm pitch screw terminal. I also will use a hot-swappable key switch thing for my two octave change keys

image

image

12/8/2025 - Component Positioning

I positioned everything on my board. It took quite a while as I had to search back through some datasheets as they recommend a distance between some components, like pulldowns and capacitors for the hall effect sensors.

I generated a outline file for my keyboard switches and based the board size off of it. This would let me know every position of the keys n stuff.

One thing that I had to also account for was the space underneath the pcb. The power supply i was using was pretty large, and it limited places of where I could put components that stuck out (screw terminals, heatsinks for tmc2209 drivers, pinheaders, etc)

image

12/9/2025 - DC-DC Buck Converter + Auto Power Switch

Since my design has two power sources, one from a power supply and another from USB power delivery, i would have to manage which power I am going to use.

Ideally I should support all these conditions below

  • USB plugged in, PSU not plugged in (esp32/logic is powered, motors cant drive, ideal for developing firmware)
  • USB unplugged, PSU plugged in (both esp32 and stepper motor ics are powered and can drive, for production)
  • Both USB and PSU plugged in (same as above but can also push code and run motors at the same time)

First, I need to turn 24v to 5v. I can do this with a simple DC-DC Buck Converter module i found.

Now, I can then use a TPS2115A to switch between two 5v sources and then output to the LDO instead of USB PD doing it directly.

I used a bunch of sources including the ones below to help wire the IC!

image

12/11/2025 - Cadded a Bunch of Stuff

This entry is a combination of work spread around 4ish days or more. I chose to do this on onshape as i am very annoyed at how slow fusion 360 loads.

Measuring Parts On Hand

I needed to measure parts i had on hand and model some references. This included my ac plug, stepper motors, and power supply.

image

Importing and Designing around the PCB Model

Kicad has this feature where i can export a 3d model (step file) and import into onshape to take solid dimensions of. At first i had issues with lag but i remembered that all the caps/resistors were also included and fixed that.

image

With this, I started designing the plate that fits the keycaps, neopixels (shining through a thin layer of plastic), and rotary encoders. I could then build a case around it fastened with M3 screws i have laying around.

chrome_lmEsddRs0H

image

The PCB would be held in through the keycaps in the plate, but is also supported by a inner lip inside the case

A press fit mount was made for the power supply as well

image

The power supply is also held with this bar that hugs the power supply and stops the plate from sagging

image

Lastly, a motor mount was made to stylishly display the stepper motors at a 45 degree angle to the user. It is also press fit lol

image

End result

Overall, i think its a really solid cad design but kinda bland, I'll probably add some holes to allow the user to see inside of it later.

chrome_8n2NrPDpo4

image

12/14/2025 - Routed PCB

I started routing my PCB but saw a few mistakes on my schematic while doing so. The pinout for TMC2209 to my specific stepper motor was a little different with the coil pairs being together instead of separated. Some previous placement of footprints also didnt make sense and i definitely could of chose specific pins based on their physical location. (analog muxes)

I tried ignoring this problem until now, but I've never routed any power lines above 5v before. Looking at TMC2209 modules sold online, they of course have thick traces coming from OA1/OA2/OB1/OB2. I wasn't sure how thick mine were going to be, but definitely not the 0.3mm default.

I first did 1.0mm thickness which took tons of space, but after some chatting and doing some research, 0.6mm seemed like it would work.

image

My workflow was something like this:

  • Route the hall effect sensors and mux first
  • Give power traces priority, and also traces farthest from the esp32 pin
  • Also give analog traces more priority over digital ones
  • Try not to use too many vias to jump across traces
  • its literally a game of chess, but kicad (iykyk)

Overall, my routing was good enough

For final touches, I tried something new called via stitching

image

12/15/2025 - Final Touches

I pretty have everything done! But i need to fix some small issues and also have some flare

Cad

The cad was improved a little. I added some cool extruded geometry on the side seen by users, and filleted corners in the x/y axis for 3d print optimization.

image

image

PCB

I made sure to use as many basic parts as i could and only am doing PCBA on one side. I will have to solder on some components, including the MCU, neopixels, bulk caps, and more.

I also created some cool silkscreens for the front and back of my pcb since there was empty space

image

BOM

I started writing my bom

image

12/30/2025 9:01 AM - Gathering Components

I decided that some components on my BOM could be sourced from previous projects and boards that I don't use anymore.

Hot-swap switch component

I had this broken keyboard pcb that didn't work anymore. Instead, i decided to harvest its functional parts. By using a hot plate first and then heat gun, I could easily pull them off

image

Miscellaneous Board Harvest

I also harvested an esp32-s3 wroom 2 from one of my non-functional boards

image

In total, I am saving the planet by avoiding buying and shipping new parts and am lowering my total carbon footprint!

image

12/30/2025 9:27 AM - Modifying CAD and 3d Printing

Since my 3d printer is not that big and I don't want to print my parts vertically which sacrifice its integrity, I decided to cut a bunch of things in half to fit on my bed.

From previous projects, I figured out that a 0.3mm width cut works perfectly for press fit parts. I first created a guide line and created a 0.15mm offset line from both directions to do this.

To also keep things fastened in at least one axis, I added dovetail joints/puzzle piece cuts

chrome_C4ysmlAA4u

image

Printing

I had a ton of PETG filament that I bought a while ago and wasn't using, but I didn't know what kind of mess i was getting into. PETG was more... sticky and easier to mess up the first layer with.

My power supply support bracket thing came out perfect. It could fit on the bed at an angle
image

The case had to be printed in two separate prints due to its size, but it was also a one shot print which worked perfectly! The only problem was that I forgot to set the z-offset for the first layer, so the adhesion isn't great on the corners and they're a bit curved on the edges.

image

The dovetail/puzzle piece cut was a bit tighter than expected. I had to use a tool to force it, but it works and will not fall apart!

image

The last thing I had to print was my motor mount. My first print went out great, but when i tested the fit for the motors, they were too tight. 41mm instead of the 42.3mm makes a huge difference. The screw hole could not fit the head either, but I wasn't concerned as much as I could drill them out.

(red line exaggerates the curve a bit more)

image

I printed it another time with the holes fixed, but for some reason onshape decided to cancel my tolerance fix for the motors.... What a waste of plastic

I also decided to fix my z-offset but it was too close to my bed. Another half print fail.
image

Another fail 😭
image

Christmas night, I tried printing one last time with all the fixes above. It worked out perfectly. The only problem now was that this edge may be too fragile to hold a press fit for the 3rd stepper motor

image

1/1/2026 9 AM - Soldering Everything

Since i chose pcba on only one side and omitting some parts to save on money, I bought some things separately and had to manually solder them on. It wasn't that bad, but it was very time consuming.

image

I started with the esp32 microcontroller i was using which required a hot plate and solder paste. Surprisingly, it was very easy and i chose a really nice low melting point paste which was forgiving.

image

The hotswap sockets also fit very perfectly

image

Now for the through hole parts, I either used some tape to hold them on or bent the pins to help stay in place for soldering

image

Here's an image of my rotary encoders on as well as the neopixels

image

Lastly were the other headers, screw terminals, and electrolytic capacitors

image

1/1/2026 10 AM - Last Printed Part

At first, I thought I dimensioned this part correctly with all the tolerances right. I referenced some lengths from a hack pad i made a while ago which I thought was perfect, but no. It was extremely tight with me forgetting how tolerances are different between 3d printers

My next print was a little too loose, and I also did not think about some tolerances around the reset button

And finally, the last iteration had structural support and ironing where its needed

image