Skip to the content
PCBKitNew board
2 layers16 × 45.7 mmPowerboard v1, the printed circuit board in 3D

Tree Sentinel powerboard: standalone TPS62842 3.3 V buck module for 4xAA NiMH, breadboard format (KiCad 10)

Size
16 × 45.7 mm
Copper layers
2
Thickness
1.6 mm
Parts
25
Nets
14
Pads
63
Tracks, vias
70, 16
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
6 Oct 2026
Updated
7 Oct 2026

Overview

Powerboard v1 is an open-source printed circuit board by blurbler2, from the blurbler2/powerboard repository on GitHub. It is a 2-layer board of 16 × 45.7 mm with 25 parts on 14 nets, routed with 70 tracks and 16 vias.

It is built around the TPS62842DGRR, AO3400A and AO3401A, with the OS102011MA1QN1 and SS14 among its other parts. Its parts include 6 capacitors, 5 resistors, 3 connectors, 2 transistors and 1 IC. It belongs with the power boards of this library.

Main components

5

README

README.md

Powerboard v1

A small 3.3 V supply module for battery-powered microcontroller projects: 4x AA NiMH in, regulated 3.3 V out, with an ultra-low quiescent current buck converter (TI TPS62842, 60 nA Iq), a switchable battery-voltage divider for an MCU ADC, a jumper for current measurement and test points. Breadboard format with two 1x04 pin headers 12.7 mm apart, like olmBoard (which uses the TPS62840 from the same family).

Powerboard v1

Input4x AA NiMH, 4.8 ... 5.6 V (converter accepts 1.8 ... 6.5 V)
Output3.3 V (set by R7 = 52.3 kΩ 1 %)
Output currentup to 750 mA (converter limit); F1 holds 500 mA from the battery, which is about 600 mA at 3.3 V even with nearly empty cells. SW1 carries no load current (see SW1)
Quiescent currentON: 60 nA (TPS62842) + MOSFET leakage, the battery divider draws nothing while it is off. OFF: converter shut down, 25 nA typ. (datasheet max 300 nA) + leakage
Protection500 mA polyfuse F1, reverse-polarity Schottky diode D1 (SS14)
Board16.0 x 45.72 mm, 2 layers, 1.6 mm, KiCad 10

Board overview

Layout top (left) and bottom (right, mirrored)

Top view, switch at the top edge:

text
     ON <-- SW1 --> OFF  (actuator sticks out over the edge)
   Q1 R3              D1        F1
   R1 Q2                        J1  (battery: + upper pin, - square pad)
   R2 R4   TP1 (+BATT)
   C17     C14 C15 C2
   TP3 (GND)    U1                  TOP
                L1 R7
  J3 ●  GND     C1 C16       +BAT  ● J2
     ●  ADC                   GND  ●
     ●  EN      JP1 [BUCK|3V3] GND  ●
     ●  3V3                   3V3  ●
                       TP2 (+3V3)

Connecting it

Battery (J1)

2-pin socket, 2.54 mm pitch, for the plug of a 4x AA holder.

J1 pinSilkscreenConnect
1square padbattery − (black)
2+battery + (red)

D1 blocks a reversed battery, so a wrong plug does no harm (the board just stays off).

Pin headers J2 / J3

Mounted from the bottom: plastic under the board, long pins down into the breadboard. Pin 1 is on the switch side. The labels are printed next to the pins on both sides of the board.

PinJ3 (left, SIG)J2 (right, PWR)
1GND+BATT (battery after F1 and D1, live even when SW1 is OFF)
2ADC (battery voltage / 2, only while EN is high)GND
3EN (enable battery measurement, 3.3 V logic input)GND
4+3V3+3V3

+3V3 on J2.4 and J3.4 is the same rail, after the current jumper JP1. All GND pins are the same. J3 EN only switches the battery divider; it has nothing to do with SW1.

SW1 on/off switch

SW1 is a C&K OS102011MA1Q, a right-angle (side-actuated) SPDT slide switch, through-hole. The footprint looks big because of its two large oval pads: they are the soldered legs of the metal frame that hold the switch mechanically and carry no signal. The three small pads in the middle are the contacts.

SW1 does not sit in the battery line. It drives the enable pin of the converter (net BUCK_EN):

