

PG attiny404
3D-printable pinch valve for irrigation and sensor-driven liquid control.
- Size
- 20.3 × 69.7 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 41
- Nets
- 25
- Pads
- 103
- Tracks, vias
- 288, 64
- Pours
- 3
- Routed
- Yes
- KiCad
- KiCad 9.0 (file 20241229)
- Created
- 23 Nov 2025
- Updated
- 7 Nov 2026
Overview
PG attiny404 is an open-source printed circuit board by fabiansteiner, from the fabiansteiner/OpenValve repository on GitHub, published under the CERN-OHL-S-2.0 licence. It is a 2-layer board of 20.3 × 69.7 mm with 41 parts on 25 nets, routed with 288 tracks and 64 vias.
It is built around the ATTINY804-SSN, DRV8837DSGR-MS and ZXCT1009FTA, with the CC0805KRX7R7BB104, CL21B105KOFNNNE and ESDA041-1JY among its other parts. Its parts include 11 connectors, 8 resistors, 7 capacitors, 6 diodes and 4 ICs. It belongs with the sensors and measurement boards and the AVR (ATmega, ATtiny) boards of this library.
Main components
12ATTINY804-SSN
SOIC-14-40℃~+105℃ 1.8V~5.5V 10bit 12 128Byte 20MHz 512Byte 8 Bit 8KB AVR Built-in FLASH SOIC-14 Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)DRV8837DSGR-MS
WSON-8-EP(2x2)-40℃~+125℃ 1.5A 1.8V~7V 17nA 650mΩ Yes WSON-8-EP(2x2) Brushed DC Motor Drivers ROHSMSKSEMIBrushed DC Motor DriversZXCT1009FTA
SOT-23-40℃~+85℃ 1 100nA 2.5V~20V 2.5V~20V 25mA 300kHz 4uA High-side detection ±2.5V SOT-23 Current Sense Amplifiers ROHSDiodes IncorporatedCurrent Sense AmplifiersCC0805KRX7R7BB104
0805100nF 16V X7R ±10% 0805 Multilayer Ceramic Capacitors MLCC - SMD/SMT ROHSYAGEOMultilayer Ceramic Capacitors MLCC - SMD/SMTCL21B105KOFNNNE
080516V 1uF X7R ±10% 0805 Multilayer Ceramic Capacitors MLCC - SMD/SMT ROHSSamsung Electro-MechanicsMultilayer Ceramic Capacitors MLCC - SMD/SMTESDA041-1JY
SOD-323190pF 20A@8/20us 3.6V 50nA 6.8V ESD IEC 61000-4-2、IEC 61000-4-4 Unidirectional SOD-323 ESD and Surge Protection (TVS/ESD) ROHSSTMicroelectronicsESD And Surge Protection (TVS/ESD)RL1220S-R50-F
0805-55℃~+125℃ 0ppm/℃~+200ppm/℃ 333mW 500mΩ Thin Film Resistor ±1% 0805 Chip Resistor - Surface Mount ROHSSusumuChip Resistor - Surface Mount0ZCG0075FF2C
1812-40℃~+85℃ 1.5A 100A 110mΩ 16V 200ms 450mΩ 750mA 800mW 1812 Resettable Fuses ROHSBel FuseResettable FusesRMCF0805FT100R
0805-55℃~+155℃ 100Ω 125mW 150V Thick Film Resistor ±1% ±100ppm/℃ 0805 Chip Resistor - Surface Mount ROHSStackpole Electronics (SEI)Chip Resistor - Surface MountCL21A106KOQNNNG
080510uF 16V X5R ±10% 0805 Multilayer Ceramic Capacitors MLCC - SMD/SMT ROHSSamsung Electro-MechanicsMultilayer Ceramic Capacitors MLCC - SMD/SMTRMCF0805FG1M00
0805-55℃~+155℃ 125mW 1MΩ Thick Film Resistor ±1% ±100ppm/℃ 0805 Chip Resistor - Surface Mount ROHSStackpole Electronics (SEI)Chip Resistor - Surface MountCRG0805F220K
0805-55℃~+155℃ 125mW 220kΩ Thick Film Resistor ±1% ±100ppm/℃ 0805 Chip Resistor - Surface Mount ROHSTE ConnectivityChip Resistor - Surface Mount
README
hardware/pcb/README.md🛠️ Electronics
The PCB was designed using KiCad. OpenValve is based on the ATTINY804 microcontroller.
Schematic, PCB layout and BOM are all open.
Parts
41| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | Conn_01x01_Male | digikey-footprints:PROBE_PAD_1206 | J2, J3, J4, J5, J6, J7, J8, J9 |
| 3 | 100nF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C3, C6, C7 |
| 3 | 1uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C1, C2, C5 |
| 3 | ESDA041-1JY | ESDA041-1JY:CR_041-1JY_STM | D4, D5, D6 |
| 1 | 0.5 Ohm | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R3 |
| 1 | 0022232041 | SOT23:PinHeader_1x04_P2.54mm_Horizontal_spezial | J1 |
| 1 | 0ZCG0075FF2C | 0ZCG0075FF2C:0ZCG0075FF2C | F1 |
| 1 | 100 Ohm | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R2 |
| 1 | 10k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R7 |
| 1 | 10uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C4 |
| 1 | 1M | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R6 |
| 1 | 220k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R8 |
| 1 | 2M | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R5 |
| 1 | 2N7002K-AU_R1_000A2 | Package_TO_SOT_SMD:SOT-23_Handsoldering | Q1 |
| 1 | 62 Ohm | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R1 |
| 1 | 665 Ohm | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R4 |
| 1 | AP7370-33Y-13 | Package_TO_SOT_SMD:SOT-89-3 | U5 |
| 1 | APTD3216QBC/D | LED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolder | D1 |
| 1 | ATtiny804-SS | Package_SO:SOIC-14_3.9x8.7mm_P1.27mm | U1 |
| 1 | Cap + | digikey-footprints:PROBE_PAD_0603 | J10 |
| 1 | Cap - | digikey-footprints:PROBE_PAD_0603 | J11 |
| 1 | DRV8837DSGR | DRV8837DSGR:DRV8837DSGR_NV | U2 |
| 1 | PTS526 SM15 SMTR2 LFS | PTS526_SK15_SMTR2_LFS:PTS526SK15SMTR2 LFS-M | SW2 |
| 1 | SMF13A | SMF13A:SMFSeries_LTF | D3 |
| 1 | SSM3J338R_LF | SOT23:SOT-23F_TOS | MOSFET1 |
| 1 | SW_Push | 1825027-2:1825027-2 | SW1 |
| 1 | XZMDKVG55W-8 | XZMDKVG55W-8:LED_XZMDKVG55W-8 | D2 |
| 1 | ZXCT1009F | ZXCT1009F:SOT-23_Handsoldering_ZXCT1009F | U4 |
Questions
How big is the PG attiny404 PCB?
It measures 20.3 × 69.7 mm and has 2 copper layers, 1.6 mm thick.
What parts does the PG attiny404 use?
41 parts, built around the ATTINY804-SSN, DRV8837DSGR-MS, ZXCT1009FTA and CC0805KRX7R7BB104. 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 PG attiny404 KiCad files?
From the fabiansteiner/OpenValve repository on GitHub, at the commit this page was made from: the board is hardware/pcb/PG_attiny404.kicad_pcb and its schematic hardware/pcb/PG_attiny404.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the PG attiny404 design in my own project?
Its repository publishes it under the CERN-OHL-S-2.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
- 4 layers73.7 × 45.7 mm

- 2 layers55.9 × 22.9 mm

Riotee SensorShield
NessieCircuits/Riotee_SensorShield
The Riotee Sensor Shield adds a microphone, an accelerometer and a temperature and humidty sensor to the Riotee Board.
24 parts1CERN-OHL-W-2.0 - 6 layers177.8 × 168.9 mm

LogicBoard smt
clydeshaffer/gametank
design files for the gametank hardware implementation
225 parts150 - 2 layers97.5 × 79 mm

RGB LED Driver
PCB-Design-MIT/Wi-Fi-Controlled-RGB-Light
A demo board for students to learn to solder and debug
144 parts4 - 2 layers100 × 100 mm

- 4 layers43.9 × 41 mm

Capteur
RubisCatty/Serre-Connecte
Projet final du programme de Génie Électrique par Sonia Michaud
43 parts - 2 layers90.5 × 27.7 mm

- 2 layers58 × 42 mm

GR ATTiny LED
GadgetReboot/8ChLED
8 Addressable LEDs show logic input high/low states for easy probing
55 parts3