

RaspberryPi UPS HAT
RaspberryPi UPS HAT
- Size
- 65 × 56 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 63
- Nets
- 32
- Pads
- 200
- Tracks, vias
- 478, 110
- Pours
- 3
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 29 Nov 2021
- Updated
- 20 Dec 2021
Overview
RaspberryPi UPS HAT is an open-source printed circuit board by gvoigtlaender, from the gvoigtlaender/RaspberryPi_UPS_HAT repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 65 × 56 mm with 63 parts on 32 nets, routed with 478 tracks and 110 vias.
It is built around the ATTINY841-SSU, DS18B20 and MT3608, with the AMS1117-3.3, TP4054 and AO3401A among its other parts. Its parts include 15 resistors, 12 capacitors, 6 connectors, 5 ICs and 5 diodes. It belongs with the power boards and the AVR (ATmega, ATtiny) boards of this library.
Main components
7ATTINY841-SSU
SOIC-14-40℃~+85℃ 1.7V~5.5V 10bit 12 16MHz 512Byte 512Byte 8 Bit 8KB AVR Built-in FLASH SOIC-14 Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)DS18B20
TO-92-55℃~+125℃ 12bit 3V~5.5V 750ms Single-bus ±0.4℃ TO-92 Temperature Sensors ROHSUMWTemperature SensorsMT3608
SOT-23-6-40℃~+85℃ 1 1.2MHz 100uA、1.6mA 2A 2V~24V Adjustable Boost Boost Built-in No SOT-23-6 DC-DC Converters ROHS西安航天民芯DC-DC ConvertersAMS1117-3.3
SOT-223-40℃~+125℃ 0.003%Vout 1 1.1V@(800mA) 15V 1A 3.3V 5mA 72dB@(120Hz) Fixed Over Current Protection、Short Circuit Protection、Thermal shutdown Positive SOT-223 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSAdvanced Monolithic SystemsVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsTP4054
SOT-23-5L-40℃~+85℃ 1 25uA 4.2V 4.2V~6.5V 500mA Charging IC Lithium Battery Not supported 恒流充电、恒压充电、涓流充电、自动再充电、充电终止、可编程充电电流、软启动、欠压锁定 SOT-23-5L Battery Management ROHSUMWBattery ManagementAO3401A
SOT-231 P-Channel 14nC@10V 30V 47mΩ@10V、60mΩ@4.5V、85mΩ@2.5V 4A 55pF 645pF 80pF 900mV SOT-23 MOSFETs ROHSAlpha & Omega SemiconductorMOSFETsBC846
SOT-23-65℃~+150℃ 1 NPN 100mA 110 15nA 250mW 400mV 65V 6V 770MHz NPN SOT-23 Bipolar (BJT) ROHSNexperiaBipolar (BJT)
README
README.mdRaspberryPi_UPS_HAT
RaspberryPi UPS HAT, LIPO, Fan Control, I2C
Project goals:
- provide backup battery (LiPo 3.7V) with I2C status interface
- small footprint to integrate into given RaspberrryPi case (LABISTS Starter Kit)
- integrated fan control (temperature based)
- onboard programmer interface (ISP)
- I2C based RPI ups service for Battery supervision, logging and shutdown (systemd, python3, smbus)
Used items:
- Attiny 841 CPU
- LTC4054 LiPo Charger
- MT3606 Step-Up (LiPo > 5V)
- MIC5219 LDO (5V > 3.3V)
- USB Type-C connector
- resistors, capacitory (SMD 0805)
Schematic:
PCB:


