Skip to the content
2 layers74.3 × 52.8 mmBq3060, the printed circuit board in 3D

Open source Thinkpad T420 battery design

Size
74.3 × 52.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
70
Nets
57
Pads
204
Tracks, vias
606, 41
Pours
14
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
27 Aug 2020
Updated
14 May 2022

Overview

Bq3060 is an open-source printed circuit board by iam4722202468, from the iam4722202468/ThinkpadBattery repository on GitHub, published under the MIT licence. It is a 2-layer board of 74.3 × 52.8 mm with 70 parts on 57 nets, routed with 606 tracks and 41 vias.

It is built around the BQ29412DCT, BQ3060PW and MBR0560-TP, with the SI4435DYTRPBF, SI1023X and NDS351AN among its other parts. Its parts include 30 resistors, 22 capacitors, 6 transistors, 5 connectors and 3 diodes. It belongs with the power boards of this library.

Main components

6

README

README.md

ThinkpadBattery

Open source Thinkpad battery design

What is this?

This is a fully open source laptop battery design. The design uses an attiny85, which can reply to the T420 motherboard's SMBUS requests.

Setup

Configurable Constants

  • BATTERY_CAPACITY | Your battery capacity in mAH
  • V_HIGH | The highest output voltage of your battery, normally 12.6v
  • V_LOW | The cutoff for when the battery will stop working, normally around 10.8v

Creating your own

Parts Needed

  • Arduino Uno/Mega (for programming the attiny85, Mega needs different pin assignment)
  • 12v Lithium-Ion battery pack
  • 3S Lithium-Ion BMS (it might be possible to use the existing bms if specification is available but communication needs to be implemented)
  • Components from schematic
  • PCB from schematic

Once you have all these parts, assemble the pcb and attach a BMS to your battery pack. Solder the 12v battery output/input to the large pads on the pcb, then program the attiny85 with the included ino file. The output pins at the bottom of the PCB are a 1-1 mapping of the motherboard pin input.

Debugging

  • The laptop won't supply power to the board unless it detects there's a battery attached, meaning if you plug the board in to the battery without having an external battery to power it, it won't work.

Libraries

Use the ATTinyCore for compiling. Without it, Wire.h won't work.

Limitations

Voltage Reading / Remaining battery

Currently remaining battery %'s aren't exact because I'm assuming there is a linear coorelation between voltage and capacity (Which is wrong). This is probably fixable using a battery gas gauge, I'll have to investiage more.

MCU Power Consumption

By design, the MCU will always be on as long as a battery is connected to it. This can cause the battery to slowly run out of power if it isn't connected to a laptop. A potential fix could be to implement a low power mode for the attiny, or have a seperate disconnect switch for the battery power on the battery pack itself.

3D Printable Case for T420 only

The case for the cells has been completed. The case model and stl files are included in /model

Future Plans

iam4722202468 - Design and manufacture a PCB with current,voltage and battery capacity measuring capabilities, an easily programmable microcontroller, and a 3s balanced charger

pj1976 - Find a bms that would fit, or try to talk with bq29312pw that was in the original pack

Credits

iam4722202468 - Initial work, T420 9 cell model

pj1976 - Added support for R50

Parts

70
QtyValueFootprintReferences
160.1uFCapacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolderC1, C2, C3, C4, C5, C6, C7, C8, C10, C12, C13, C14, C15, C16, C18, C19
91kResistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolderR1, R2, R3, R4, R5, R6, R7, R8, R9
4100Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolderR15, R16, R29, R31
4100 2WResistor_SMD:R_2512_6332Metric_Pad1.52x3.35mm_HandSolderR10, R11, R12, R13
31.0uFCapacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolderC11, C17, C20
35.1KResistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolderR21, R22, R24
3MBR0560-TPDiode_SMD:D_SOD-123D1, D2, D3
3SI4435DYTRPBFPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmQ4, Q5, Q6
2100pFCapacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolderC21, C22
210kResistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolderRT1, RT2
2200Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolderR27, R28
2220KResistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolderR17, R19
23MResistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolderR20, R25
2Conn_01x03_MaleConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ2, J3
2Si1023xPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmQ1, Q2
10.005 75ppmResistor_SMD:R_2512_6332Metric_Pad1.52x3.35mm_HandSolderR14
10.22uFCapacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolderC9
11KResistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolderR30
11MResistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolderR18
1301 1WResistor_SMD:R_2512_6332Metric_Pad1.52x3.35mm_HandSolderR23
1BQ29412DCTfootprints:SN74LVC2G241_DCT_8U1
1BQ3060PWPackage_SO:TSSOP-24_4.4x7.8mm_P0.65mmU2
1Conn_01x02_MaleConnector_Wire:SolderWirePad_1x02_P7.62mm_Drill2mmJ5
1Conn_01x03_MaleConnector_Wire:SolderWirePad_1x03_P5.715mm_Drill2mmJ4
1Conn_01x04_MaleConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_HorizontalJ1
1NDS351ANPackage_TO_SOT_SMD:SOT-23Q3

More from iam4722202468/ThinkpadBattery

1
  • 2 layers17.8 × 26 mmBattery, the printed circuit board in 3D

    Battery

    iam4722202468/ThinkpadBattery

    Open source Thinkpad T420 battery design

    10 parts304MIT

Similar boards

  • 2 layers120.1 × 58.9 mmRte, the printed circuit board in 3D

    Rte

    3mdeb/rte-schematics

    Remote Test Evironment (RTE) sechematics.

    77 parts8
  • 2 layers104 × 57.9 mmRte rpi, the printed circuit board in 3D

    Rte rpi

    3mdeb/RTE-for-RPI-Schematics

    Schematics for the RTE for RPI board

    44 parts1
  • 2 layers61.8 × 73.2 mmBrain board STM32F407, the printed circuit board in 3D

    Brain board STM32F407

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    70 parts1.2k
  • 2 layers47.3 × 52.8 mmFinalv1, the printed circuit board in 3D

    Finalv1

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    70 parts915
  • 2 layers141 × 88 mmErgoSNM Keyboard Right Prototype 1, the printed circuit board in 3D

    ErgoSNM Keyboard Right Prototype 1

    siderakb/ergo-snm-keyboard

    ErgoSNM is a split ergonomic keyboard integrated with trackball, wireless is in beta

    70 parts172CERN-OHL-P-2.0
  • 2 layers90 × 100 mmAlu, the printed circuit board in 3D

    Alu

    imihajlow/ccpu

    A 8-bit computer made of 74xx series logic gates and memory ICs.

    70 parts145
  • 2 layers90 × 140 mmDrumkid, the printed circuit board in 3D

    Drumkid

    mattybrad/drumkid

    Version 4 was the first successful working design, with full code, schematics, Gerbers, etc available on GitHub.

    70 parts137

Questions

How big is the Bq3060 PCB?

It measures 74.3 × 52.8 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Bq3060 use?

70 parts, built around the BQ29412DCT, BQ3060PW, MBR0560-TP and SI4435DYTRPBF. 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 Bq3060 KiCad files?

From the iam4722202468/ThinkpadBattery repository on GitHub, at the commit this page was made from: the board is KiCad/bq3060/bq3060.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Bq3060 design in my own project?

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