
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 67.5 × 44.4 mm with 81 parts on 112 nets, routed with 735 tracks and 448 vias.
It is built around the ESP32-WROOM-32E, MAX3485ED and TPS61200DRC, with the AP2114H-3.3TRG1, BQ24074RGTR and DW01A among its other parts. Its parts include 27 resistors, 16 capacitors, 10 diodes, 7 ICs and 6 connectors. 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 |
|---|---|---|---|
| 10 | 10K | Resistor_SMD:R_0603_1608Metric | R9, R10, R15, R16, R18, R19, R20, R25, R28, R29 |
| 7 | 0.1uF | Capacitor_SMD:C_0603_1608Metric | C1, C2, C3, C7, C10, C12, C15 |
| 5 | 10uF | Capacitor_SMD:C_0805_2012Metric | C4, C5, C6, C13, C14 |
| 3 | 2K | Resistor_SMD:R_0603_1608Metric | R2, R8, R17 |
| 3 | 33R | Resistor_SMD:R_0603_1608Metric | R13, R21, R24 |
| 3 | BLUE | LED_SMD:LED_0603_1608Metric | D7, D9, D10 |
| 3 | LESD5D5.0CT1G | LESD5D5.0CT1G:TVS_LESD5D5.0CT1G | D3, D4, D5 |
| 2 | 22uF | Capacitor_SMD:C_0805_2012Metric | C8, C9 |
| 2 | 5.1K | Resistor_SMD:R_0603_1608Metric | R4, R5 |
| 2 | Conn_01x04 | Connector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical | J8, J11 |
| 2 | LOGO | LOGO | G***, G*** |
| 2 | SS14 | Diode_SMD:D_SMA | D1, D2 |
| 2 | SS8050-G | SS8050-G:TRANS_SS8050-G | Q1, Q2 |
| 1 | 1.5K | Resistor_SMD:R_0603_1608Metric | R1 |
| 1 | 100K | Resistor_SMD:R_0603_1608Metric | R23 |
| 1 | 100R | Resistor_SMD:R_0603_1608Metric | R11 |
| 1 | 100nF | Capacitor_SMD:C_0603_1608Metric | C17 |
| 1 | 120R | Resistor_SMD:R_0603_1608Metric | R3 |
| 1 | 150R | Resistor_SMD:R_0603_1608Metric | R14 |
| 1 | 22.1K | Resistor_SMD:R_0603_1608Metric | R6 |
| 1 | 22R | Resistor_SMD:R_0603_1608Metric | R12 |
| 1 | 4.7uF | Capacitor_SMD:C_0805_2012Metric | C11 |
| 1 | 47.5K | Resistor_SMD:R_0603_1608Metric | R7 |
| 1 | 900K | Resistor_SMD:R_0603_1608Metric | R22 |
| 1 | AP2114H-3.3TRG1 | AP2114H-3.3TRG1:SOT230P700X180-4N | IC1 |
| 1 | BOOT | Button_Switch_SMD:SW_SPST_B3U-1000P | SW1 |
| 1 | BQ24074RGT | Package_DFN_QFN:VQFN-16-1EP_3x3mm_P0.5mm_EP1.6x1.6mm | U1 |
| 1 | Battery | Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical | BT1 |
| 1 | Buzzer | Buzzer_Beeper:Buzzer_12x9.5RM7.6 | BZ1 |
| 1 | CP2102N-Axx-xQFN28 | Package_DFN_QFN:QFN-28-1EP_5x5mm_P0.5mm_EP3.35x3.35mm | 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_01x16 | Connector_PinSocket_2.00mm:PinSocket_1x16_P2.00mm_Vertical | J1 |
| 1 | DW01A | Package_TO_SOT_SMD:SOT-23-6 | U6 |
| 1 | ESP32-WROOM-32E | RF_Module:ESP32-WROOM-32D | U5 |
| 1 | FS8205A | FS8205A:SOP65P640X120-8N | Q3 |
| 1 | L | Inductor_SMD:L_0805_2012Metric | L1 |
| 1 | MAX3485 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U8 |
| 1 | RED | LED_SMD:LED_0603_1608Metric | D8 |
| 1 | RESET | Button_Switch_SMD:SW_SPST_B3U-1000P | SW2 |
| 1 | SM712_SOT23 | Package_TO_SOT_SMD:SOT-23 | D6 |
| 1 | SW_SPDT | Button_Switch_SMD:SW_DIP_SPSTx01_Slide_6.7x4.1mm_W6.73mm_P2.54mm_LowProfile_JPin | SW4 |
| 1 | TPS61200DRC | Package_SON:Texas_S-PVSON-N10_ThermalVias | U3 |
| 1 | Thermistor_NTC 10 kΩ 25 °C | Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P2.54mm_Vertical | TH1 |
| 1 | USB_C_Receptacle | Connector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_Horizontal | J9 |
The 78 most common of 81 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!

KazimGL/ESP32-PowerIoT-DevBoard
ESP32 battery-powered IoT dev board with Li-ion charging, protection, and sensor support — designed in KiCad


Quadcoach/J-Deck
JATAYU Controller is a compact ESP32-C3-based drone remote designed for the JATAYU Flight Controller. It uses ESP-NOW for a fast, direct wireless control link, combining dual analog joysticks, tactile buttons, USB-C…


leafai-io/leaf-node-v3.x
Modular node for sensor monitoring and device control in grow environments.


kyrg4z/custom-meshtastic-node
Custom mesh node with an OLED and GNSS module.

It measures 67.5 × 44.4 mm and has 4 copper layers, 1.61 mm thick.
81 parts, built around the ESP32-WROOM-32E, MAX3485ED, TPS61200DRC and AP2114H-3.3TRG1. 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 - Save/.history/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).