Skip to the content
PCBKitNew board
2 layers120.7 × 57.1 mmPoop Valve, the printed circuit board in 3D

Poop Valve

vmoa/poop-meter

RFO Poop Meter: design, schematic and code

Size
120.7 × 57.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
22
Nets
18
Pads
54
Tracks, vias
86, 0
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
30 Nov 2021
Updated
29 Sep 2023

Overview

Poop Valve is an open-source printed circuit board by vmoa, from the vmoa/poop-meter repository on GitHub. It is a 2-layer board of 120.7 × 57.1 mm with 22 parts on 18 nets, routed with 86 tracks and 0 vias.

It is built around the LM7815T, 1N4732A and D882. Its parts include 7 resistors, 4 diodes, 2 connectors, 1 IC and 1 transistor. It belongs with the audio and music and sensors and measurement boards of this library.

Main components

3

README

README.md

poop-meter

Source code and design for the ultrasnoic septic tank monitor and main water shutoff.

  • Doc: Documentation and technical notes.
  • Deprecated Arduino and Perl code for the previous incarnation.
  • Poop-Valve: Schematic for the water main shutoff valve.
  • etc: Support files (Raspberry Pi startup script, crontab).
  • src: Python source code.

TL;DR

Tracks the depth of the effluent in the septic holding tank. Notifies a human (SMS text) at intervals, more frequently as the tank gets more full. Shuts off the main water valve if the tank gets to a panic level.

Notable Notes

Software dependencies are spelled out in poopWatcher.py, but we also need a confguration file that tells us how to authenticate with Twilio to send text messages. This file can reside twilio.conf tin any of the curerent directory, in './etc/twilio.conf', or in '/usr/local/etc/twilio.conf'. For security reasons this file is not in the repository. Create the file and fill out at least the [twilio] stanza and add users to the recipient stanza as desired.

text
[twilio]
account_sid = **********************************
auth_token  = ********************************
from_phone = +1xxxyyyzzzz

[recipient]
dave = +1xxxyyyzzzz

A more detailed explanation is forthcoming.

Detailed Design

Super high level: we are multi-threaded and are a mix between polled and GPIO event driven threads. A side effect of this is that software bugs do not generally cause fatal errors. Polling is handled by poop.Poop.perSecond() which, first thing, schedules itself to run again in one second. It then, as prescribed by the poopinterval dictionary, dispatches an ADC sample of the poop tank, flashes the heartbeat LED, prints a status report to the log, does housekeeping, and (regarless of the dictionary) decides if we need to page a human and/or open/close the mains valve.

Simple, no?

Poop meter schematic

Poop meter internals

Parts

22
QtyValueFootprintReferences
31N4007Diode_THT:D_T-1_P10.16mm_HorizontalD2, D3, D4
21000Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR1, R3
21500Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR4, R5
110KResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR6
11200Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR7
118VDCTerminalBlock:TerminalBlock_bornier-2_P5.08mmJ1
11N4732ADiode_THT:D_T-1_P10.16mm_HorizontalD1
11Ω/5WResistor_THT:R_Axial_Power_L25.0mm_W9.0mm_P30.48mmR2
150KPotentiometer_THT:Potentiometer_Bourns_3386C_HorizontalRV1
1B.ConnLED_THT:LED_D5.0mmE4
1BatteryTerminalBlock:TerminalBlock_bornier-2_P5.08mmJ2
1ChargedLED_THT:LED_D5.0mmE3
1ChargingLED_THT:LED_D5.0mmE2
1D882Package_TO_SOT_THT:TO-126-3_VerticalQ1
1LM7815Package_TO_SOT_THT:TO-220-3_VerticalU1
1PowerLED_THT:LED_D5.0mmE1
1Run/CalConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJP1
1SPDT RelayRelay_THT:Relay_DPDT_Finder_30.22K7

Questions

How big is the Poop Valve PCB?

It measures 120.7 × 57.1 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Poop Valve use?

22 parts, built around the LM7815T, 1N4732A and D882. 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 Poop Valve KiCad files?

From the vmoa/poop-meter repository on GitHub, at the commit this page was made from: the board is Poop-Valve/Poop-Valve.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Poop Valve design in my own project?

Its repository states no licence, so its author keeps all rights: ask vmoa before reusing the design.

Similar boards

  • 4 layers100 × 100 mmLM399-Voltage Standard, the printed circuit board in 3D

    LM399-Voltage Standard

    IndexAsm/LM399-Voltage-Standard

    10V Voltage Standard used to calibrate equipment.

    118 parts
  • 2 layers75.2 × 90.4 mm15v supply, the printed circuit board in 3D

    15v supply

    dmsmccann/Spectrum-Analyzer

    Based on design by W7ZOI in 1998 QST

    24 parts2
  • 2 layers99.7 × 34.3 mmFonte pequena, the printed circuit board in 3D

    Fonte pequena

    pedrodsk/pcb_cad

    Pcb projects

    19 parts
  • 2 layers64.1 × 39.4 mmC64-Power Saver, the printed circuit board in 3D

    C64-Power Saver

    tebl/C64-Power-Saver

    C64 power supplies are ancient, they go bad every day so use protection!

    16 parts46
  • 2 layers134.6 × 101.6 mmJamieMotorControl, the printed circuit board in 3D

    JamieMotorControl

    shareresearchteam/SAMI-Robot

    Software and Hardware resources and development of the SAMI humanoid robot

    43 parts5MIT
  • 2 layers51 × 32 mmLipoGardenLight, the printed circuit board in 3D

    LipoGardenLight

    codesqueak/SmallElectronicsProjects

    A collection of small projects that can be grouped together

    14 parts1
  • 4 layers98 × 98 mmIGEM melty, the printed circuit board in 3D

    IGEM melty

    SreeniEadara/Hopkins-iGEM-2022-electrical

    Schematics and PCB designs for Hopkins iGEM 2022

    64 parts1