

FloodGuard
Autonomous flood protection system
- Size
- 36 × 21 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 77
- Nets
- 52
- Pads
- 211
- Tracks, vias
- 522, 45
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 4
- Created
- 3 Nov 2017
- Updated
- 19 Aug 2018
Overview
FloodGuard is an open-source printed circuit board by Sl-Alex, from the Sl-Alex/FloodGuard repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 36 × 21 mm with 77 parts on 52 nets, routed with 522 tracks and 45 vias.
It is built around the STM32F030F4P6, TPL5010EVM and STC4054GR. Its parts include 28 resistors, 23 crystals, 8 capacitors, 5 ICs and 5 diodes. It belongs with the STM32 boards of this library.
Main components
3STM32F030F4P6
TSSOP-20-40℃~+85℃ 12bit 15 16KB 2.4V~3.6V 32 Bit 48MHz 4KB ARM Cortex-M0 Built-in FLASH TSSOP-20 Microcontrollers (MCU/MPU/SOC) ROHSSTMicroelectronicsMicrocontrollers (MCU/MPU/SOC)TPL5010EVM
-ModulesTexas InstrumentsSTC4054GR
TSOT-23-5-40℃~+85℃ 1 25uA 4.25V~6.5V 4.2V 800mA Charging IC Lithium Battery TSOT-23-5 Battery Management ROHSSTMicroelectronicsBattery Management
README
README.mdGeneral description
Autonomous flood protection system, which can work for months from a single 18650 Li-ion battery. Includes a battery charger as well as a HW monitoring circuit. Includes power MOSFET for external valve control circuit. Even if SW is stuck or microcontroller is dead you will hear beeping informing you that something is wrong. Two protected guard inputs make a redundant and reliable system.
Hardware
Both schematic and PCB were created with KiCAD. KiCAD project is located in the PCB subfolder. Project uses components from my KiCAD_libs repository.
Software
Project is created in EmBitz. Project skeleton is created in STM32CubeMX.
Licensing
The whole project is available under GPL v3 license (see LICENSE file), except of files, which clearly mention other license type in the file header.
Parts
77| Qty | Value | Footprint | References |
|---|---|---|---|
| 28 | resistor | discrete_SMD:0402_R | R1, R2, R10, R11, R12, R13, R14, R15, R16, R17, R18, R19, R20, R21, R22, R23 +12 |
| 7 | capacitor | discrete_SMD:0402_C | C1, C2, C3, C4, C5, C7, C8 |
| 4 | MOSFET_P_DGS | IR:PQFN2x2 | VT4, VT6, VT7, VT8 |
| 3 | GND | CONNECTORS:PLS1_SMD | X13, X16, X25 |
| 3 | MOSFET_N_DGS | IR:PQFN2x2 | VT1, VT2, VT3 |
| 3 | diode | SOD:SOD523 | D1, D2, D3 |
| 2 | zener | SOD:SOD523 | D4, D5 |
| 1 | 3V3 | CONNECTORS:PLS1 | X8 |
| 1 | BAT+ | CONNECTORS:PLS1_SMD | X4 |
| 1 | BAT- | CONNECTORS:PLS1_SMD | X5 |
| 1 | BUZZER+ | CONNECTORS:PLS1_SMD | X2 |
| 1 | CHG_LED+ | CONNECTORS:PLS1_SMD | X7 |
| 1 | CHG_LED- | CONNECTORS:PLS1_SMD | X6 |
| 1 | GND | CONNECTORS:PLS1 | X9 |
| 1 | GUARD0 | CONNECTORS:PLS1_SMD | X14 |
| 1 | GUARD1 | CONNECTORS:PLS1_SMD | X15 |
| 1 | LED0 | CONNECTORS:PLS1_SMD | X18 |
| 1 | LED1 | CONNECTORS:PLS1_SMD | X19 |
| 1 | LED2 | CONNECTORS:PLS1_SMD | X20 |
| 1 | LED3 | CONNECTORS:PLS1_SMD | X21 |
| 1 | LED4 | CONNECTORS:PLS1_SMD | X22 |
| 1 | LED5 | CONNECTORS:PLS1_SMD | X23 |
| 1 | LED6 | CONNECTORS:PLS1_SMD | X24 |
| 1 | LOGO | LOGO:OSHW | LG?1 |
| 1 | NCP551 | SOT:SOT23-5 | U2 |
| 1 | STC4054 | SOT:SOT23-5 | U4 |
| 1 | STM32F030F4P6 | SO:TSSOP20 | U5 |
| 1 | SWCLK | CONNECTORS:PLS1 | X10 |
| 1 | SWDIO | CONNECTORS:PLS1 | X11 |
| 1 | TPL5010 | SOT:SOT23-6 | U1 |
| 1 | TS555CN | SO:SO8 | U3 |
| 1 | USB2_MICRO_B_F1 | CONNECTORS:USB2_MICRO_B_F1 | X1 |
| 1 | VOUT | CONNECTORS:PLS1_SMD | X12 |
| 1 | capacitor_el | discrete_SMD:case_B | C6 |
Questions
How big is the FloodGuard PCB?
It measures 36 × 21 mm and has 2 copper layers, 1.6 mm thick.
What parts does the FloodGuard use?
77 parts, built around the STM32F030F4P6, TPL5010EVM and STC4054GR. 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 FloodGuard KiCad files?
From the Sl-Alex/FloodGuard repository on GitHub, at the commit this page was made from: the board is PCB/flood_guard.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the FloodGuard 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).
Similar boards
- 2 layers84.2 × 52 mm

- 2 layers37 × 23.5 mm

- 2 layers119 × 79 mm

Home Ambient
abrahanlp/Home-Ambient
2-wire home thermostat with temperature, humidity, pressure and air quality measures.
62 partsAGPL-3.0 - 4 layers100 × 120 mm

- 2 layers140 × 43.8 mm

- 4 layers52 × 42 mm

- 4 layers40.8 × 40.8 mm

- 4 layers85 × 85 mm
