March 3, 2026
Description
**Presenting a custom-designed, dual-purpose 3D printed enclosure system, created by Amir Mobasheraghadam for the ultimate Smart Bike project!**
This isn't just a simple box; it's a robust, integrated housing solution specifically designed for the smartbike_Raspberry-Pi-5 project. It features two critical components that work together:
1. **The Power Base:** A custom-fitted **box for a Milwaukee 18V battery**. This allows you to use powerful, widely available tool batteries to run your Raspberry Pi 5 project for extended periods, far beyond what standard power banks can offer.
2. **The Brain Housing:** A precisely designed **enclosure for the Raspberry Pi 5** that sits securely on top of the battery box. This protects the single-board computer that runs your smart bike's software, including the Streamlit dashboard, audio system, and event logging.
**🛠 Engineered for the smartbike_Raspberry-Pi-5 Project**
This physical case is the perfect companion to the software found in the **[GitHub Repository: https://github.com/Amirmobash/smartbike_Raspberry-Pi-5]** . It's built to house all the hardware needed for features like:
* **Streamlit Dashboard:** Space for a small display.
* **Audio Handling:** Accommodations for a speaker or microphone module.
* **Event Logging & Sensors:** Internal room for the Pi 5, cables, and sensor breakouts (GPS, accelerometers, etc.).
**✨ Key Features of the Design**
* **Dual-Box Stacked Design:** The Milwaukee battery securely clicks into the bottom box, which has a flat top to perfectly host the Raspberry Pi case above it. This creates a single, portable power-and-processing unit.
* **Bottom Box:** Designed to snugly hold a standard **Milwaukee M18 battery**, with openings for the battery contacts to connect to a voltage regulator or buck converter (not included) to safely power the Pi 5.
* **Top Box:** Precision cavities to securely hold the **Raspberry Pi 5** board.
* **Functional Port Access:** Cutouts for all essential Pi 5 ports—power input (from the battery below), USB, HDMI, GPIO, and micro-SD card.
* **Durable for the Road:** Designed for printing in tough filaments like **PETG, ABS, or ASA** to withstand bike vibration, dust, and outdoor conditions.
* **Easy Mounting:** The combined unit can be easily mounted to a bike frame using heavy-duty zip ties or industrial-strength Velcro through integrated slots.
* **Ventilation:** Subtle channels to help keep the Raspberry Pi 5 cool during operation.
**📦 What You'll Need to Build**
* This 3D printed case set (STL files).
* Raspberry Pi 5 (with your choice of heat sink/fan).
A *Milwaukee M18 Red Lithium Battery**.
* A DC-DC buck converter (to step down the 18V battery output to a stable 5V/3A for the Pi 5).
* Your chosen display, sensors, and audio hat for the smartbike_Raspberry-Pi-5 project.
* Filament (Recommended: PETG or ASA for strength and weather resistance).
* Small screws (M2.5) for securing the Pi (optional) and wires for the power connection.
**🖨 Recommended Print Settings**
* **Layer Height:** 0.2 mm
* **Infill:** 30-40% for structural strength.
* **Supports:** Likely needed for the battery retention clips and port cutouts. Check the preview in your slicer.
* **Material:** PETG or ASA/ABS is highly recommended for outdoor use on a bicycle. PLA may warp or become brittle in sunlight and heat.
**Get the Software**
Ready to build the smartest bike on the road? The software that powers this project is available here: **[Link to your GitHub Repository: https://github.com/Amirmobash/smartbike_Raspberry-Pi-5]**
**Designed and shared by Amir Mobasheraghadam.** I hope this design helps fellow makers take their projects on the go with reliable power! If you build one, please post your **Makes** and tag me. Feel free to ask any questions in the comments.
License:
GNU General Public License v2.0
7