Skip to content

Instantly share code, notes, and snippets.

@eonist
Created March 12, 2026 20:30
Show Gist options
  • Select an option

  • Save eonist/87f89662e86116a2a0463a5ea7ce1742 to your computer and use it in GitHub Desktop.

Select an option

Save eonist/87f89662e86116a2a0463a5ea7ce1742 to your computer and use it in GitHub Desktop.
battery-bike.md

Here's a comprehensive overview of ebike battery designs — especially relevant for your Omera frame project.

Cell Types: 21700 vs 18650

The industry has largely moved to 21700 cells for new builds. They're 50% larger in volume than 18650s but pack up to 45% more energy density, meaning more range with fewer cells and better heat management. em3ev

Spec 18650 21700
Diameter 18mm 21mm
Height 65mm 70mm
Max capacity ~3,500 mAh ~5,000 mAh
Weight ~48g ~70g
Best for Compact builds, legacy packs New builds, higher range batterydesign

Battery Placement Approaches

Downtube Integrated (Most Relevant for Omera)

The battery pack sits inside an oversized downtube, typically accommodating 40–60 cells. This is the cleanest look — the battery is invisible. Modern frames like Giant's EnergyPak use a removable cartridge that slides in/out through the bottom of the DT. This is why we discussed going to a 50mm DT for Omera — a standard 42mm DT can't fit 21700 cells (21mm diameter × 2 rows = 42mm bare minimum, no room for BMS/wiring). myvelo

Downtube External Mount

Battery bolts to the outside of the downtube using rivnuts or braze-on bosses. Common for conversions. Looks less clean but simpler to engineer. A 48V 25Ah pack with 65× 21700 cells comes pre-shaped in a downtube profile. yosepower.co

Triangle Bag/Pack

A custom-shaped battery fills the front triangle, held by a frame bag or custom cradle. Maximizes capacity (85+ cells possible) but looks bulky. Good for range-focused builds. twowheellifestyle

In-Tube Stealth

Cells are packed directly inside the frame tubes — split across top tube, seat tube, and down tube. Extremely stealthy but hard to service, limited capacity (~20 cells), and structurally risky since you're drilling access holes. forums.electricbikereview

What This Means for Omera

