I've now thoroughly reviewed both PDFs. Let me give you a clear summary.
Yes, both USB charging and battery protection are already covered in your battery architecture — they're part of the self-contained battery pack design you've been developing. Here's the breakdown:
The battery pack includes a full USB-C PD charging system built into the electronics bay at the bottom of the scaffold: ppl-ai-file-upload.s3.amazonaws
- USB-C panel-mount port (IP67, on the side of the battery end cap)
- PD trigger board (ZY12PDN or STUSB4531, ~31×15×4mm) — negotiates 20V from any charger 45W–240W automatically
- Boost converter (XL6019, 20V→42V CC/CV) — steps up to pack charge voltage
- Total electronics fit in ~60×45×25mm, tucked into the electronics bay
The key design point: all electronics live on the battery, not in the frame. You pull the battery out, plug your MacBook charger into the USB-C port on the side, charge on the kitchen table. The frame side is 100% passive — just flat copper pads. ppl-ai-file-upload.s3.amazonaws
A 10S BMS is included in the electronics bay, handling: ppl-ai-file-upload.s3.amazonaws
- Overcurrent, overvoltage, undervoltage protection
- Short-circuit and temperature cutoff
- Cell balancing during charge
- Per-cell fusing was deliberately skipped — at 3.5A per cell in 2P, the BMS alone handles everything adequately
The connector design settled on an elevated pad island + recessed pogo pin dock approach: ppl-ai-file-upload.s3.amazonaws
- Frame side: Elevated flat gold pads on a raised "speed bump" — water sheets off, no pooling
- Battery side: 6-pin pogo block recessed deep inside a dock cavity — finger-safe by geometry (IP2X-style)
- 2 power pins + signal/thermistor/comm pins
Your notes confirm the DT dimensions are not locked down yet, and you've been exploring both round and oval options: ppl-ai-file-upload.s3.amazonaws
| Discussed Size | Context |
|---|---|
| 50mm round | Original spec for 2×2 grid of 21700 cells |
| 55–60mm | Referenced for fitting 21700s with BMS/wiring room |
| 43×59mm oval | The 1-2-1 diamond layout (narrower, taller) |
| ~50×65 (your current thinking) | Wider than the diamond, gives more lateral room |
The 50×65 oval gives you more cross-sectional area than the 43×59 diamond and better lateral stiffness for pedaling loads. The tall axis (65mm) resists braking/vertical loads while the narrow axis (50mm) keeps the frame slim between your knees. Since you're building in aluminum (not steel), you have freedom to specify custom oval tubing from the fabricator. ppl-ai-file-upload.s3.amazonaws
The scaffold cage parameters (currently cagew = 53, cageh = 48 in the OpenSCAD file) would need updating to match whatever oval you settle on. With a 50×65 outer and ~2mm wall, you'd have roughly 46×61mm inner bore — plenty of room for the 2×2 cell grid (~43×43mm footprint) plus wiring channel and air gaps. ppl-ai-file-upload.s3.amazonaws
Bottom line: your electronics stack is already specced and costed at $22–38 total for BMS + USB-C PD + boost converter. The DT oval just needs to be finalized around whatever gives comfortable clearance for the scaffold + 1mm air gap on each side. ppl-ai-file-upload.s3.amazonaws
No, you don't need to build a separate shell. Your aluminum downtube IS the shell. You just need a few cheap layers between the bare pack and the tube wall.
What Goes Between Pack and Tube
That's it. The GreenBikeKit bare pack already comes in heat-shrink wrap, which provides basic electrical insulation. You wrap 2–3mm of EVA foam around it, slide it into the DT, and the foam compression keeps it snug and rattle-free.reddit+1
Why This Works
The aluminum DT is your outer shell — it's stronger, more impact-resistant, and more thermally conductive than any plastic battery case[letrigo]
The DT provides IP-level water protection by design — sealed ends with grommets at the cable entry points
Premium commercial batteries use exactly this philosophy internally: rigid outer shell → elastic damping layer → cells. They call it "rigid-outside, flexible-inside". Your DT is the rigid outside, the foam is the flexible inside[gebbattery]
The aluminum frame actually doubles as a heat sink, passively cooling the pack through the tube wall during hot summer rides[letrigo]
Securing the Pack
The bare pack needs to not slide around lengthwise inside the tube. Two options:
Foam friction fit — if the foam wrap is sized correctly, the pack press-fits and stays put from friction alone[reddit]
End stops — your electronics module on one end and a simple 3D-printed bulkhead on the other end sandwich the pack in place. The pack physically can't move.
So the total "shell" is: €2 of foam + €0.50 of fish paper + your existing DT. No custom housing, no injection mold, no extra weight. The tube you already designed is the enclosure.
What Goes Between Pack and Tube
That's it. The GreenBikeKit bare pack already comes in heat-shrink wrap, which provides basic electrical insulation. You wrap 2–3mm of EVA foam around it, slide it into the DT, and the foam compression keeps it snug and rattle-free. reddit
Why This Works
Securing the Pack
The bare pack needs to not slide around lengthwise inside the tube. Two options:
So the total "shell" is: €2 of foam + €0.50 of fish paper + your existing DT. No custom housing, no injection mold, no extra weight. The tube you already designed is the enclosure.