Bluegrass
agrif·bluegrass·hardware/stm32-battery.kicad_pcb
About the Bluegrass PCB
Bluegrass is an open source STM32 PCB design by agrif, published on GitHub under the CC-BY-SA-4.0 license. It is a 4-layer board measuring 61 × 88.9 mm, with 107 components from 65 distinct parts.
Its main chip is the STM32F103CBT6, from the STM32 family. Other key parts include the SMF05CT1G, USBLC6-2SC6, TPS63020DSJR, BQ24074RGT and MAX17048G+. By type, the board carries 34 resistors, 29 capacitors, 10 test points, 8 connectors, 8 jumpers and 7 ICs.
It belongs with the power & battery designs in this gallery.
From the project
an STM32 board with on-board battery charging
This is an STM32 board (a la "Blue Pill") with built-in circuitry to charge a single-cell lithium battery, over USB or DC input. It provides 5V and 3.3V both at 1A, low standby current, battery fuel gauging, and supports charging from a solar panel.
Main components on the Bluegrass
Bluegrass bill of materials (BOM)
107 components, 65 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | STM32F103CBT6 | LQFP-48_7x7mm_P0.5mm | U1 |
| 1 | SMF05CT1G | SOT-363_SC-70-6 | U2 |
| 1 | USBLC6-2SC6 | SOT-23-6 | U3 |
| 2 | TPS63020DSJR | Texas_R-PVSON-N14_ThermalVias | U4, U6 |
| 1 | BQ24074RGT | VQFN-16-1EP_3x3mm_P0.5mm_EP1.6x1.6mm_ThermalVias | U5 |
| 1 | MAX17048G+ | MAX17048-TDFN-8 | U7 |
| 1 | 16MHz | Crystal_SMD_3225-4Pin_3.2x2.5mm | Y1 |
| 1 | 32.768kHz | Crystal_SMD_2012-2Pin_2.0x1.2mm | Y2 |
| 1 | SWD | PinHeader_2x03_P2.54mm_Vertical | J1 |
| 1 | Left | PinHeader_1x22_P2.54mm_Vertical | J2 |
| 1 | Right | PinHeader_1x22_P2.54mm_Vertical | J3 |
| 1 | Stemma I2C | JST_PH_S4B-PH-K_1x04_P2.00mm_Horizontal | J4 |
| 1 | Micro SD | SOFNG-TF-15x15 | J5 |
| 1 | USB-C | USB_C_Receptacle_XKB_U262-16XN-4BVC11 | J6 |
| 1 | DC In | BarrelJack_Horizontal | J7 |
| 1 | BATT | JST_PH_S2B-PH-K_1x02_P2.00mm_Horizontal | J8 |
| 1 | BOOT0 | SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mm | JP1 |
| 1 | ITERM | SolderJumper-3_P1.3mm_Open_RoundedPad1.0x1.5mm | JP2 |
| 1 | TMR | SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mm | JP3 |
| 1 | TS | SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mm | JP4 |
Show 45 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | 1.5A | SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm | JP5 |
| 1 | 1A | SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm | JP6 |
| 1 | 0.5A | SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mm | JP7 |
| 1 | FUEL | SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mm | JP8 |
| 1 | Reset | TS-1187A-B-A-B | SW1 |
| 1 | VBUS | TestPoint_THTPad_D1.0mm_Drill0.5mm | TP1 |
| 1 | +3.3V | TestPoint_THTPad_D1.0mm_Drill0.5mm | TP2 |
| 1 | VDC | TestPoint_THTPad_D1.0mm_Drill0.5mm | TP3 |
| 1 | +4V | TestPoint_THTPad_D1.0mm_Drill0.5mm | TP4 |
| 1 | +3.3V/PG | TestPoint_THTPad_D1.0mm_Drill0.5mm | TP5 |
| 1 | +BATT | TestPoint_THTPad_D1.0mm_Drill0.5mm | TP6 |
| 1 | GND | TestPoint_THTPad_1.0x1.0mm_Drill0.5mm | TP7 |
| 1 | +5V | TestPoint_THTPad_D1.0mm_Drill0.5mm | TP8 |
| 1 | +5V/PG | TestPoint_THTPad_D1.0mm_Drill0.5mm | TP9 |
| 1 | ~{ALRT} | TestPoint_THTPad_D1.0mm_Drill0.5mm | TP10 |
| 1 | USR | LED_0805_2012Metric | D1 |
| 2 | SS54 | D_SMA | D2, D3 |
| 1 | CHG | LED_0805_2012Metric | D4 |
| 1 | PWR | LED_0805_2012Metric | D5 |
| 1 | 600Ω @ 100MHz | L_0805_2012Metric | FB1 |
| 2 | 1µH | SWPA6020S | L1, L2 |
| 1 | 10nF | C_0805_2012Metric | C1 |
| 11 | 100nF | C_0603_1608Metric | C2, C5, C6, C7, C8, C9, C14, C15 +3 |
| 7 | 10µF | C_0805_2012Metric | C3, C18, C19, C20, C25, C26, C27 |
| 2 | 1µF | C_0805_2012Metric | C4, C16 |
| 2 | 10pF | C_0603_1608Metric | C10, C11 |
| 2 | 6pF | C_0603_1608Metric | C12, C13 |
| 2 | 22µF | C_1206_3216Metric | C17, C24 |
| 2 | 4.7µF | C_0805_2012Metric | C22, C23 |
| 10 | 10k | R_0603_1608Metric | R1, R2, R8, R9, R10, R11, R12, R20 +2 |
| 1 | 300 | R_0603_1608Metric | R3 |
| 1 | 0 | R_0603_1608Metric | R4 |
| 2 | 4.7k | R_0603_1608Metric | R5, R6 |
| 2 | 1.5k | R_0603_1608Metric | R7, R16 |
| 1 | 33k | R_0603_1608Metric | R13 |
| 2 | 5.1k | R_0603_1608Metric | R14, R15 |
| 1 | 82k | R_0603_1608Metric | R17 |
| 3 | 1M | R_0603_1608Metric | R18, R19, R32 |
| 2 | 180k | R_0603_1608Metric | R22, R34 |
| 1 | 270 | R_0603_1608Metric | R24 |
| 4 | 1k | R_0603_1608Metric | R25, R28, R29, R30 |
| 1 | 2k | R_0603_1608Metric | R26 |
| 1 | 330 | R_0603_1608Metric | R27 |
| 1 | 1.5M | R_0603_1608Metric | R31 |
| 1 | 100k | R_0603_1608Metric | R33 |
Bluegrass design files
The KiCad project lives in the agrif/bluegrass repository on GitHub; these links point at the commit this page was built from.
Bluegrass: common questions
What microcontroller does the Bluegrass use?
The Bluegrass is built around the STM32F103CBT6, from the STM32 family.
How big is the Bluegrass PCB?
The Bluegrass measures 61 × 88.9 mm, has 4 copper layers and is 1.6116 mm thick.
How many components are on the Bluegrass?
107 components, from 65 distinct parts. The full bill of materials is listed on this page.
Where can I download the Bluegrass design files?
From the agrif/bluegrass repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.
Can I use the Bluegrass design in my own project?
Yes, under the terms of its CC-BY-SA-4.0 license, which agrif chose for the repository.
Can I test firmware for the Bluegrass without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.
Similar boards
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
AxxSolder
AxxAxx
39 × 82.5 mm122 parts2LGPL-3.01.7kSTM32
AIOC
skuep
21 × 31.5 mm47 parts2LMIT1.4kSTM32
Ferris
pierrechevalier83
208.8 × 86.8 mm102 parts2LSHL-2.11.3kSTM32
176 pin board
rusefi
61.8 × 73.2 mm76 parts2LGPL-3.01.2kSTM32
Brain board STM32F407
rusefi
61.8 × 73.2 mm69 parts2LGPL-3.01.2k