For a clean fixed-gear-style ebike, the best approach is downtube integrated with a removable cartridge:

  • DT outer diameter: 55–60mm (up from Detroit's 42mm) to fit 21700 cells in a 2-wide or 3-wide arrangement
  • Configuration: 13S3P (48V, ~15Ah, 720Wh) = 39× 21700 cells — fits in a ~55mm × 400mm downtube cavity
  • BMS: 40A continuous, UL 2271 certified for US/California compliance bev-intl
  • Access: Bottom-load at BB junction or side-load panel
  • Weight: ~2.8kg for the pack alone

The 2026 California regulation (SB 1271) now requires UL 2849 or UL 2271 certification on all ebike batteries, so designing around a certified battery pack from the start avoids costly redesigns later. bev-intl

Want me to calculate the exact cell layout dimensions for the Omera downtube, or look into specific off-the-shelf battery packs that could fit?

@eonist
Copy link
Author

eonist commented Mar 13, 2026

Great news: the whole charging system is tiny. Here's what each part actually measures:

Physical dimensions

Part | Dimensions (L×W×H) | Notes -- | -- | -- PD trigger board (ZY12PDN) | 31 × 15 × 4.3 mm [make.net]​ | Tiny, about the size of a thumbnail Boost converter (XL6019) | 50 × 28 × 13 mm ifuturetech+1 | The biggest piece — about a matchbox 10S BMS (small ebike type) | 80 × 60 × 6.5 mm [m.aliexpress]​ | Flat board, fits along the scaffold wall USB-C panel mount port | ~12 × 9 mm (face), 25 mm deep | Standard panel-mount connector

Want me to sketch how these boards stack at the bottom end of the scaffold, or should we first nail down the pogo pin connector layout for the frame dock?

Great news: the whole charging system is tiny. Here's what each part actually measures:

Physical dimensions

Part Dimensions (L×W×H) Notes
PD trigger board (ZY12PDN) 31 × 15 × 4.3 mm [make.net](https://make.net.za/product/8me1200/) Tiny, about the size of a thumbnail
Boost converter (XL6019) 50 × 28 × 13 mm ifuturetech The biggest piece — about a matchbox
10S BMS (small ebike type) 80 × 60 × 6.5 mm [m.aliexpress](https://m.aliexpress.com/i/32923031578.html) Flat board, fits along the scaffold wall
USB-C panel mount port ~12 × 9 mm (face), 25 mm deep Standard panel-mount connector

Total space needed

All of this stacks into roughly 80 × 60 × 25 mm — about the size of a credit card, 25 mm thick. That's easily smaller than the cross-section of your downtube oval.

Where it fits in the scaffold

There are two logical places:

Option A — Bottom end of the scaffold (behind the sealed bottom plate):

  • The BMS lies flat against the bottom plate (80×60×6.5mm — fits within the scaffold's ~48×53mm footprint if oriented diagonally or trimmed to a custom PCB).
  • PD trigger + boost converter stack on top of it.
  • USB-C port faces outward from the bottom end cap of the DT.
  • Pogo pins also face outward from this same end.
  • All wiring stays short.

Option B — Separate end-cap module:

  • A small 3D-printed enclosure bolted to the end of the scaffold.
  • Houses all electronics + USB-C port + pogo pins.
  • Slides into the frame with the battery as one unit.

Option A is cleaner — everything hidden inside the DT. The 6mm central wire hole in the scaffold carries the BMS balance leads from the cell connections down to the BMS board at the bottom.

Custom BMS consideration

Off-the-shelf 10S BMS boards at 80×60mm are designed for generic ebike cases. For your tight oval, you could order a custom-shaped BMS PCB that matches your scaffold's cross-section exactly — Chinese PCB houses do this for ~$15–30 in small batches. That way the BMS becomes a structural layer at the bottom of the scaffold rather than a separate board to squeeze in. [pswpower](https://www.pswpower.com/products/small-bms10s-36v-30a-or-13s-48v-30a-li-ion-battery-bms-for-18650-cell-hailong-dolphin-shark-case-ebike-battery-bms-141)

Parts cost summary

Part Est. cost
PD trigger board ~$3–5
XL6019 boost module ~$5–8
10S BMS 20A ~$8–15
USB-C panel mount ~$3–5
Pogo pins (2 power + 4 signal) ~$5–10
Total electronics ~$24–43

Want me to sketch how these boards stack at the bottom end of the scaffold, or should we first nail down the pogo pin connector layout for the frame dock?

@eonist
Copy link
Author

eonist commented Mar 13, 2026

That changes the architecture in a good way — everything lives on the battery, nothing smart needed in the frame.

Self-contained battery: all electronics on-board

Since the battery charges standalone on your kitchen table, the entire charging system is inside the battery pack, not split between frame and battery:

What's inside the battery

Part | Size (mm) | Function -- | -- | -- USB-C panel port | 12 × 9 face, 25 deep | Plug your MacBook charger in here PD trigger (ZY12PDN or STUSB4531) | 31 × 15 × 4 | Negotiates 20V from any charger make+1 Boost converter (20V → 42V) | 50 × 28 × 13 | Steps up to pack charge voltage [ifuturetech]​ 10S BMS | 60 × 45 × 6.5 | Balances, protects, manages charge/discharge [m.aliexpress]​

The frame just needs matching flat pads — zero electronics, zero cost essentially.

What this means for the scaffold design

The bottom end of the scaffold gets a small electronics bay between the bottom plate and the end cap:

  • BMS flat against the bottom plate (wired through the central 6mm hole to each cell group's balance taps)

  • PD trigger + boost converter stacked on top

  • USB-C port facing outward through the end cap (accessible when battery is removed from frame)

  • Pogo pins also on the end cap (face into frame when inserted)

When the battery is in the bike: pogo pins connect to frame pads → motor runs. When removed: plug USB-C into the exposed port → charges on the kitchen table.

That changes the architecture in a good way — everything lives *on the battery*, nothing smart needed in the frame.

Self-contained battery: all electronics on-board

Since the battery charges standalone on your kitchen table, the entire charging system is inside the battery pack, not split between frame and battery:

What's inside the battery

Part Size (mm) Function
USB-C panel port 12 × 9 face, 25 deep Plug your MacBook charger in here
PD trigger (ZY12PDN or STUSB4531) 31 × 15 × 4 Negotiates 20V from any charger make.net
Boost converter (20V → 42V) 50 × 28 × 13 Steps up to pack charge voltage [ifuturetech](https://ifuturetech.org/product/xl6019-dc-dc-5a-adjustable-boost-power-supply-module/)
10S BMS 60 × 45 × 6.5 Balances, protects, manages charge/discharge [m.aliexpress](https://m.aliexpress.com/i/32923031578.html)

Total volume: roughly a stack of 60 × 45 × 25 mm — fits in the bottom end of the scaffold behind the sealed plate, or in a small end-cap compartment.

What's in the frame

Now the frame side becomes dead simple — just dumb copper contacts (pads or rails). No electronics. The battery's BMS handles everything:

  • 2 power contacts (V+ and V−) → motor controller
  • Optionally 1–2 signal contacts (enable line, thermistor)

Charge time math

Your 10S2P pack with 5000mAh 21700 cells: [battsysbattery](https://www.battsysbattery.com/pro/21700-battery-5000mAh)

  • Pack capacity: 2P × 5Ah = 10Ah at 36V = 360Wh
  • With a 45W Apple charger: PD negotiates 20V @ 2.25A = 45W in, after boost losses (~85% efficient) ≈ 38W into the pack. Charge time: 360Wh ÷ 38W ≈ ~9.5 hours [manlybattery](https://manlybattery.com/battery-tools-and-resources/battery-charge-time-calculator/)
  • With a 65W charger: 20V @ 3.25A = 65W in, ~55W net. Charge time: 360Wh ÷ 55W ≈ ~6.5 hours
  • With a 100W charger: 20V @ 5A = 100W in, ~85W net. Charge time: 360Wh ÷ 85W ≈ ~4.2 hours

So for your 4–5 hour target, a 65W+ charger gets you there. The 45W Apple brick works too, it just takes longer (~overnight). imrenbatteries

Simplified parts list

Since everything is self-contained on the battery:

Part Est. cost Notes
USB-C panel mount (IP67) $3–5 On the exposed end of the battery
PD trigger board $3–5 Requests 20V from any USB-C charger
Boost converter 20V→42V $5–8 Set max current to 2A (safe 0.2C charge)
10S BMS 20A $8–15 Common-port, handles charge + discharge
2× power pogo pins (battery side) $3–5 Dock contacts for motor power
Total ~$22–38

The frame just needs matching flat pads — zero electronics, zero cost essentially.

What this means for the scaffold design

The bottom end of the scaffold gets a small electronics bay between the bottom plate and the end cap:

  • BMS flat against the bottom plate (wired through the central 6mm hole to each cell group's balance taps)
  • PD trigger + boost converter stacked on top
  • USB-C port facing outward through the end cap (accessible when battery is removed from frame)
  • Pogo pins also on the end cap (face into frame when inserted)

When the battery is in the bike: pogo pins connect to frame pads → motor runs. When removed: plug USB-C into the exposed port → charges on the kitchen table.

@eonist
Copy link
Author

eonist commented Mar 13, 2026

Good question. Your current design has smooth-bore tubes. Here's how the two options compare for your specific goals:

Circular Smooth Bore (what you have now)

This is actually the better choice for Omera. Here's why:

  • Gravity drop-in: A smooth bore gives zero friction points. Tilt the frame, cells slide out by gravity alone. Any internal feature (ribs, honeycomb) adds contact points that can catch or slow the cell. ensinger-pc
  • Low rattle: The current bore is pocket_d = 21.5 mm for a 21 mm cell — that's only 0.25 mm radial clearance per side. At that tolerance, the cell barely moves laterally. Rattle comes from axial movement (cell bouncing end-to-end), which you solve with the cork caps pressing down, not with wall texture. facebook
  • Airflow: Smooth bore lets air flow freely along the cell length through the gap. Any wall texture disrupts laminar flow and creates dead spots where heat builds up. [sciencedirect](https://www.sciencedirect.com/science/article/pii/S2666202725000321)
  • Moldability / printability: Smooth cylinders are trivial to injection mold or 3D print. Internal ribs or honeycomb add draft angle complexity and potential print artifacts. [ensinger-pc](https://www.ensinger-pc.com/resources/blog/a-guide-to-injection-molding-plastic-battery-components/)

Honeycomb / Internal Ribs

Recommendation

Keep smooth circular bores. Your 0.25 mm radial clearance is already tight enough to prevent meaningful rattle. For the small remaining axial rattle (cell bouncing lengthwise), the cork caps + bottom plate handle it. If you later find rattle is an issue in testing, the cheapest fix is a thin silicone O-ring inside each cap face (manufacturing detail, not modeled in SCAD) rather than redesigning the tube walls. patents.google

The one thing worth considering: a single shallow chamfer at the tube entry (top 1–2 mm flared by 0.5 mm) to make cell insertion easier when you're loading by hand. But again, that's a manufacturing annotation, not something to model now.

@eonist
Copy link
Author

eonist commented Mar 13, 2026

Here's the full file with the electronics backpack added at the bottom .

What's in the electronics bay

The bay sits at the bottom end of the scaffold (opposite the cork caps), rendered in SteelBlue so you can distinguish it. It extends 30mm below the bottom plate:

  • Outer shell — same clover profile as the end rings, 2mm wall, so it matches the scaffold cross-section exactly.
  • BMS pocket — 60×45×7mm recess at the top of the bay (right against the cell-side plate). Wired through the central 6mm hole to the balance taps.
  • Boost converter pocket — 50×28×14mm below the BMS.
  • PD trigger pocket — 31×15×5mm tucked beside the boost converter.
  • USB-C port hole — 12×9mm hole through the front wall of the bay. This is where you plug in your MacBook charger when the battery is on the table.
  • Pogo pin holes — through the bottom face: 2× large (4.5mm, power) on the outer positions, 4× small (2.5mm, signal) in the center. These face into the frame when the battery is inserted.
  • Central wire hole — continues straight through from the scaffold above.

Orientation when in use

CORK CAPS (top)     ← you face this end upward on the table
│                      to access USB-C port on the bottom
│  cells cells cells
│  cells cells cells
│
ELECTRONICS BAY     ← USB-C port on side, pogo pins on bottom face
                      pogo pins dock into frame when bike-mounted

Render it and let me know if the proportions look right — the bay might need to be deeper or shallower depending on how the boards actually stack.

@eonist
Copy link
Author

eonist commented Mar 13, 2026

The oval (1-2-1 diamond) uses less space — but only by about 6%.

  • Circle (2×2 grid): Ø 52.1 mm → 2,133 mm²
  • Oval (1-2-1 diamond): 43 × 59 mm → 1,996 mm²

The oval is taller and narrower (43 × 59 mm) because the 1-2-1 stacking nests the top and bottom cells into the valleys of the middle pair. The circle is wider in all directions because it has to wrap a square. Practically though, the difference is small — only ~137 mm².

@eonist
Copy link
Author

eonist commented Mar 13, 2026

Screenshot 2026-03-13 at 23 33 00

Here's just the electronics bay, isolated .

What you're looking at

The bay is oriented with z = 0 at the bottom (pogo pin face / frame-facing end) and z = bay_h (30mm) at the top (where it mates to the scaffold bottom plate):

  • Top layer — BMS pocket (60×45×7mm), sits right against the scaffold plate. Balance wires come through the 6mm central hole.
  • Middle layer — Boost converter pocket (50×28×14mm) + PD trigger pocket (31×15×5mm) beside it.
  • Front wall — USB-C port hole (12×9mm) punched through the Y+ face.
  • Bottom face — 2 large pogo pin holes (4.5mm, power) on the outer edges, 4 small pogo pin holes (2.5mm, signal) in the center.
  • Central wire hole — 6mm, runs full height.

The outer shell matches the scaffold's clover profile exactly so it mates flush. Render it and let me know what needs adjusting — height, pocket positions, USB-C port placement, pogo pin layout, etc.

@eonist
Copy link
Author

eonist commented Mar 13, 2026

Yes, exactly. The 6 holes in the bottom face are where the pogo pins mount. Here's how it works:

Pogo pin placement

  • 2 large outer holes (4.5mm) — these hold the power pogo pins (V+ and V−). They carry the main current to the motor controller (~10A rated).
  • 4 smaller inner holes (2.5mm) — these hold the signal pogo pins. For BMS communication, thermistor reading, and an enable/wake line.

Each pogo pin is a small spring-loaded cylinder. You press-fit or solder it into its hole from the inside of the bay. The spring-loaded tip pokes out through the bottom face by a few mm.

How it connects when in the bike

When you slide the battery into the downtube:

Battery slides in →

[CORK CAPS] ——— [SCAFFOLD + CELLS] ——— [ELECTRONICS BAY] →
                                              ↓
                                        pogo pin tips
                                              ↓
                                     compress against flat
                                     copper pads in frame

The bottom face of the bay is the insertion end. As the battery reaches its final position, the spring-loaded pins compress against matching flat pads (a small PCB or gold-plated copper strips) fixed permanently inside the frame. Spring pressure keeps solid contact even with vibration.

The USB-C port

The rectangular slot on the side wall (visible near the top of your render) is where the USB-C panel-mount receptacle sits. That hole lines up with a matching cutout in the alu cover, so when you pull the battery out and set it on the table, you can plug in your charger from the side.

Want me to adjust anything — pin spacing, hole sizes, USB-C port position?

@eonist
Copy link
Author

eonist commented Mar 13, 2026

Screenshot 2026-03-13 at 23 41 35

Here's v2 . Two changes:

1. Fins gone — those were leftover thin walls between the individual board pockets (BMS, boost, PD trigger cavities overlapping awkwardly). Now the interior is just one clean hollow cavity. You drop all three boards in there and secure them with standoffs or adhesive. Much simpler.

2. USB-C goes through the side — the port hole is on the Y+ wall of the bay, positioned at 15mm up from the bottom. When assembled, this aligns with a matching hole drilled/CNC'd in the alu cover. So the charging workflow is:

  • Battery in bike → USB-C port hidden inside the downtube, not exposed to weather.
  • Pull battery out → USB-C port on the side of the alu shell, plug in your MacBook charger, done.

The alu cover just needs a 12×9mm cutout in the right spot to let the USB-C receptacle poke through or sit flush.

Render it and let me know how it looks — should be a clean box with no weird internals this time.

@eonist
Copy link
Author

eonist commented Mar 13, 2026

What you're describing is essentially the Shimano STEPS / Bosch PowerTube internal battery connector pattern — and it's the industry standard for good reason. connectors-cables

How It Works (Your Design Matches)

The mechanism has two halves:

Frame side (fixed):

Battery side (removable):

  • Matching parallel grooves that only accept the frame fins in one orientation (keyed/polarized). Slide in, no rotation possible. [si.shimano](https://si.shimano.com/en/pdfs/dm/BT0001/DM-BT0001-05-ENG.pdf)
  • Flat gold-plated contact pads that the pogo pins press against when seated. No exposed pins on the battery — just flush pads recessed between the plastic ribs. connectorsupplier
  • A detent pocket (small dimple or notch) for the ball-spring to snap into.

Why This Pattern Works

  • Anti-rattle: The parallel fins create a tight sliding fit with zero lateral play. Ball-spring detent eliminates axial play. connectors-cables
  • Safety: Pogo pins are recessed on the frame side; pads are flush on the battery side. No exposed live contacts on either half when separated. connectorsupplier
  • Blind-mate friendly: Slide in along the rails, feel the click, done. One direction only, no alignment guesswork. si.shimano
  • Vibration-proof: Pogo pin springs maintain constant contact pressure even under road vibration — rated for 100K+ cycles. jiatelcn

Typical Pin Count

Pin Function
2 × power B+, B− (high current, 10–25A capable)
1 × signal Communication / CAN bus to BMS
1 × temp NTC thermistor sense
1 × ground Signal ground (separate from power ground)

For Omera you'd likely need 4–5 pogo pins: 2 power (sized for ~15A), plus signal/temp/ground. The power pins should be larger diameter (2.5–3 mm) with higher spring force than the signal pins. jiatelcn

Where to Source

Off-the-shelf pogo pin connector blocks (5-pin, 2.54 mm pitch, gold-plated, magnetic or friction-mount) are available from suppliers like Jiatel, CCP, and Higo — many already designed for e-bike battery applications. You'd design the plastic fin housing around these standard pins. ccpcontactprobes

This is exactly the right approach for Omera. The connector block would sit at the bottom of the downtube (inside the BB area), and the battery scaffold slides down from the top, rails engage, click.

@eonist
Copy link
Author

eonist commented Mar 13, 2026

Exactly — that's IP2X / finger-proof by geometry, the same principle used in EV battery packs and industrial blade connectors.

How It's Finger-Safe

The IEC 61032 "test finger" is 12 mm diameter, 80 mm long. If your fin gap is under 8 mm, no adult or child finger can enter. Put the contacts deeper than 10 mm inside that gap and nothing can touch them — not a finger, not a key, not a coin.jiatelcn+1

Your design:

text
Gap: 5mm (finger can't enter) ┌───┐ ┌───┐ ┌───┐ ┌───┐ ┌───┐ │ │ │ │ │ │ │ │ │ │ ← fins, 2mm thick, 15mm tall │ │ │ ● │ │ │ │ ● │ │ │ ← pogo pins at ~10mm depth │ │ │ │ │ │ │ │ │ │ └───┴─┴───┴─┴───┴─┴───┴─┴───┘ frame block (fixed in downtube floor)
  • Fin thickness: 2 mm

  • Gap between fins: 5 mm (finger-proof)

  • Fin height: 15 mm

  • Contact depth: 10 mm down from fin top (unreachable)

When the battery scaffold drops in, its matching fins slide into the gaps. The pads on the scaffold fins meet the pogo pins at depth. From the outside, both halves just look like plastic combs — no visible metal, no exposed contacts, nothing to short with a tool or touch accidentally.

The Two Halves

Frame block (lives at downtube floor):

  • 5 fins pointing up

  • Pogo pins press-fit into the inner face of fins, facing inward across the gap

  • Wired down through the block into the frame harness

Scaffold bottom (battery side):

  • 4 matching fins pointing down, interleave between the frame fins

  • Gold-plated flat pads on the fin faces, flush with the plastic

  • No springs, no moving parts on the battery side

Pin Assignment (4 contact pairs across 4 gaps)

Gap | Left face | Right face | Function -- | -- | -- | -- 1 | pogo → | ← pad | B+ power 2 | pogo → | ← pad | B− power 3 | pogo → | ← pad | Signal / CAN 4 | pogo → | ← pad | Temp + ground

Power pins in the outer gaps, signal in the inner gaps — even if moisture gets in, the low-voltage signals are furthest from the high-current contacts.

This whole block is maybe 30 × 15 × 15 mm. You buy standard pogo pins and flat pads, press them into a small 3D-printed or moulded housing, and mount it at the downtube floor. Want me to add this to the scaffold SCAD as the bottom connector block?

@eonist
Copy link
Author

eonist commented Mar 13, 2026

Exactly right. What you're describing is called IP2X finger-safe design — it's an actual engineering standard.[gt-engineering]

The rule

The IEC 60529 standard says: if a 12mm diameter test finger (simulating a human fingertip) cannot reach the live contact, it's IP2X finger-safe. So your fin gap just needs to be less than 12mm wide, and the contacts need to be recessed deep enough inside.ledphotometer+1

Your interleaved fin connector

text
Cross-section (looking down into the battery bottom): FRAME SIDE (fixed in DT): BATTERY SIDE (electronics bay): ┌─┐ ┌─┐ ┌─┐ ┌──┐┌──┐┌──┐┌──┐ │ │ │ │ │ │ │ ││ ││ ││ │ │ │ │ │ │ │ │ ││ ││ ││ │ │█│ │█│ │█│ ← pads │●││●││●││●│ ← pogo pins │ │ │ │ │ │ on fins │ ││ ││ ││ │ on inner │ │ │ │ │ │ │ ││ ││ ││ │ slot walls └─┘ └─┘ └─┘ └──┘└──┘└──┘└──┘ 3 fins 4 slots Battery drops in → slots interleave over fins: ┌──┐ ┌──┐ │ │┌─┐ │ │┌─┐ │ ││ │ │ ││ │ │● ││█│ │● ││█│ ← pin meets pad │ ││ │ │ ││ │ inside ~4mm gap │ │└─┘ │ │└─┘ finger can't reach └──┘ └──┘

Design parameters

Parameter | Value | Why -- | -- | --

Why this is perfect for your design

  • Vertical drop-in: battery falls straight down, slots slide over fins naturally with gravity.

  • Self-centering: the interleave guides the battery into exact alignment during the last 15mm.

  • Finger-proof by geometry: 3–4mm slot gap is physically impossible to stick a finger into. Meets IP2X without any extra covers or caps.[ledphotometer]

  • Rattle-free: tight fin-slot fit + ball spring detent = zero play.

  • No magnets needed: gravity + ball spring is enough.

Off-the-shelf or custom?

Werner Wirth (German company, supplies Bosch/Shimano tier) makes exactly this kind of interleaved blade battery connector for ebikes — IP67 rated, up to 30A power pins, finger-safe, keyed. Their modular system lets you pick pin count and current rating. Alternatively, you 3D-print the fin/slot housings yourself and press-fit standard pogo pins or blade contacts into the walls.[wernerwirth]

Want me to model the interleaved fin connector as a SCAD piece — both the frame-side fins and the battery-side slots?

Exactly right. What you're describing is called **IP2X finger-safe** design — it's an actual engineering standard. [[gt-engineering](https://www.gt-engineering.it/en/insights/electrical-hazard-and-arc-flash-mitigation/protection-from-direct-contacts-ipxxb-or-ip2x/)](https://www.gt-engineering.it/en/insights/electrical-hazard-and-arc-flash-mitigation/protection-from-direct-contacts-ipxxb-or-ip2x/)

The rule

The IEC 60529 standard says: if a 12mm diameter test finger (simulating a human fingertip) cannot reach the live contact, it's IP2X finger-safe. So your fin gap just needs to be less than 12mm wide, and the contacts need to be recessed deep enough inside. ledphotometer

Your interleaved fin connector

Cross-section (looking down into the battery bottom):

FRAME SIDE (fixed in DT):          BATTERY SIDE (electronics bay):

    ┌─┐  ┌─┐  ┌─┐                    ┌──┐┌──┐┌──┐┌──┐
    │ │  │ │  │ │                    │  ││  ││  ││  │
    │ │  │ │  │ │                    │  ││  ││  ││  │
    │█│  │█│  │█│  ← pads            │●││●││●││●│ ← pogo pins
    │ │  │ │  │ │    on fins          │  ││  ││  ││  │   on inner
    │ │  │ │  │ │                    │  ││  ││  ││  │   slot walls
    └─┘  └─┘  └─┘                    └──┘└──┘└──┘└──┘

         3 fins                          4 slots

Battery drops in → slots interleave over fins:

              ┌──┐     ┌──┐
              │  │┌─┐  │  │┌─┐
              │  ││ │  │  ││ │
              │● ││█│  │● ││█│  ← pin meets pad
              │  ││ │  │  ││ │     inside ~4mm gap
              │  │└─┘  │  │└─┘     finger can't reach
              └──┘     └──┘

Design parameters

Parameter Value Why
Fin thickness 3–4 mm Structural, holds the copper pad
Gap between fin and slot wall 3–4 mm Way under 12mm → finger-proof [gt-engineering](https://www.gt-engineering.it/en/insights/electrical-hazard-and-arc-flash-mitigation/protection-from-direct-contacts-ipxxb-or-ip2x/)
Fin height 12–15 mm Enough engagement depth for stable contact
Contact point depth 8–10 mm down from top of fin Even a child's finger (test probe is 12mm Ø) can't reach
Number of fins 3 (frame side) Gives 4 contact channels: V+, V−, signal, signal
Fin keying Center fin is wider/offset Prevents wrong orientation

Why this is perfect for your design

  • Vertical drop-in: battery falls straight down, slots slide over fins naturally with gravity.
  • Self-centering: the interleave guides the battery into exact alignment during the last 15mm.
  • Finger-proof by geometry: 3–4mm slot gap is physically impossible to stick a finger into. Meets IP2X without any extra covers or caps. [ledphotometer](https://www.ledphotometer.com/blogs/ip-code-finger-safety-testing/)
  • Rattle-free: tight fin-slot fit + ball spring detent = zero play.
  • No magnets needed: gravity + ball spring is enough.

Off-the-shelf or custom?

Werner Wirth (German company, supplies Bosch/Shimano tier) makes exactly this kind of interleaved blade battery connector for ebikes — IP67 rated, up to 30A power pins, finger-safe, keyed. Their modular system lets you pick pin count and current rating. Alternatively, you 3D-print the fin/slot housings yourself and press-fit standard pogo pins or blade contacts into the walls. [wernerwirth](https://wernerwirth.com/en/connector-solutions/e-bike-connectors/)

Want me to model the interleaved fin connector as a SCAD piece — both the frame-side fins and the battery-side slots?

@eonist
Copy link
Author

eonist commented Mar 13, 2026

There are two solid ready-made options that match your blade-interleave, finger-proof concept:

Amphenol DuraEV™

This is the closest match to what you described. It's purpose-built for battery packs:amphenol+1

  • 2 power + 4/6 signal pins in a blade-style housing with IP2X finger protection on both halves when unmated.

  • First-mate-last-break (FMLB) — ground connects before power, power disconnects before ground. Safety by design.

  • IP67 rated mated and unmated (with cap).

  • Up to 70A continuous, 10,000 mating cycles.

  • Keyed, CPA locking, compact.

  • Buyable on Mouser Norway as single units.[no.mouser]

Anderson SB50

The original blade-interleave battery connector, since 1953:mariner-sails+1

  • Genderless — both halves are identical, flip one 180° to mate.

  • Contacts sit deep inside parallel plastic blades — finger-proof by geometry.

  • Stainless steel springs retain contacts, extremely low resistance.

  • Up to 50A UL-rated (120A peak), 600V.

  • Colour-coded mechanical keying prevents cross-mating.

  • ~$5–10 per pair, available everywhere (Amazon, 12VoltPlanet, eBay, Biltema).

Which for Omera

  | DuraEV™ | Anderson SB50 -- | -- | -- Power pins | 2 (70A) | 2 (50A) Signal pins | 4–6 built in | None (power only) Finger-proof | ✅ IP2X both sides | ✅ by geometry Keyed | ✅ | ✅ colour-coded Price per pair | ~$15–25 | ~$5–10 Signal for BMS/temp | ✅ included | ❌ need separate connector Availability | Mouser (ships to Oslo) | Everywhere

DuraEV™ is the better fit — it has power + signal in one block, so you don't need a second connector for BMS comms and temp sensing. One connector does everything. Mount the socket half at the downtube floor, put the plug half on your scaffold bottom plate, and you're done.futureelectronics+1

The Anderson SB50 works too if you only need power and run signal wires separately — it's cheaper and more available, but means two connectors instead of one.

There are two solid ready-made options that match your blade-interleave, finger-proof concept:

Amphenol DuraEV™

This is the closest match to what you described. It's purpose-built for battery packs: amphenol

  • 2 power + 4/6 signal pins in a blade-style housing with IP2X finger protection on both halves when unmated.
  • First-mate-last-break (FMLB) — ground connects before power, power disconnects before ground. Safety by design.
  • IP67 rated mated and unmated (with cap).
  • Up to 70A continuous, 10,000 mating cycles.
  • Keyed, CPA locking, compact.
  • Buyable on Mouser Norway as single units. [no.mouser](https://no.mouser.com/new/amphenol/amphenol-fci-duraev-battery-connectors/)

Anderson SB50

The original blade-interleave battery connector, since 1953: mariner-sails

  • Genderless — both halves are identical, flip one 180° to mate.
  • Contacts sit deep inside parallel plastic blades — finger-proof by geometry.
  • Stainless steel springs retain contacts, extremely low resistance.
  • Up to 50A UL-rated (120A peak), 600V.
  • Colour-coded mechanical keying prevents cross-mating.
  • ~$5–10 per pair, available everywhere (Amazon, 12VoltPlanet, eBay, Biltema).

Which for Omera

DuraEV™ Anderson SB50
Power pins 2 (70A) 2 (50A)
Signal pins 4–6 built in None (power only)
Finger-proof ✅ IP2X both sides ✅ by geometry
Keyed ✅ colour-coded
Price per pair ~$15–25 ~$5–10
Signal for BMS/temp ✅ included ❌ need separate connector
Availability Mouser (ships to Oslo) Everywhere

DuraEV™ is the better fit — it has power + signal in one block, so you don't need a second connector for BMS comms and temp sensing. One connector does everything. Mount the socket half at the downtube floor, put the plug half on your scaffold bottom plate, and you're done. futureelectronics

The Anderson SB50 works too if you only need power and run signal wires separately — it's cheaper and more available, but means two connectors instead of one.

@eonist
Copy link
Author

eonist commented Mar 13, 2026

Critical point. When the battery is out charging in your apartment, the downtube is open at the top and the connector at the bottom is exposed to rain. It needs to survive that unmated and uncapped — because you won't always remember to plug a dust cap in.

This actually changes the recommendation:

The Problem with DuraEV / Anderson

Both achieve IP67 only when mated or with a protective cap. Frame-side socket exposed to rain with no cap = not rated. Water pools at the downtube floor (lowest point), sits right on the connector pins. That's a corrosion and short-circuit risk over time. futureelectronics

Better Approach: Pogo Pins Are Inherently Weather-Proof

This is where pogo pins actually win over blade connectors for your use case:

The Real Solution: Fin Block + Pogo Pins + Drain

Design the frame-side fin block with:

  • Pogo pins recessed 10 mm deep between fins (finger-proof + splash-proof).
  • Open bottom / drain slots in the fin block so any water that enters runs straight out, never pools.
  • Conformal coating (silicone spray) on the PCB/wiring behind the pins — cheap insurance.
  • The downtube itself should have a drain hole at the very bottom (1–2 mm) so water that enters from the top opening exits and doesn't sit on the connector.

What to Buy

Go back to the custom pogo pin block approach, but with off-the-shelf pins:

  • High-current pogo pins (3 mm barrel, 10A rated, gold-plated): ~$1–2 each from Jiatel or AliExpress. jiatelcn
  • Signal pogo pins (1.5 mm barrel, 2A): ~$0.30 each. aliexpress
  • Press them into a 3D-printed fin housing you design yourself — the fins provide finger safety and weather shielding in one part.
  • Total cost: under $10 for pins + printed housing.

This way there are no cavities, no sockets, no places for water to collect on the frame side. Just gold pins between plastic fins that drain freely. When the battery drops in, the fins interleave and pogo pins compress against pads. When the battery is out charging, rain hits plastic fins and gold pins — nothing to damage.

Want me to source specific pogo pin part numbers from Jiatel or AliExpress that fit your current/signal requirements?

@eonist
Copy link
Author

eonist commented Mar 13, 2026

Spot on. This is a critical design point — the bike lives in Oslo weather, battery goes inside, frame stays out in the rain. The frame-side connector will get wet.

Three layers of protection

1. Fin geometry = self-draining

The interleaved fins are vertical — water doesn't pool, it runs straight down and out the bottom of the DT. No trapped puddles. This is actually better than most horizontal ebike connectors that can collect water.[bedeconnector]

text
Rain enters open DT top ↓ ↓ ↓ ┌─┐ ┌─┐ ┌─┐ │ │ │ │ │ │ ← water runs DOWN │█│ │█│ │█│ the fin surfaces │ │ │ │ │ │ └─┘ └─┘ └─┘ ↓ ↓ ↓ drains out bottom of DT

2. Contact material = corrosion-proof

Gold-plated contacts are standard for outdoor battery connectors — they don't oxidize, corrode, or build resistance even after years of rain exposure. Even if water touches them, nothing happens because:alibaba+1

  • Gold doesn't corrode.

  • 36V DC at open circuit won't arc or short through rainwater across a 3–4mm gap between pins.

  • When battery is removed, there's no voltage on the frame-side pads at all — they're just passive copper/gold surfaces.

3. Optional: drain + dummy cap

For extra Oslo winter protection:

Feature | Purpose -- | -- Drain hole at bottom of DT cavity | Water never sits, always exits [bedeconnector]​ Snap-on dummy cap (like Giant does) | Plastic cover that clips over the fin area when battery is out. Takes 1 second [forums.electricbikereview]​ Dielectric grease on contacts | Thin coating repels moisture, doesn't affect conductivity [alibaba]​

What this means for the design

The frame-side fin connector needs:

  • Housing: glass-filled nylon or PETG — UV and water resistant.

  • Contact pads: gold-plated phosphor bronze — welded/soldered to wires, rain-proof by material.

  • Open bottom: fins don't sit in a closed box — the bottom is open so water drains through.

  • No electronics: frame side is 100% passive — just metal pads on plastic fins. Nothing to break, nothing to short.

The battery side is always dry (it's inside with you when charging), so standard pogo pins + PCB are fine there.

Want me to model the full interleaved fin connector now — both the frame-side fin piece and the battery-side slot piece?

Spot on. This is a critical design point — the bike lives in Oslo weather, battery goes inside, frame stays out in the rain. The frame-side connector **will get wet**.

Three layers of protection

1. Fin geometry = self-draining

The interleaved fins are vertical — water doesn't pool, it runs straight down and out the bottom of the DT. No trapped puddles. This is actually better than most horizontal ebike connectors that can collect water. [bedeconnector](https://www.bedeconnector.com/news/guide-to-waterproofing-xt60-connectors-for-outdoor-safety-284496.html)

Rain enters open DT top
        ↓ ↓ ↓
    ┌─┐  ┌─┐  ┌─┐
    │ │  │ │  │ │   ← water runs DOWN
    │█│  │█│  │█│     the fin surfaces
    │ │  │ │  │ │
    └─┘  └─┘  └─┘
        ↓ ↓ ↓
    drains out bottom of DT

2. Contact material = corrosion-proof

Gold-plated contacts are standard for outdoor battery connectors — they don't oxidize, corrode, or build resistance even after years of rain exposure. Even if water touches them, nothing happens because: alibaba

  • Gold doesn't corrode.
  • 36V DC at open circuit won't arc or short through rainwater across a 3–4mm gap between pins.
  • When battery is removed, there's no voltage on the frame-side pads at all — they're just passive copper/gold surfaces.

3. Optional: drain + dummy cap

For extra Oslo winter protection:

Feature Purpose
Drain hole at bottom of DT cavity Water never sits, always exits [bedeconnector](https://www.bedeconnector.com/news/guide-to-waterproofing-xt60-connectors-for-outdoor-safety-284496.html)
Snap-on dummy cap (like Giant does) Plastic cover that clips over the fin area when battery is out. Takes 1 second [forums.electricbikereview](https://forums.electricbikereview.com/threads/is-there-a-cover-for-the-battery-connections-when-battery-is-not-installed.29335/)
Dielectric grease on contacts Thin coating repels moisture, doesn't affect conductivity [alibaba](https://www.alibaba.com/supplier/waterproof-battery-connector.html)

What this means for the design

The frame-side fin connector needs:

  • Housing: glass-filled nylon or PETG — UV and water resistant.
  • Contact pads: gold-plated phosphor bronze — welded/soldered to wires, rain-proof by material.
  • Open bottom: fins don't sit in a closed box — the bottom is open so water drains through.
  • No electronics: frame side is 100% passive — just metal pads on plastic fins. Nothing to break, nothing to short.

The battery side is always dry (it's inside with you when charging), so standard pogo pins + PCB are fine there.

Want me to model the full interleaved fin connector now — both the frame-side fin piece and the battery-side slot piece?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment