

Ups-12v
12V Automatic UPS system
- Size
- 131.8 × 99.9 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 77
- Nets
- 43
- Pads
- 202
- Tracks, vias
- 598, 24
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 27 Jun 2021
- Updated
- 28 Jun 2021
Overview
Ups-12v is an open-source printed circuit board by dilshan, from the dilshan/12v-automatic-ups repository on GitHub, published under the MIT licence. It is a 2-layer board of 131.8 × 99.9 mm with 77 parts on 43 nets, routed with 598 tracks and 24 vias.
It is built around the PIC16F688-E/P, LM2576T-12 and LM7805, with the 7D471K, 6A10 and BC547 among its other parts. Its parts include 17 resistors, 15 capacitors, 14 diodes, 8 connectors and 5 ICs. It belongs with the power boards and the PIC boards of this library.
Main components
9PIC16F688-E/P
PDIP-14-40℃~+125℃ 10bit 12 20MHz 256Byte 256Byte 2V~5.5V 7KB 8 Bit Built-in FLASH PIC PDIP-14 Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)LM2576T-12
TO-220-5-40℃~+125℃@(TJ) 1 10mA 12V 3A 40V 52kHz Buck Buck Built-in Fixed TO-220-5 DC-DC Converters ROHSHGSEMIDC-DC ConvertersLM7805
TO-2630℃~+125℃ 1 1A 20V 2V 42uV 5V 62dB@(120Hz) 8mA Fixed Over Temperature Protection、Short Circuit Protection Positive TO-263 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSYONGYUTAIVoltage Regulators - Linear, Low Drop Out (LDO) Regulators7D471K
插件,P=5mm1.2kA 105pF@1kHz 250mW 300V 30J 385V 470V 775V 插件,P=5mm Varistors ROHSSURGINGVaristors6A10
R-6-55℃~+150℃ 1 Independent 10uA@1kV 1V@6A 1kV 200A 6A R-6 Diodes - General Purpose ROHSMDDDiodes - General PurposeBC547
TO-92Bipolar (BJT)Jiangsu Changjing Electronics Technology (CJ)BC548
TO-92TO-92 Bipolar (BJT) ROHSDDFBipolar (BJT)BD135
TO-126-3-55℃~+150℃ 1 NPN 1.25W 1.5A 100nA 250 45V 500mV 5V NPN TO-126-3 Bipolar (BJT) ROHSJiangsu Changjing Electronics Technology (CJ)Bipolar (BJT)G2RL-2-DC12
DIP,28.8x12.5mm-40℃~+85℃ 100mΩ 12V 15ms 2 Form C: 2C (DPDT-CO) 360Ω 400mW 5ms 8A@250VAC、8A@30VDC Silver Alloy (Cd-Free) DIP,28.8x12.5mm Power Relays ROHSOmronPower Relays
README
README.md12V Uninterruptible Power Supply
This 12V uninterruptible power supply initially designs to drive my fiber optic modem/router. The key reason to build this power supply is to get continuous internet and phone connection during power failures. Core components of this power supply are a constant voltage charger, 12V DC power supply, AC line monitoring unit, and 12V high capacity sealed lead-acid battery. The entire system designs using locally available components.
The charging circuit of this system builds around using the popular LM350 voltage regulator. This regulator calibrates to provide both 14.4V fast charging and 13.6V trickle charging. Based on the condition of the battery, the MCU will determine the appropriate charging mode.
At the online state, the LM2576-12 switching regulator provides 12V output to the driving system. (in my arrangement, a fiber optic router).

