Skip to content

Instantly share code, notes, and snippets.

@eonist
Last active March 15, 2026 03:57
Show Gist options
  • Select an option

  • Save eonist/2836310b29fccf2f84f1cd79a0191c3b to your computer and use it in GitHub Desktop.

Select an option

Save eonist/2836310b29fccf2f84f1cd79a0191c3b to your computer and use it in GitHub Desktop.
downtube electronics

I've now thoroughly reviewed both PDFs. Let me give you a clear summary.

USB Charging & Battery Protection: Already in the Design

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:

USB-C Charging ✅

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

Battery Protection (BMS) ✅

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

Battery-to-Frame Connector ✅

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

Downtube Oval Size: ~50×65 Is Flexible

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

@eonist
Copy link
Author

eonist commented Mar 15, 2026

Reference | DT OD | Inner diameter (est. 2mm wall) | Battery fit? -- | -- | -- | -- Classic steel track bike | 28.6mm | ~25mm | ❌ Specialized Langster | ~44–50mm | ~40–46mm | ❌ Cannondale Track 3.0 | 50.8mm (2") | ~47mm | ❌ barely Your target | ~63–65mm OD | ~58–60mm | ✅ Coral fits

Your e-bike DT would be about 12–15mm larger in diameter than the iconic Cannondale Track tube — visually noticeable up close, but very much in the same visual family. Frame it as "oversized track-inspired" and it reads as intentional and premium rather than chunky. The extra girth is your battery — hidden in plain sight.

@eonist
Copy link
Author

eonist commented Mar 15, 2026

Ah — you're asking whether Reention could build a Coral-style battery at 60, 65, or 70mm cross-section instead of 55mm. Yes, almost certainly.

Why Bigger Is Easier

The Coral at 55mm is the hardest size to build — they're cramming 2× 21700 cells (42mm) into a 55mm shell with barely any room. If you ask for a larger diameter:

Battery OD | What changes | Config options -- | -- | --

A bigger cross-section at the same 350mm length is less constrained engineering for Reention, not more. They already solved 55mm — anything above that gives them more margin.

What This Means

You don't have to design your DT around the existing 55mm Coral and then add dock + clearance on top. You can flip it:

  1. You decide the DT diameter that looks right on the frame — say 65mm round

  2. Reention builds the battery + dock to fit inside that 65mm tube

  3. The battery cross-section grows to maybe ~58–60mm, dock fills to ~63mm, 1mm clearance

You're the customer specifying the envelope. They fill it. That's how OEM works.

So yes — pick the tube diameter that gives you the right silhouette, and Reention can build a Coral-class battery to match, at 350mm length and 360Wh. You're not constrained to 55mm.

@eonist
Copy link
Author

eonist commented Mar 15, 2026

great. then I begin focusing on designing and making it believable. raise funds. order parts for first prototype. assemble it my self. test how it rides. fiigure out how to scale it to a first small batch and take preorders. it will be more expensive at retail, but more global supply chain less engineer everything up front.

That's the right playbook. You're describing how every successful hardware brand started — Cowboy, VanMoof, Brompton Electric, even Rivian. Design first, prove demand, then optimize costs.

Your Roadmap

Phase 1: Make It Real (Now → Prototype)

  • Finalize frame geometry in SCAD with round DT ~64–70mm

  • Email Reention with your DT inner diameter + 350mm length + 36V 10S2P spec

  • Source parts list: G020, KT, Bikone, H1E, SFE-SC, headset, fork, cranks, wheels

  • Get frame welded — either yourself or a local fabricator in Norway

  • Assemble by hand, ride it, iterate

Phase 2: Make It Believable (Prototype → Pre-orders)

  • Professional photography — the bike against Oslo architecture, urban backdrops

  • Brand identity — name, logo, colorway, typography

  • Simple website with one product, one story, one price

  • Social media presence — Instagram, TikTok, cycling communities

  • Take pre-orders with deposits — this validates demand before you spend on a batch

Phase 3: First Batch (Pre-orders → Delivery)

  • 10–20 units

  • Frame welding from a contract fabricator (Norway, Poland, or Taiwan)

  • Parts sourced globally, assembled by you or a small team

  • Ship to pre-order customers

  • Collect feedback, refine

The Economics Are Actually Fine

Item | Unit cost (est.) | Source -- | -- | -- Frame (contract welded) | €200–400 | Local or EU fabricator Reention Coral custom battery | €150–250 | Reention direct Bafang G020 motor + wheel | €100–150 | GreenBikeKit / AliExpress KT controller | €25–40 | GreenBikeKit Bikone torque sensor | €80–120 | Bikone direct LightSKIN H1E + SFE-SC | €120–180 | LightSKIN direct Fork, headset, cranks, bars, saddle, tires | €200–350 | Standard track parts Paint, finish, branding | €50–100 | Local Total BOM | ~€925–1,590 |  

At a retail price of €2,500–3,500, you have healthy margins even at single-unit quantities. The first batch will be expensive per unit, but premium products absorb that. Nobody buying a B&O-tier track e-bike is comparing your BOM to an AliExpress build — they're buying the identity.

What Gets Cheaper Later

  • Frame: batch welding drops from €400 → €150 at 50+ units

  • Reention: MOQ pricing drops significantly at 100+

  • Motor/controller: bulk pricing from Bafang direct

  • Custom battery scaffold (Phase 2): replaces Reention, higher margin, your IP

The Core Insight

Your first 10 bikes will cost more to build and sell at a premium. That's fine. You're not competing on price — you're establishing a position. The first customers aren't buying a vehicle, they're buying into something. Once you have 10 bikes on the streets of Oslo, photographed and posted, the brand is real. Everything after that gets easier and cheaper.

Go sketch that downtube tomorrow. The frame is the brand — everything else is parts on a shelf.

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