Slider positionSilkscreenContacts (C&K switch function)Result
leftONmiddle pin to left pin (2-3) → EN = +BATTconverter runs, +3V3 on
rightOFFmiddle pin to right pin (1-2) → EN = GNDconverter shut down (25 nA typ.), +3V3 discharged to 0 V
  • The slide direction comes from the C&K OS series datasheet: position 1 connects pins 1-2, position 2 connects pins 2-3, i.e. the slider always connects the middle pin to the outer pin on its own side. The ON / OFF labels are printed at the matching ends of the switch.
  • Only the enable pin's input current flows through SW1, so its 100 mA contact rating does not limit the output. The load current goes J1 → F1 → D1 → converter.
  • When OFF, the battery stays connected to +BATT (J2.1, TP1) and to the converter input. Take the batteries out (or unplug J1) for long storage; the standby current is far below the self-discharge of NiMH cells anyway.

Microcontroller, e.g. STM32WB Nucleo

PowerboardNucleo
J3.1 GNDGND
J3.2 ADCany ADC input pin (Arduino header A0 ... A5)
J3.3 ENany free GPIO, push-pull output
J3.4 +3V33V3, only if the Nucleo is not powered over USB at the same time

If the Nucleo runs from USB, connect only GND, ADC and EN; never tie two 3.3 V supplies together.

The TPS62842 needs 3 ... 40 µF effective capacitance on its output (datasheet, COUT). C1 gives about 5 µF at 3.3 V; everything the load adds on +3V3 counts too, so keep the load's own capacitance below about 30 µF.

Measuring the battery voltage (EN / ADC)

R1/R2 (100 kΩ / 100 kΩ, 1 %) divide the battery voltage by two. Q1 (AO3401A, P-channel) switches the divider on and off at the battery side, Q2 (AO3400A, N-channel) lets a 3.3 V GPIO drive Q1.

ENStateCurrent
high (3.3 V)Q2 on → Q1 on → divider on, ADC = VBAT / 2≈ 37 µA (28 µA divider, 5.6 µA R3, 3.3 µA R4)
low or openR4 keeps Q2 off, R3 keeps Q1 off → divider off, ADC = 0 VMOSFET leakage only (nA)

One measurement (100 ms at 37 µA) costs about 4 µC, roughly 1 nA on average when measuring once per hour. The divider is off while the MCU is in reset or the pin is floating, so it never drains the battery by accident. While it is off the ADC pin sees 0 V, never more than the MCU supply.

Measurement sequence:

  1. Set EN high.
  2. Wait at least 65 ms (100 ms is comfortable): C17 (150 nF) charges through R1 ∥ R2 = 50 kΩ, τ = 7.5 ms; 8.3 τ settle to 12-bit accuracy.
  3. Read the ADC: V_ADC.
  4. Set EN low (or switch the pin to input / analog).
  5. VBAT = 2 × V_ADC. This is the voltage after D1; the battery itself is about 0.2 ... 0.4 V higher (SS14 forward drop at the actual load).

Example (STM32 HAL, pin names are placeholders):

c
HAL_GPIO_WritePin(MEAS_EN_GPIO_Port, MEAS_EN_Pin, GPIO_PIN_SET);
HAL_Delay(100);                                   /* C17 settling, >= 65 ms */
HAL_ADC_Start(&hadc1);
HAL_ADC_PollForConversion(&hadc1, 10);
uint32_t raw = HAL_ADC_GetValue(&hadc1);
HAL_GPIO_WritePin(MEAS_EN_GPIO_Port, MEAS_EN_Pin, GPIO_PIN_RESET);
float vbat = 2.0f * raw * 3.3f / 4095.0f;         /* 12 bit, VREF = 3.3 V */

Current measurement (JP1)

JP1 is a 2-pin header with a jumper cap between the converter output and the +3V3 rail. It is not a power connector and has no GND pin.

JP1 pinSilkscreenNet
1 (square pad)BUCKconverter output (U1 / L1 / C1)
23V3+3V3 rail (J2.4, J3.4, TP2)

The labels are on the top side, under the two pins.

  • Normal operation: jumper cap on.
  • Measuring: pull the jumper cap and connect the multimeter in current mode: red probe (mA / µA input) on BUCK, black probe (COM) on 3V3. The meter then shows everything drawn from +3V3 through the headers.
  • Start in the mA range: a µA range has a large shunt resistance, so the start-up current of an MCU can drop the voltage too far and reset it. Switch to µA once the MCU sleeps.
  • Not included in this reading: the converter's own 60 nA, the battery divider (only while EN is high) and the MOSFET drive. To measure the total battery current, put the meter in the battery lead.