Parts
63| Qty | Value | Footprint | References |
|---|---|---|---|
| 5 | 10k | Resistor_SMD:R_0805_2012Metric | R4, R5, R12, R13, R14 |
| 4 | kicad_parts:RPi_Hat_Mounting_Hole | , , , | |
| 4 | 100k | Resistor_SMD:R_0805_2012Metric | R6, R7, R9, R10 |
| 4 | 1N5819 | Diode_SMD:D_SMA | D1, D2, D3, D5 |
| 4 | 22uF | Capacitor_SMD:C_0805_2012Metric | C3, C4, C5, C6 |
| 3 | 100nF | Capacitor_SMD:C_0805_2012Metric | C7, C10, C11 |
| 3 | 1uF | Capacitor_SMD:C_0805_2012Metric | C2, C8, C9 |
| 3 | AO3401A | Package_TO_SOT_SMD:SOT-23 | Q3, Q4, Q5 |
| 2 | 5.1k | Resistor_SMD:R_0805_2012Metric | R3, R8 |
| 2 | BC846 | Package_TO_SOT_SMD:SOT-23 | Q1, Q2 |
| 1 | 100uF | Capacitor_SMD:CP_Elec_6.3x5.9 | C12 |
| 1 | 14k | Resistor_SMD:R_0805_2012Metric | R11 |
| 1 | 22k | Resistor_SMD:R_0805_2012Metric | R1 |
| 1 | 33k | Resistor_SMD:R_0805_2012Metric | R2 |
| 1 | 3V3 | TestPoint:TestPoint_THTPad_D1.0mm_Drill0.5mm | TP4 |
| 1 | 470pF | Capacitor_SMD:C_0805_2012Metric | C1 |
| 1 | 4k7 | Resistor_SMD:R_0805_2012Metric | R15 |
| 1 | 6.8uH | Inductor_SMD:L_6.3x6.3_H3 | L1 |
| 1 | AMS1117-3.3 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U1 |
| 1 | ATtiny841-SSU | Package_SO:SOIC-14_3.9x8.7mm_P1.27mm | U2 |
| 1 | BAT | kicad_parts:JST-PH-2-SMT-RA | J3 |
| 1 | BTN | kicad_parts:SW_SPST_SKQG_WithoutStem | SW1 |
| 1 | COM | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Horizontal | J4 |
| 1 | DS18B20 | Package_TO_SOT_THT:TO-92_Inline | U3 |
| 1 | FAN | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Horizontal | J5 |
| 1 | FAN V | Jumper:SolderJumper-3_P1.3mm_Open_RoundedPad1.0x1.5mm | JP1 |
| 1 | Fuse | Fuse:Fuse_1812_4532Metric | F1 |
| 1 | GND | TestPoint:TestPoint_THTPad_D1.0mm_Drill0.5mm | TP3 |
| 1 | ISP | Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_Vertical | J1 |
| 1 | LED | Diode_SMD:D_0805_2012Metric | D4 |
| 1 | MT3608 | Package_TO_SOT_SMD:SOT-23-6_Handsoldering | U4 |
| 1 | RST | kicad_parts:SW_SPST_SKQG_WithoutStem | SW2 |
| 1 | Raspberry_Pi_2_3 | RaspberryPi_UPS_HAT:PinSocket_2x20_P2.54mm_Vertical_RPI | J2 |
| 1 | SIN | TestPoint:TestPoint_THTPad_D1.0mm_Drill0.5mm | TP1 |
| 1 | SOUT | TestPoint:TestPoint_THTPad_D1.0mm_Drill0.5mm | TP2 |
| 1 | TP4054 | Package_TO_SOT_SMD:SOT-23-5 | U5 |
| 1 | USB4125-GF-A_REVA | kicad_parts:GCT_USB4125-GF-A_REVA | J6 |
The 61 most common of 63 parts.
Similar boards
- 2 layers151 × 118 mm

- 2 layers88.9 × 61.6 mm

- 2 layers71.2 × 78.4 mm

- 4 layers90 × 94 mm

- 6 layers165 × 99.5 mm

- 2 layers67 × 96 mm

- 2 layers112.9 × 49.1 mm

- 2 layers100 × 50 mm

Wiscale
makerspacelt/wiscale-hw
This is ESP8266 (ESP-12F) and HX711 based weight monitoring device.
118 parts
Questions
How big is the RaspberryPi UPS HAT PCB?
It measures 65 × 56 mm and has 2 copper layers, 1.6 mm thick.
What parts does the RaspberryPi UPS HAT use?
63 parts, built around the ATTINY841-SSU, DS18B20, MT3608 and AMS1117-3.3. 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 RaspberryPi UPS HAT KiCad files?
From the gvoigtlaender/RaspberryPi_UPS_HAT repository on GitHub, at the commit this page was made from: the board is hw/RaspberryPi_UPS_HAT.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the RaspberryPi UPS HAT 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).