
PGR
Projeto-Guarda-Rios/PCB
O repositório para a PCB do Projeto Guarda Rios! Inclui todos os ficheiros relacionados com a PCB!

O repositório para a PCB do Projeto Guarda Rios! Inclui todos os ficheiros relacionados com a PCB!
PGR is an open-source printed circuit board by Projeto-Guarda-Rios, from the Projeto-Guarda-Rios/PCB repository on GitHub, published under the MIT licence. It is a 4-layer board of 65 × 100 mm with 188 parts on 141 nets, routed with 1,255 tracks and 634 vias.
It is built around the SN74LVC2G126DCUR, ESP32-WROOM-32E and MAX3485ED, with the CP2102N-A02-GQFN28, MIC2007YM6-TR and BQ24074RGTR among its other parts. Its parts include 76 resistors, 43 capacitors, 10 ICs, 10 diodes and 9 transistors. It belongs with the ESP32 boards of this library.
This repository contains all PCB design files for the Guarda-Rios Project — an open-source, low-cost, low-power water quality monitoring system. Multiple stations are deployed along a river so that parameter spikes between adjacent stations reveal precisely where pollution enters the waterway.
The system has two PCBs:
| Board | Role | Placement |
|---|---|---|
| AquaNode PCB | Submerged sensor node — reads water parameters and transmits them over RS-485 | Below waterline |
| Main PCB (PGR) | Station hub — receives RS-485 data, manages power (solar + 18650 Li-ion), and sends data to the cloud via NB-IoT | Above waterline |
GitHub organisation: github.com/Projeto-Guarda-Rios Project site: guarda-rios.pt · Data portal: data.guarda-rios.pt
PCB/
├── AquaNode - PCB/ # AquaNode submerged sensor node
├── PGR - PCB/ # Main Station PCB
├── Datasheets/ # Component datasheets
├── Resources/ # Logos, SVGs, and images (silkscreen assets)
└── LICENSEThe AquaNode is the submerged node of each station. It is built around an STM32L053R8 microcontroller (ultra-low-power) and integrates a DS18B20 water temperature sensor (1-Wire) and a DFRobot SEN0554 turbidity sensor. Readings are encoded into the custom Guarda-Rios protocol and transmitted to the Main PCB over RS-485.
AquaNode - PCB/
├── Renders/ # PNG renders of the current board
│ ├── AquaNode - PCB.png # Top-side render
│ └── AquaNode - PCB - 2.png # Bottom-side / alternate angle render
│
├── AquaNode - PCB.step # STEP model of the assembled board
├── AquaNode - PCB - Render.step # STEP model used for rendering
├── AquaNode - PCB.stl # STL mesh of the board
│
└── AquaNode - PCB/ # KiCAD project (current version)
├── AquaNode - PCB.kicad_pro # KiCAD project file ← open this in KiCAD
├── AquaNode - PCB.kicad_pcb # PCB layout
├── AquaNode - PCB.kicad_sch # Schematic
├── footprints/ # Custom footprint library
├── symbols/ # Custom symbol library
└── production/ # Production files (PCBA) — current version
├── -v2.0.zip # Gerbers + drill files (upload to JLCPCB)
├── -v2.0_bom.csv # Bill of Materials
├── -v2.0_positions.csv # Component placement (pick & place)
├── -v2.0_designators.csv # Designator mapping
├── netlist.ipc # IPC netlist
└── backups/ # Auto-generated production backupsKey files:
AquaNode - PCB/AquaNode - PCB/AquaNode - PCB.kicad_proAquaNode - PCB/AquaNode - PCB/production/-v2.0.zipAquaNode - PCB/AquaNode - PCB/production/-v2.0_bom.csvAquaNode - PCB/AquaNode - PCB/production/-v2.0_positions.csvThe Main PCB (PGR) is the above-water hub of each station. It is built around an ESP32-WROOM-32D and includes an RS-485 receiver, NB-IoT modem, BMS (battery management system), 18650 Li-ion charger, and solar charger — making each station fully self-sufficient in the field.
PGR - PCB/
├── Renders/ # PNG renders of the current board
│ ├── PGR.png # Top-side render
│ └── PGR - 2.png # Bottom-side / alternate angle render
│
├── PGR.step # STEP model of the assembled board
├── PGR-Solder.step # STEP model showing solder joints
├── PGR.3mf # 3MF model (for 3D printing / Fusion 360)
│
├── PGR - PCB - v1.0-v4.0.zip # Archived KiCAD projects (versions 1.0 – 4.0)
├── PGR - PCB - v5.0.zip # Archived KiCAD project (version 5.0)
│
├── gerbers/ # Gerber archives for previous board versions
│ ├── PGR-gerbers-v1.0.zip
│ ├── PGR-gerbers-v2.0.zip
│ ├── PGR-gerbers-v3.0.zip
│ ├── PGR-gerbers-v3.1.zip
│ ├── PGR-gerbers-v4.0.zip
│ ├── PGR-gerbers.zip # (legacy export)
│ ├── PGR-F_Paste.zip # Front paste layer export
│ └── PGR-PTH.zip # PTH drill file export
│
└── PGR - PCB/ # KiCAD project (current version)
├── PGR.kicad_pro # KiCAD project file ← open this in KiCADKey files:
PGR - PCB/PGR - PCB/PGR.kicad_proPGR - PCB/PGR - PCB/production/PGR_PCB_v5.1.zipPGR - PCB/PGR - PCB/production/PGR_PCB_v5.1_bom.csvPGR - PCB/PGR - PCB/production/PGR_PCB_v5.1_positions.csvPGR - PCB/gerbers/Note: There are no current production files inside
PGR - PCB/gerbers/— that directory holds archives of older board revisions only. Current production files are insidePGR - PCB/PGR - PCB/production/.
Reference datasheets for ICs and components used across both PCBs.
Datasheets/
├── STM32L053C6.PDF # AquaNode MCU — STM32L053 datasheet
├── an4467-getting-started-with-stm32l0xx-hardware-development-stmicroelectronics.pdf
│ # STM32L0 hardware development guide (ST AppNote AN4467)
└── st485eb.pdf # ST485EB RS-485 transceiver (used on AquaNode)Images, SVGs, and logos used in PCB silkscreen layers or project documentation.
Resources/
├── guarda_rios_logo.svg / .png # Official Guarda-Rios project logo
├── dwtLogo.svg # Designer logo
├── MIT_license_logo.svg / .png # MIT license badge
├── open_source_logo.svg # Open-source hardware logo
├── open-source-hardware6230.logowik.com.webp
├── logo-colegio-ribadouro.png # School/institution logo
│
├── AquaNodeBack.svg # AquaNode back silkscreen artwork
├── AquaNodeBack - Sem Logo.svg # AquaNode back silkscreen (no logo variant)
├── BackSilkScreen.svg # Generic back silkscreen asset
│
├── AquaNode_v2_image_top.png # AquaNode v2 board image — top
├── AquaNode_v2_image_bottom.png # AquaNode v2 board image — bottom
├── PGR_v5.1_image_top.png # PGR v5.1 board image — top
├── PGR_v5.1_image_bottom.png # PGR v5.1 board image — bottom
│
└── Gemini_Generated_Image_iya1lhiya1lhiya1.png # AI-generated concept image| Parameter | AquaNode PCB | Main PCB (PGR) |
|---|---|---|
| MCU | STM32L053R8 | ESP32-WROOM-32D |
| Sensors | DS18B20 (temp), DFRobot SEN0554 (turbidity) | — |
| Communication | RS-485 out (custom protocol) | RS-485 in · NB-IoT out |
| Power | From Main PCB via RS-485 cable | Solar + 18650 Li-ion (BMS + charger on-board) |
| Placement | Submerged | Above waterline |
| CAD tool | KiCAD | KiCAD |
This project is fully open-source. See LICENSE for details.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 28 | 100kR | Resistor_SMD:R_0603_1608Metric | R23, R33, R36, R39, R40, R43, R44, R47, R49, R50, R51, R53, R54, R60, R61, R62 +12 |
| 14 | 100nF | Capacitor_SMD:C_0603_1608Metric | C10, C17, C20, C25, C26, C28, C29, C30, C31, C35, C36, C37, C38, C44 |
| 12 | 22uF | Capacitor_SMD:C_1210_3225Metric | C5, C8, C9, C11, C13, C14, C18, C19, C22, C32, C33, C34 |
| 8 | 10K | Resistor_SMD:R_0603_1608Metric | R9, R10, R15, R16, R19, R20, R25, R29 |
| 7 | TP | TestPoint:TestPoint_Pad_D1.0mm | TP1, TP2, TP3, TP4, TP5, TP6, TP8 |
| 4 | 10kR | Resistor_SMD:R_0603_1608Metric | R14, R31, R34, R45 |
| 4 | 1kR | Resistor_SMD:R_0603_1608Metric | R1, R42, R64, R70 |
| 4 | 4.7uF | Capacitor_SMD:C_0805_2012Metric | C1, C27, C41, C42 |
| 3 | 0.1uF | Capacitor_SMD:C_0603_1608Metric | C3, C7, C12 |
| 3 | 1nF | Capacitor_SMD:C_0603_1608Metric | C21, C23, C24 |
| 3 | 1uF | Capacitor_SMD:C_0805_2012Metric | C39, C40, C43 |
| 3 | 2K | Resistor_SMD:R_0603_1608Metric | R2, R8, R17 |
| 3 | DMP2035U | Package_TO_SOT_SMD:SOT-23 | Q4, Q9, Q10 |
| 3 | LESD5D5.0CT1G | LESD5D5.0CT1G:TVS_LESD5D5.0CT1G | D3, D4, D5 |
| 3 | MIC2007 | Package_TO_SOT_SMD:SOT-23-6 | U9, U10, U11 |
| 3 | MountingHole_3.2mm_M3_DIN965_Pad_TopBottom | MountingHole:MountingHole_3.2mm_M3_DIN965_Pad_TopBottom | H1, H2, H5 |
| 2 | 10uF | Capacitor_SMD:C_0805_2012Metric | C4, C6 |
| 2 | 287kR | Resistor_SMD:R_0603_1608Metric | R38, R80 |
| 2 | 4.7kR | Resistor_SMD:R_0603_1608Metric | R21, R24 |
| 2 | 470R | Resistor_SMD:R_0603_1608Metric | R18, R28 |
| 2 | 5.1K | Resistor_SMD:R_0603_1608Metric | R4, R5 |
| 2 | MountingHole_3.2mm_M3_DIN965_Pad | MountingHole:MountingHole_3.2mm_M3_DIN965_Pad | H3, H6 |
| 2 | SS8050-G | SS8050-G:TRANS_SS8050-G | Q6, Q7 |
| 1 | 100R | Resistor_SMD:R_0603_1608Metric | R11 |
| 1 | 103AT-2 10kR | PGR-FootPrints:NTC_Semitec_103AT-2_P2.54mm | TH1 |
| 1 | 1042 | Battery:BatteryHolder_Keystone_1042_1x18650 | BT1 |
| 1 | 10nF | Capacitor_SMD:C_0603_1608Metric | C15 |
| 1 | 120R | Resistor_SMD:R_0603_1608Metric | R3 |
| 1 | 160R | Resistor_SMD:R_0603_1608Metric | R37 |
| 1 | 178kR | Resistor_SMD:R_0603_1608Metric | R46 |
| 1 | 1MR | Resistor_SMD:R_0603_1608Metric | R66 |
| 1 | 1N4148W | Diode_SMD:D_SOD-123 | D13 |
| 1 | 1uF | Capacitor_SMD:C_0603_1608Metric | C2 |
| 1 | 1uH | Inductor_SMD:L_Coilcraft_XAL4020-XXX | L1 |
| 1 | 2.26kR | Resistor_SMD:R_0603_1608Metric | R72 |
| 1 | 2.2kR | Resistor_SMD:R_0603_1608Metric | R13 |
| 1 | 2.2uH | Inductor_SMD:L_Coilcraft_XAL4020-XXX | L2 |
| 1 | 200kR | Resistor_SMD:R_0603_1608Metric | R32 |
| 1 | 22.1K | Resistor_SMD:R_0603_1608Metric | R6 |
| 1 | 22R | Resistor_SMD:R_0603_1608Metric | R12 |
| 1 | 270kR | Resistor_SMD:R_0603_1608Metric | R67 |
| 1 | 2N7002 | Package_TO_SOT_SMD:SOT-23 | Q8 |
| 1 | 31.6kR | Resistor_SMD:R_0603_1608Metric | R82 |
| 1 | 330R | Resistor_SMD:R_0603_1608Metric | R41 |
| 1 | 3A fast | PGR-FootPrints:Fuse_Littelfuse-NANO2-451_453_PGR_F1 | F1 |
| 1 | 402kR | Resistor_SMD:R_0603_1608Metric | R22 |
| 1 | 442kR | Resistor_SMD:R_0603_1608Metric | R76 |
| 1 | 450kR | Resistor_SMD:R_0603_1608Metric | R35 |
| 1 | 47.5K | Resistor_SMD:R_0603_1608Metric | R7 |
| 1 | 47.5kR | Resistor_SMD:R_0603_1608Metric | R48 |
| 1 | 47kR | Resistor_SMD:R_0603_1608Metric | R84 |
| 1 | 681kR | Resistor_SMD:R_0603_1608Metric | R74 |
| 1 | 68kR | Resistor_SMD:R_0603_1608Metric | R30 |
| 1 | 74LVC2G126 | Package_SO:VSSOP-8_2.3x2mm_P0.5mm | U15 |
| 1 | AI-1223-TWT-5V-2-R | Buzzer_Beeper:Buzzer_12x9.5RM7.6 | BZ1 |
| 1 | AO3401A | Package_TO_SOT_SMD:SOT-23 | Q5 |
| 1 | BATTERY ENABLE | PGR-FootPrints:SW_Slide_CK_1101M2S3CBE2 | SW4 |
| 1 | BLUE | PGR-FootPrints:LED_0603_1608Metric_PGR_D9 | D9 |
| 1 | BLUE | PGR-FootPrints:LED_0603_1608Metric_PGR_D10 | D10 |
| 1 | BLUE | LED_SMD:LED_0603_1608Metric | D7 |
| 1 | BOOT | Button_Switch_SMD:SW_Push_SPST_NO_Alps_SKRK | SW1 |
| 1 | BQ24074RGT | PGR-FootPrints:VQFN-16-1EP_3x3mm_P0.5mm_EP1.6x1.6mm_PGR_U1 | U1 |
| 1 | CP2102N-A02-GQFN28 | PGR-FootPrints:QFN-28-1EP_5x5mm_P0.5mm_EP3.35x3.35mm_PGR_U4 | U4 |
| 1 | Conn_01x02 | Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical | J10 |
| 1 | Conn_01x03 | Connector_JST:JST_XH_B3B-XH-A_1x03_P2.50mm_Vertical | J7 |
| 1 | Conn_01x04 | Connector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical | J8 |
| 1 | Conn_01x04 | PGR-FootPrints:JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical_PGR_J11 | J11 |
| 1 | ESP32-WROOM-32E | PGR-FootPrints:ESP32-WROOM-32D_PGR_U5 | U5 |
| 1 | FS312F-G | Package_TO_SOT_SMD:SOT-23-6 | U6 |
| 1 | FS8205A | FS8205A:SOP65P640X120-8N | Q3 |
| 1 | JTAG / Spare | Connector_PinHeader_2.54mm:PinHeader_1x10_P2.54mm_Vertical | J1 |
| 1 | MAX3485 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U8 |
| 1 | MCP1700T-3002E/TT | Package_TO_SOT_SMD:SOT-23 | U18 |
| 1 | MountingHole_3.2mm_M3_ISO14580_Pad | MountingHole:MountingHole_3.2mm_M3_ISO14580_Pad | H4 |
| 1 | RED | LED_SMD:LED_0603_1608Metric | D8 |
| 1 | RESET | Button_Switch_SMD:SW_Push_SPST_NO_Alps_SKRK | SW2 |
| 1 | RX SELECT | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | JP1 |
| 1 | SM712_SOT23 | Package_TO_SOT_SMD:SOT-23 | D6 |
| 1 | SS14 | Diode_SMD:D_SMA | D14 |
| 1 | SS8050-G | PGR-FootPrints:TRANS_SS8050-G_PGR_Q1 | Q1 |
The 176 most common of 188 parts.