Test points

SMD pads, 1.5 mm, for probe tips or small clips.

TPNetWhere
TP1+BATT (battery after F1 and D1)below D1, next to Q2
TP2+3V3 (after JP1)bottom edge, right of JP1
TP3GNDleft side, next to C15 / C2

Battery voltage: TP1 against TP3. Output voltage: TP2 against TP3.

Ordering the PCB (JLCPCB)

Upload powerboard-hw/powerboard-v1/fabrication/powerboard-v1-gerbers.zip (Gerbers + Excellon drill).

OptionSetting
Layers2
Dimensions16 x 45.72 mm (detected from the outline)
Material / thicknessFR-4, 1.6 mm
Outer copper1 oz
Surface finishHASL lead-free; ENIG if you want flatter pads for U1
Via coveringTented (the files tent all vias)
Mark on PCB"Specify a location": the order number goes on the JLCJLCJLCJLC text on the bottom
Everything elsedefault

The design stays inside JLCPCB's standard 2-layer capabilities: tracks ≥ 0.25 mm, clearance ≥ 0.2 mm, smallest hole 0.3 mm with a 0.6 mm via pad, copper-to-edge 0.5 mm, silkscreen text 0.8 mm high with 0.15 mm stroke. This is a bare-PCB order; the parts come from bom/powerboard-v1-bom.csv (JLCPCB assembly would additionally need LCSC part numbers).

Assembly and first power-up

Hand-solder footprints throughout, except U1:

  • U1 (TPS62842, HVSSOP-8) has an exposed pad underneath that must be soldered to GND. Use solder paste and hot air or a hot plate. With an iron only, you can feed solder into the pad from the bottom through its two vias, but that is fiddly. Solder U1 first, then the SMD parts, THT parts last.
  • L1 2.2 µH, 1008 (2520) size; C1 10 µF X5R/X7R ≥ 10 V; C2 4.7 µF ≥ 10 V; C14 22 µF ≥ 16 V.
  • J2/J3 from the bottom (plastic under the board), JP1, J1 from the top.

First power-up, without a load:

  1. Check with an ohmmeter: TP1–TP3 and TP2–TP3 are not shorted.
  2. SW1 to OFF (slider right), jumper cap on JP1, batteries in.
  3. TP1–TP3 ≈ battery voltage minus 0.3 V, TP2–TP3 = 0 V.
  4. SW1 to ON (slider left): TP2–TP3 = 3.3 V.
  5. EN to 3.3 V: J3 ADC ≈ half of TP1 within 0.1 s; EN open: ADC = 0 V.

Layout notes

  • Signals on F.Cu, B.Cu is a solid GND plane, GND fill on F.Cu, stitching vias
  • Converter laid out after the TPS62840 datasheet (DGR layout, fig. 63): C2 (4.7 µF) directly on VIN/EN and GND, MODE and pin 8 into the exposed pad with two thermal vias, VOS as a separate sense line to C1 away from the switching node, R7 on the VSET side away from SW
  • Net classes: Default 0.4 mm, Versorgung (supply) 0.6 mm; copper-to-edge 0.5 mm
  • Checks: ERC 0 errors / 0 warnings, DRC 0 violations, 0 unconnected, schematic parity OK

Files

text
powerboard/
├── README.md
├── powerboard-docs/            renders: 3D, top, bottom, layout, schematic
└── powerboard-hw/
    ├── powerboard-lib/         project library: TPS62842DGRR symbol, DGR footprint, STEP model
    └── powerboard-v1/          KiCad 10 project
        ├── powerboard-v1.kicad_pro / .kicad_sch / .kicad_pcb / .kicad_dru
        ├── sym-lib-table, fp-lib-table   (only ${KIPRJMOD}-relative paths)
        ├── schematic/          schematic PDF
        ├── bom/                BOM (CSV, grouped by value and footprint)
        └── fabrication/        Gerbers, Excellon drill, position file, gerber zip

Only the KiCad standard libraries are needed besides this folder.

Regenerating the outputs

From powerboard-hw/powerboard-v1/:

