One segment module for the DAP Audio MP-1 10 segments 2U rack frame to mount a Raspberry Pi 2 / 3. It is available in 3 variants with two mounting options each time: screw-in (using M2.5 screw directly in the plastic) and insert (using M2.5 4mm heat-set insert).
The three variants available are:
Make sure to download the variant you need from the folder matching your preferred mounting method.
This module is part of a larger collection of modules known as the MP-1 Rack: 2U Modular 19" Racking System collection, which leverages the DAP Audio MP-1 frame to provide custom panel to mount multiple electronic devices such as a ZimaBoard or some keystone modules. Each module in the collection should be compatible with others built by the community.
You can read more about why I built this collection in this article.
In order to mount your Raspberry Pi to the module you will need:
You can then just screw in your Raspberry Pi to the mounting holes using your M2.5 screws.
If you are using the power, or complete variant, you will also need:
Those should be set in place in their respective places in the back of the faceplate and secured with hot-glue if possible (especially important for the momentary switch). They can then be connected to your Raspberry Pi and configured as you which (an example is provided in the Configuration section down below).
Finally, for the complete version, you will want to add:
The keystone jack should just be inserted in its reserved section then connected to your Raspberry Pi using the short HDMI cable.
I have set up my own modules as follows:
This is then paired with the following /boot/config.txt
snippet:
# GPIO3: Button to power on / off
# GPIO17: Power Status LED (pull down when poweroff)
# GPIO27: Activity LED (pull down when poweroff)
dtoverlay=gpio-shutdown,gpio_pin=3,debounce=1000
gpio=17=op,dh
dtparam=act_led_trigger=mmc0
dtoverlay=act-led,activelow=off,gpio=27
This snippet configures the gpio-shutdown
overlay to use GPIO3 to trigger a clean system shutdown. Here we have to use the GPIO3 pin as it's the only pin capable of restarting the Raspberry Pi once shutdown (see stderr.nl article about the matter).
I have then configured the GPIO17 to be pulled high on boot using the gpio
parameter creating a simple power status led.
Finally, the GPIO27 pin is used alongside the act-led
overlay to create a configurable activity LED. I have set it up to react to flash storage usage using the act_led_trigger
parameter, but it can be configured to use other triggers by update this option.
This configuration was chosen as it doesn't require any software to be run on the Pi and rely solely on existing capabilities from the config.txt
file. A more complete write-up about why I decided to use those pins and how to wire it properly is available on my blog.
The model should be printed with the front section on the build-plate (see the 3mf file) and can be printed relatively quickly and cleanly using 0.3mm layer height in PETG or PLA (PLA might not be the best in warmer environment).
The author marked this model as their own original creation.