Skip to the content
2 layers43.6 × 25.5 mmBikeUSBv2, the printed circuit board in 3D

Charge your Phone off of your Bike while adapting charging power to available power / riding speed.

Size
43.6 × 25.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
63
Nets
40
Pads
174
Tracks, vias
274, 145
Pours
133
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
29 Jan 2024
Updated
30 Aug 2024

Overview

BikeUSBv2 is an open-source printed circuit board by H3wastooshort, from the H3wastooshort/BikeUSBv2 repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 43.6 × 25.5 mm with 63 parts on 40 nets, routed with 274 tracks and 145 vias.

It is built around the ATTINY1616-MN, FUSB302B10MPX and TPS63070RNM, with the HT7550, TL431AIDBZR and CMS04(TE12L,Q,M) among its other parts. Its parts include 14 capacitors, 14 resistors, 9 diodes, 5 ICs and 2 connectors. It belongs with the power boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

12

README

README.md

BikeUSB v2 (WIP)

a rendered animation of the PCB roatating

Ever wanted to charge your phone of your bikes dynamo? This Project does just that, for cheap (ish).

Working Principle

The incoming AC voltage from the dynamo gets rectified by 4 shottky-diodes and buffered in a high-capacity capacitor. Once a sufficient driving speed is reached and the capacitor is charged enough, the ATtiny1616 MCU on the board wakes up.

It measures the frequency of incoming AC voltage, which is corrolated to the driving speed, until it reaches the first threshold. Once the first threshold is reached, it can be assumed that enough power is available to charge the phone at 2.5W. The MCU enables the high efficiency DC/DC-Converter IC to generate 5V at the USB Type C Port. The pull-ups in the FUSB302 IC are set to signal to the attached device that 2.5W (500mA) are available. This prevents constant starting and stopping of the charging process, which is annoying. If the frequency is high enough to reach the 5W or 7.5W thresholds, 5W or 7.5W will be signaled via USB C power delivery.

If the device detects a DC source, it enters configuration mode. In configuration mode, the 2 buttons are used to select which threshold to calibrate. Connecting it back to a bike dynamo, it is now in calibration mode. The MCU will detect the needed speed to generate enough power for the prev. selected power level by connecting a 3W, 6W, or 9W constant power load and driving at a steadily increasing speed. Once the PowerGood signal does not drop out for 5 seconds with the load connected, a sufficient speed has been reached and is saved to EEPROM.

Schematic

the schematic

PCB

a rendered image of the PCB front a rendered image of the PCB back

Parts

63
QtyValueFootprintReferences
61kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR3, R5, R7, R10, R11, R14
54u7Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC2, C3, C8, C10, C13
4100nCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC4, C6, C7, C11
4CMS04(TE12L,Q,M)Diode_SMD:D_SOD-128D5, D6, D7, D8
322uCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC1, C9, C12
21TS002E-2500-2501-CTButton_Switch_SMD:SW_SPST_CK_RS282G05A3SW1, SW2
227kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1, R4
23kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2, R9
24k7Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR12, R13
1100nCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC5
1130kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR6
124kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR8
12SB772SQPackage_TO_SOT_SMD:SOT-89-3_HandsolderingQ1
14700µFCapacitor_THT:CP_Radial_D8.0mm_P5.00mmC14
15VTestPoint:TestPoint_Pad_D2.5mmTP2
176°CH3_Other:SETfuse X-SeriesF1
1ATtiny1616-MPackage_DFN_QFN:VQFN-20-1EP_3x3mm_P0.4mm_EP1.7x1.7mmU2
1CC1TestPoint:TestPoint_Pad_D1.5mmTP6
1CC2TestPoint:TestPoint_Pad_D1.5mmTP7
1ENTestPoint:TestPoint_Pad_D1.0mmTP1
1FUSB302B10MPXPackage_DFN_QFN:WQFN-14-1EP_2.5x2.5mm_P0.5mm_EP1.45x1.45mmU3
1GNDTestPoint:TestPoint_Pad_D2.5mmTP3
1HT7550Package_TO_SOT_SMD:SOT-23_HandsolderingU4
1JST S2B-EH(LF)(SN)Connector_JST:JST_EH_S2B-EH_1x02_P2.50mm_HorizontalJ2
1PCBcatH3_Other:PCBcatCAT**
1PROGTestPoint:TestPoint_Pad_D2.5mmTP4
1RXTestPoint:TestPoint_Pad_D2.5mmTP10
1SCLTestPoint:TestPoint_Pad_D1.5mmTP9
1SDATestPoint:TestPoint_Pad_D1.5mmTP8
1SolderJumper_2_BridgedJumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mmJP1
1TL431AIDBZRPackage_TO_SOT_SMD:SOT-23_HandsolderingU5
1TPS63070e2k_edit:VQFN-HR-15_L3.0-W2.5-P0.50-BL_TPS63070RNMRU1
1TXTestPoint:TestPoint_Pad_D2.5mmTP5
1TYPE-C-31-M-16easyeda2kicad:TYPE-C-SMD_TYPE-C-31-M-16J1
1XL-2012SURCLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD4
1XL-2012UBCLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD3
1XL-2012UGCLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD2
1XL-2012UOCLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD1
1YPRH0704-1R0MInductor_SMD:L_7.3x7.3_H4.5L1
1~Diode_SMD:D_PowerDI-123D10

The 61 most common of 63 parts.

Similar boards

  • 4 layers51.2 × 51.2 mmThe extender, the printed circuit board in 3D

    The extender

    H3wastooshort/the_extender

    it extends your phones storage, battery life, and audio interfaces

    123 parts2GPL-3.0
  • 6 layers34.7 × 43 mmMitsubishiSC, the printed circuit board in 3D

    MitsubishiSC

    loozhengyuan/MitsubishiSC

    Smart controller for Mitsubishi Electric HVAC systems.

    66 partsMIT
  • 2 layers30.5 × 27 mmSmart Lamps, the printed circuit board in 3D

    Smart Lamps

    grepson/smart-lamps-pcb

    A smart lamp pcb that is designed to run little chain of WS LED's with Li-Ion battery support

    31 parts1
  • 4 layers40.6 × 49.3 mmLedkiv3 1, the printed circuit board in 3D

    Ledkiv3 1

    JamPsym/letki

    A new schematic simplification is in progress. See the next-iteration note for the checked 33 Ω candidate. This directory and its frozen exports still represent the previous 34 Ω circuit; the candidate has no…

    164 parts
  • 4 layers102 × 52 mmVape MK16, the printed circuit board in 3D

    Vape MK16

    SirBramble/Vape-MK16

    104 parts
  • 6 layers50 × 33 mmCastleBox Pro, the printed circuit board in 3D

    CastleBox Pro

    zeankundev/boards

    A collection and an archive of KiCad projects I made. Contains projects from 2023 - 2024.

    86 parts1

Questions

How big is the BikeUSBv2 PCB?

It measures 43.6 × 25.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the BikeUSBv2 use?

63 parts, built around the ATTINY1616-MN, FUSB302B10MPX, TPS63070RNM and HT7550. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the BikeUSBv2 KiCad files?

From the H3wastooshort/BikeUSBv2 repository on GitHub, at the commit this page was made from: the board is hardware/BikeUSBv2.kicad_pcb and its schematic hardware/BikeUSBv2.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the BikeUSBv2 design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).