bash
kicad-cli pcb export gerbers -l F.Cu,B.Cu,F.Paste,B.Paste,F.Silkscreen,B.Silkscreen,F.Mask,B.Mask,Edge.Cuts --use-drill-file-origin --subtract-soldermask -o fabrication/gerbers/ powerboard-v1.kicad_pcb
kicad-cli pcb export drill --drill-origin plot --excellon-separate-th --generate-map --map-format gerberx2 -o fabrication/gerbers/ powerboard-v1.kicad_pcb
kicad-cli pcb export pos --side both --format csv --units mm --use-drill-file-origin -o fabrication/powerboard-v1-pos.csv powerboard-v1.kicad_pcb
kicad-cli sch export bom --fields 'Reference,Value,Footprint,${QUANTITY},Datasheet,Description' --labels 'Refs,Value,Footprint,Qty,Datasheet,Description' --group-by 'Value,Footprint' -o bom/powerboard-v1-bom.csv powerboard-v1.kicad_sch
kicad-cli sch export pdf -o schematic/powerboard-v1.pdf powerboard-v1.kicad_sch

Status

v1, not manufactured or tested yet.

Parts

25
QtyValueFootprintReferences
2100kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1, R2
2100nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC15, C16
21MResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR3, R4
1+3V3TestPoint:TestPoint_Pad_D1.5mmTP2
1+BATTTestPoint:TestPoint_Pad_D1.5mmTP1
110µFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1
1150nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC17
12,2µHInductor_SMD:L_1008_2520Metric_Pad1.43x2.20mm_HandSolderL1
122µFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC14
14,7µFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC2
1500mAFuse:Fuse_1206_3216Metric_Pad1.42x1.75mm_HandSolderF1
152,3k 1%Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR7
1AO3400APackage_TO_SOT_SMD:SOT-23Q2
1AO3401APackage_TO_SOT_SMD:SOT-23Q1
1Conn_01x02Connector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_VerticalJ1
1GNDTestPoint:TestPoint_Pad_D1.5mmTP3
1I_MESSConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJP1
1OS102011MA1QButton_Switch_THT:SW_Slide_SPDT_Angled_CK_OS102011MA1QSW1
1PWRConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ2
1SIGConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ3
1SS14Diode_SMD:D_SMAD1
1TPS62842DGRRpowerboard:VSSOP_42DGRR_TEX-LU1

Questions

How big is the Powerboard v1 PCB?

It measures 16 × 45.7 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Powerboard v1 use?

25 parts, built around the TPS62842DGRR, AO3400A, AO3401A and OS102011MA1QN1. 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 Powerboard v1 KiCad files?

From the blurbler2/powerboard repository on GitHub, at the commit this page was made from: the board is powerboard-hw/powerboard-v1/powerboard-v1.kicad_pcb and its schematic powerboard-hw/powerboard-v1/powerboard-v1.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Powerboard v1 design in my own project?

Its repository states no licence, so its author keeps all rights: ask blurbler2 before reusing the design.

Similar boards

  • 4 layersInfiniteRecon, the printed circuit board in 3D

    InfiniteRecon

    Rivercraft911/InfiniteRecon

    A lot coming soon....

    128 parts
  • 4 layers61 × 99 mmPanel, the printed circuit board in 3D

    Panel

    simonyiszk/sem18-pcb

    168 parts
  • 2 layers70 × 45 mmBackpack defender, the printed circuit board in 3D

    Backpack defender

    donaldbell/productspeedrun

    Let's see how quickly we can get a product idea off the ground.

    55 parts
  • 2 layers40 × 50 mmSensor Station, the printed circuit board in 3D

    Sensor Station

    BeeEyeIoT/sensor-station-board

    Complete KiCAD project for a sensor data collection station

    39 parts
  • 6 layers36 × 77.5 mmMariposa, the printed circuit board in 3D

    Mariposa

    coquette-keyboard/pcb-mariposa

    coquette keyboard microcontroller board

    88 partsEUPL-1.2
  • 2 layers40 × 40 mmE track, the printed circuit board in 3D

    E track

    picli3/e-tracker

    E-paper based GPS tracker PCB design using KiCad.

    40 parts
  • 2 layers214 × 174 mmSoundBoxSTM32, the printed circuit board in 3D

    SoundBoxSTM32

    DominikNeugebauer/PCB

    All of my pcb projects i have made so far

    145 parts
  • 2 layers52 × 32 mmSar pager, the printed circuit board in 3D

    Sar pager

    KingCountySAR/iot-beepers

    Bringing back our favorite pager alarms for those late night callouts

    17 parts