Projeto-Guarda-Rios/PCB
O repositório para a PCB do Projeto Guarda Rios! Inclui todos os ficheiros relacionados com a PCB!

Projeto-Guarda-Rios/PCB
O repositório para a PCB do Projeto Guarda Rios! Inclui todos os ficheiros relacionados com a PCB!

Projeto-Guarda-Rios/PCB
O repositório para a PCB do Projeto Guarda Rios! Inclui todos os ficheiros relacionados com a PCB!

Projeto-Guarda-Rios/PCB
O repositório para a PCB do Projeto Guarda Rios! Inclui todos os ficheiros relacionados com a PCB!

Projeto-Guarda-Rios/PCB
O repositório para a PCB do Projeto Guarda Rios! Inclui todos os ficheiros relacionados com a PCB!

Projeto-Guarda-Rios/PCB
O repositório para a PCB do Projeto Guarda Rios! Inclui todos os ficheiros relacionados com a PCB!

ssmo-oss/UMI-Power-distribution
Three separate boards distribute a 12 V supply to the UMI system. D6 is the current prototype revision. It has not been physically qualified or approved for production.

DeadlySIn777/Controller
Unfinished CNC controller motherboard: native KiCad sources, rules, DSN and global routing review

oudehm/seniorDesignPCB
Editable KiCad projects for the brain, light, power, and pump boards.


Ash-tronix/nile_test_chip_pcb
KiCad PCB design files to support the Ashtronix® Nile test chip.



nichlock/open-linear-scale
Open-source capacitive linear encoder / DIY DRO scale: KiCad PCBs, STM32 firmware, and test data. Same principle as digital calipers.
It measures 65 × 100 mm and has 4 copper layers, 1.55 mm thick.
188 parts, built around the SN74LVC2G126DCUR, ESP32-WROOM-32E, MAX3485ED and CP2102N-A02-GQFN28. 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.
From the Projeto-Guarda-Rios/PCB repository on GitHub, at the commit this page was made from: the board is PGR - PCB/PGR - PCB/PGR.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
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).