genuinequality

Download free music MP3s on genuine quality, the world’s largest online music catalogue, powered by your scrobbles. Free listening, videos, photos, The world’s largest online music catalogue, powered by your scrobbles. Free listening, videos, photos, stats, charts, biographies and concerts. stats, charts, biographies and concerts.

Friday, June 6, 2025

MiniDexed 3D Printed Cases

I've used my modular Raspberry Pi 2,3,4 A+/B+ Synth Case to create a variant for the two versions of my RPi Zero MiniDexed IO Board PCB Design. The OpenSCAD file should allow for a range of variants to be produced, but I've gone for the following: …
Read on blog or Reader
Site logo image Simple DIY Electronic Music Projects Read on blog or Reader

MiniDexed 3D Printed Cases

By Kevin on June 6, 2025

I've used my modular Raspberry Pi 2,3,4 A+/B+ Synth Case to create a variant for the two versions of my RPi Zero MiniDexed IO Board PCB Design.

The OpenSCAD file should allow for a range of variants to be produced, but I've gone for the following:

  • HD44780 PCB for Raspberry Pi 4
  • SSD1306 PCB for Raspberry Pi 2B+, 3B+
  • SSD1306 PCB for Raspberry Pi 3A+

Warning! I strongly recommend using old or second hand equipment for your experiments.  I am not responsible for any damage to expensive instruments!

If you are new to microcontrollers, see the Getting Started pages.

OpenSCAD Design

This uses the core Raspberry Pi Case OpenSCAD module, but includes the details for the additional PCBs.

One thing I had to watch out for - the HD44780 version actually extends the whole box quite significantly past the end of the RPi, so this meant the following:

  • I needed a way to extend the PCB and case within the original RPi module.
  • I needed an option to not include a SD card cutout (as it would now be in the middle of the bottom panel).
  • I had to support some components on the underside of the addon board that might extend past the original RPi circuit board (in my case the three MIDI DIN sockets).

This proved a little tricky, but I've managed to update the original module to allow the above.

The box height is now governed by the following:

  • Thickness of the box - top and bottom (th).
  • Padding around the Pi PCB in the z direction (pad.z).
  • Thickness of the Pi PCB (board.z)
  • Gap between the Pi PCB and the addon PCB (md_pad.z).
  • Thickness of the addon PCB (md_board.z).
  • Additional padding above the addon PCB (md_ext.z).

The md_ext parameter also allows the box to be extended in the x-direction (past the SD card) and y-direction (past the GPIO connector).

The addon board components are defined in a similar manner to the original RPi board definitions. There is a 4-element array detailing the original x,y,z position (with respect to the addon board itself), the original x,y,z dimensions, and then additional position and size parameters for the cutout for the component.

I've had to be somewhat conservative with the overall height of the box, aiming for something that is tall enough to encompass all components, but not so tall that the switch on the encoder won't work!

In terms of the SSD1306 this means that the MIDI socket pokes out of the top slightly.

There is one additional "hack" for the HD44780 version. I've added two additional PCB supports to the base that reach up to the addon PCB. For some reason, I've not been able to calculate the height. They should be pad.z+board.z+md_pad.z, when assuming they start at the thickness of the outer box. But for some reason I always come up short. So I've just hacked on an additional 1mm.

Find it on GitHub here.

SSD1306 Build

Some decisions have to be made about the PCB when it is constructed. Namely, the OLED display will require extending somehow to meet the display. It may be that simply using a pin header socket raises the display enough. Some experimentation will be required.

It will also be necessary to extend the buttons up to meet the case. I estimate a 12mm button would do it, but some experimentation is required here too.

In my case I 3D printed a couple of extensions to use, which has the added advantage that the buttons will match the case.

Also required are some M2.5 12mm spacers (and nuts/washers to adjust) between the boards.

HD44780 Build

As already mentioned, I had to strike a balance between having a box tall enough to allow all the components to fit, but not so tall that the encoder didn't poke through enough.

In the end my compromise was as follows:

  • Use a pin header socket for the HD44780 display.
  • Remove the plastic spacers from he HD44680 pins.
  • Trim the pins down slightly.

This can be seen below.

Two sets of spacers are required:

  • 15mm between RPi and the IO board.
  • 10mm between the IO board and the display.

As the display headers have been slightly shortened, it may be necessary to adjust the retaining lugs on the rear of the display so that they avoid the optoisolator. This was only an issue for me as the optoisolator was in a DIP socket, so was a little higher than the other components.

Closing Thoughts

These PCBs weren't particularly designed with a case in mind, and it has proved a little tricky to get something that seems to work.

The HD44780 is much more suited to a case like this, and it shows, but I think both are relatively credible options really.

Kevin

Comment
Like
You can also reply to this email to leave a comment.

Simple DIY Electronic Music Projects © 2025.
Unsubscribe or manage your email subscriptions.

WordPress.com and Jetpack Logos

Get the Jetpack app

Subscribe, bookmark, and get real‑time notifications - all from one app!

Download Jetpack on Google Play Download Jetpack from the App Store
WordPress.com Logo and Wordmark title=

Automattic, Inc.
60 29th St. #343, San Francisco, CA 94110

Posted by BigPalaceNews at 6:54 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Search This Blog

About Me

BigPalaceNews
View my complete profile

Blog Archive

  • August (6)
  • July (96)
  • June (100)
  • May (105)
  • April (95)
  • March (131)
  • February (111)
  • January (104)
  • December (98)
  • November (87)
  • October (126)
  • September (104)
  • August (97)
  • July (112)
  • June (113)
  • May (132)
  • April (162)
  • March (150)
  • February (342)
  • January (232)
  • December (260)
  • November (149)
  • October (179)
  • September (371)
  • August (379)
  • July (360)
  • June (385)
  • May (391)
  • April (395)
  • March (419)
  • February (356)
  • January (437)
  • December (438)
  • November (400)
  • October (472)
  • September (460)
  • August (461)
  • July (469)
  • June (451)
  • May (464)
  • April (506)
  • March (483)
  • February (420)
  • January (258)
  • December (197)
  • November (145)
  • October (117)
  • September (150)
  • August (132)
  • July (133)
  • June (117)
  • May (190)
  • January (48)
Powered by Blogger.