Skip to the content
2 layers30 × 126.9 mmMad PlantBug, the printed circuit board in 3D

DIY and open source soil moisture sensor 🪴

Size
30 × 126.9 mm
Copper layers
2
Thickness
1.6 mm
Parts
41
Nets
49
Pads
137
Tracks, vias
240, 54
Pours
2
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
17 Feb 2024
Updated
9 Jan 2025

Overview

Mad PlantBug is an open-source printed circuit board by Incomprehensible, from the Incomprehensible/Mad_PlantBug repository on GitHub, published under the MIT licence. It is a 2-layer board of 30 × 126.9 mm with 41 parts on 49 nets, routed with 240 tracks and 54 vias.

It is built around the TLV333IDBVR-MS, TMP102AIDRLR(UMW) and ALS-PDIC15-21B/TR8, with the MSK12C02, 1N5819WS and AO3401A among its other parts. Its parts include 15 resistors, 6 capacitors, 4 diodes, 3 ICs and 3 switches. It belongs with the home automation and IoT and sensors and measurement boards of this library.

Main components

8

README

README.md

Mad_PlantBug

Low-power capacitive soil moisture sensor with BLE connectivity.

Features

  • powered via CR2032 coin battery
  • transmits telemetry via BLE
  • measures ambient light and temperature
  • visual indication via LED
TopBottom

How it works

This sensor determines the amount of soil moisture by measuring changes in capacitance of the probe submerged in soil.
Insertable part forms a parasitic coplanar capacitor which uses soil as a dielectric medium.
As the environment around the capacitor changes depending on whether the soil becomes wetter or drier, so does it capacitance.
Together with a resistance the probe forms an RC low-pass filter.
Changes in capacitance shape the output waveform observed by the sensor.
Measurement pipeline logic is as follows:
environment changes -> capacitance changes -> cutoff frequency changes -> peak amplitude changes

Capacitance measurement

  • Clean PCB measurement in air: ~59pF
  • Fully submerged in water: 2nF
Assembly & measurements

Current issues

  • CR2032 footprint and power pins connection is incorrect.

Parts

41
QtyValueFootprintReferences
3R_PullupResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR1, R18, R19
2MSK12C02Mad_PlantBug:MSK12C02S1, S2
2R_DivResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR20, R21
2R_InrushResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR5, R9
2R_PulldownResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR3, R12
11N5819WSMad_PlantBug:D_SOD-323_HandSolderingD3
1ALIVE_LEDLED_SMD:LED_0603_1608MetricD2
1ALS-PDIC15-21BMad_PlantBug:ALS-PDIC15-21BTR8D4
1AO3401APackage_TO_SOT_SMD:SOT-23Q1
1C_BypassCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC9
1C_DebounceCapacitor_SMD:C_0603_1608MetricC1
1C_DecCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC2
1C_DecCapacitor_SMD:C_0603_1608MetricC6
1C_HoldCapacitor_SMD:C_0603_1608MetricC4
1C_extraCapacitor_SMD:C_0402_1005MetricC3
1Conn_01x03Mad_PlantBug:MOLEX_530480310J2
1LOGOMad_PlantBug:brain_logoG***
1MY-2032-08Mad_PlantBug:MY203208H1
1PTS526Mad_PlantBug:PTS526SK15SMTR2LFSS3
1PWR_LEDLED_SMD:LED_0603_1608MetricD1
1RXITestPoint:TestPoint_Pad_1.0x1.0mmTP3
1R_DischargeResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR6
1R_DumpResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR2
1R_LedResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR4
1R_SenseResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR7
1R_SenseResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR13
1R_protectResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR8
1TLV333IDBVRMad_PlantBug:TLV333-SOT95P280X145-5NU2
1TMP102AIDRLRMad_PlantBug:SOTFL50P160X60-6NIC1
1TXOTestPoint:TestPoint_Pad_1.0x1.0mmTP2
1Test_C_SenseTestPoint:TestPoint_Pad_1.0x1.0mmTP1
1YJ-14015Mad_PlantBug:YJ-14015-ModuleU1
1YJL2302BMad_PlantBug:SOT-23-3Q2

The 39 most common of 41 parts.

Similar boards

  • 2 layers96 × 70 mmEEE3088F HAT, the printed circuit board in 3D

    EEE3088F HAT

    rb-jones/EEE3088F_HAT

    See a 3D render of the PCB from KiCad below,

    84 partsCC-BY-4.0
  • 2 layers89.6 × 116.3 mmHackerBadgePCBV2, the printed circuit board in 3D

    HackerBadgePCBV2

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    31 parts915
  • 4 layers223 × 95 mmAnalog i, the printed circuit board in 3D

    Analog i

    deimoscontrols/deimos

    Realtime data acquisition and controls ecosystem, including hardware, firmware, and software.

    568 parts44
  • 2 layers80 × 79.1 mmPorshe PCB, the printed circuit board in 3D

    Porshe PCB

    AntonSangho/SmartFarm_PCB

    57 parts
  • 4 layers100 × 13.5 mmUsbc soldering iron, the printed circuit board in 3D

    Usbc soldering iron

    ma-ale/usbc_soldering_iron

    synched from https://git.alemauri.eu/alema/usbc_soldering_iron

    82 parts
  • 2 layers98.8 × 68 mmJulkort, the printed circuit board in 3D

    Julkort

    CASE-Association/christmas-cards

    All CASE christmas cards over the years

    30 parts3GPL-3.0
  • 2 layers70 × 65 mmIgnitor driver, the printed circuit board in 3D

    Ignitor driver

    Queens-Rocket-Engineering-Team/gse-control-node

    The GSE control node is the control PCB for GSE systems to integrate with launch control. This includes actuator control, fan control, and a load cell reading.

    54 parts
  • 4 layers100 × 85 mmProjected negative, the printed circuit board in 3D

    Projected negative

    hicancan/carbentra-smart-plug

    CARBENTRA smart plug: AIoT edge device for campus energy orchestration

    105 parts1AGPL-3.0

Questions

How big is the Mad PlantBug PCB?

It measures 30 × 126.9 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Mad PlantBug use?

41 parts, built around the TLV333IDBVR-MS, TMP102AIDRLR(UMW), ALS-PDIC15-21B/TR8 and MSK12C02. 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 Mad PlantBug KiCad files?

From the Incomprehensible/Mad_PlantBug repository on GitHub, at the commit this page was made from: the board is KiCad/Mad_PlantBug.kicad_pcb and its schematic KiCad/Mad_PlantBug.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Mad PlantBug design in my own project?

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).