The PIC16F688 MCU monitors the AC line and battery to controls the output voltage of the LM350 regulator and the output relay. The firmware of this MCU written using the Microchip XC8 compiler, and all the source code and configuration files are available to download in this project repository.
The sealed 12V lead-acid battery is the most crucial component of this unit. 12V, 9Ah battery is the most recommended for this system. At the time of this writing, this battery cost around Rs. 3500 (US$ 17.60), and I bought it from a local online store.
In online mode, this system provides 12V output. In offline mode, if it has a fully charged battery, it delivers an output of 12.5V.
This uninterruptible power supply is suitable for appliances that need 12V - 13V input with a maximum of 2A current. With the configuration described above, this system continued to power my Huawei HG8245H5 fiber optic router for more than 7 hours.
This power supply unit is an open hardware project. All the schematic, KiCAD PCB design files, firmware source codes, and compiled binaries are available to download in this repository.
Parts
77| Qty | Value | Footprint | References |
|---|---|---|---|
| 5 | 0.1MFD | Capacitor_THT:C_Disc_D10.5mm_W5.0mm_P7.50mm | C4, C5, C8, C9, C10 |
| 3 | 1N4004 | Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal | D1, D4, D12 |
| 3 | 1N4007 | Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal | D10, D13, D14 |
| 3 | 7D471K | Varistor:RV_Disc_D9mm_W4mm_P5mm | RV4, RV5, RV6 |
| 2 | 0.47R | Resistor_THT:R_Axial_Power_L25.0mm_W6.4mm_P27.94mm | R2, R4 |
| 2 | 0R | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R10, R17 |
| 2 | 1000MFD | Capacitor_THT:CP_Radial_D12.5mm_P5.00mm | C7, C15 |
| 2 | 10K | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R9, R16 |
| 2 | 1N5819 | Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal | D2, D5 |
| 2 | 2200MFD | Capacitor_THT:CP_Radial_D16.0mm_P7.50mm | C3, C14 |
| 2 | 4700MFD | Capacitor_THT:CP_Radial_D18.0mm_P7.50mm | C2, C13 |
| 2 | 560R | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R11, R14 |
| 2 | 6A10 | Diode_THT:D_P600_R-6_P20.00mm_Horizontal | D7, D8 |
| 1 | 0.22MFD | Capacitor_THT:C_Disc_D11.0mm_W5.0mm_P10.00mm | C12 |
| 1 | 0R | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P15.24mm_Horizontal | R5 |
| 1 | 100MFD | Capacitor_THT:CP_Radial_D6.3mm_P2.50mm | C6 |
| 1 | 100R | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P15.24mm_Horizontal | R6 |
| 1 | 100uH | Inductor_THT:L_Toroid_Vertical_L13.0mm_W6.5mm_P5.60mm | L1 |
| 1 | 10K | Potentiometer_THT:Potentiometer_Runtron_RM-065_Vertical | RV1 |
| 1 | 10MFD | Capacitor_THT:CP_Radial_D5.0mm_P2.00mm | C1 |
| 1 | 12V-AC-IN | Connector_Molex:Molex_Sabre_43160-0103_1x03_P7.49mm_Vertical | J8 |
| 1 | 15V-AC-IN | Connector_Molex:Molex_Sabre_43160-0103_1x03_P7.49mm_Vertical | J1 |
| 1 | 1K | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R18 |
| 1 | 1M | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R15 |
| 1 | 1N5399 | Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal | D3 |
| 1 | 1N5822 | Diode_THT:D_DO-201AD_P15.24mm_Horizontal | D11 |
| 1 | 22.0K | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R3 |
| 1 | 220K | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R12 |
| 1 | 270.0R | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R7 |
| 1 | 2K | Potentiometer_THT:Potentiometer_Runtron_RM-065_Vertical | RV3 |
| 1 | 33MFD | Capacitor_THT:CP_Radial_D5.0mm_P2.50mm | C11 |
| 1 | 3A/230V | Fuse:Fuseholder_Cylinder-5x20mm_Schurter_0031_8201_Horizontal_Open | F1 |
| 1 | 5.6K | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R13 |
| 1 | 5K | Potentiometer_THT:Potentiometer_Runtron_RM-065_Vertical | RV2 |
| 1 | 5mm GREEN | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | D9 |
| 1 | 5mm RED | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | D6 |
| 1 | 680.0R | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R8 |
| 1 | AC-IN | Connector_Molex:Molex_Sabre_43160-0103_1x03_P7.49mm_Vertical | J2 |
| 1 | AC-OUT | Connector_Molex:Molex_Sabre_43160-0102_1x02_P7.49mm_Vertical | J7 |
| 1 | ADC-V+ | TestPoint:TestPoint_Plated_Hole_D2.0mm | TP2 |
| 1 | BAT-V | TestPoint:TestPoint_Plated_Hole_D2.0mm | TP1 |
| 1 | BATTERY | Connector_Molex:Molex_Sabre_43160-0102_1x02_P7.49mm_Vertical | J4 |
| 1 | BC547 | Package_TO_SOT_THT:TO-92_HandSolder | Q1 |
| 1 | BC548 | Package_TO_SOT_THT:TO-92_HandSolder | Q2 |
| 1 | BD135 | Package_TO_SOT_THT:TO-126-3_Vertical | Q3 |
| 1 | DEBUG | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J6 |
| 1 | G2RL-2-DC12 | Relay_THT:Relay_DPDT_Omron_G2RL | RL1 |
| 1 | ICSP | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J3 |
| 1 | LM2576T-12 | Package_TO_SOT_THT:TO-220-5_Vertical | U4 |
| 1 | LM350 | Package_TO_SOT_THT:TO-220-3_Vertical | U1 |
| 1 | LM7805 | Package_TO_SOT_THT:TO-220-3_Vertical | U5 |
| 1 | M3-MOUNT1 | MountingHole:MountingHole_3.2mm_M3 | H1 |
| 1 | M3-MOUNT2 | MountingHole:MountingHole_3.2mm_M3 | H2 |
| 1 | M3-MOUNT3 | MountingHole:MountingHole_3.2mm_M3 | H3 |
| 1 | NEON | Fuse:Fuse_Bourns_MF-RG300 | NE1 |
| 1 | OUTPUT | Connector_Molex:Molex_Sabre_43160-0102_1x02_P7.49mm_Vertical | J5 |
| 1 | PC817 | Package_DIP:DIP-4_W7.62mm | U3 |
| 1 | PIC16F688 | Package_DIP:DIP-14_W7.62mm_LongPads | U2 |
Questions
How big is the Ups-12v PCB?
It measures 131.8 × 99.9 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Ups-12v use?
77 parts, built around the PIC16F688-E/P, LM2576T-12, LM7805 and 7D471K. 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 Ups-12v KiCad files?
From the dilshan/12v-automatic-ups repository on GitHub, at the commit this page was made from: the board is design/ups-12v.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Ups-12v 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).
Similar boards
- 2 layers195 × 95 mm

- 2 layers78.4 × 169.9 mm

- 2 layers82 × 42 mm

Cct controller
controlol/led-driver-constant-current-esphome
KiCad design for a constant current driver with Mean Well dimmable LED driver and ESPHome firmware
42 parts - 2 layers

- 2 layers80 × 60 mm

Slow switching outputs
cclienti/tig-welder
A DIY TIG welder that can be plugged to a traditionnal stick welder or to a high current source
24 parts8GPL-3.0 - 2 layers25.4 × 21.8 mm

SomfySituo5IoAdapter
Yadoms/yadoms
Yadoms is open source, simple, powerfull, flexible and multiplatforms domotic solution.
30 parts62 - 2 layers100 × 100 mm

- 2 layers100 × 100 mm
