Skip to the content
PCBKitNew board
2 layers80 × 60 mmSoil moisture sensor, the printed circuit board in 3D

Soil moisture sensor

Extentsoftware/FarmSensors
Size
80 × 60 mm
Copper layers
2
Thickness
1.6 mm
Parts
5
Nets
6
Pads
28
Tracks, vias
6, 0
Pours
2
Routed
Yes
KiCad
KiCad 7 (file 20230121)
Created
16 Jun 2019
Updated
3 Nov 2026

Overview

Soil moisture sensor is an open-source printed circuit board by Extentsoftware, from the Extentsoftware/FarmSensors repository on GitHub. It is a 2-layer board of 80 × 60 mm with 5 parts on 6 nets, routed with 6 tracks and 0 vias.

It is built around the ATTINY85-20PU and 74HC14. Its parts include 2 ICs, 1 capacitor, 1 resistor and 1 connector. It belongs with the sensors and measurement boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

2

README

hardware/Soilv2/soil_moisture_sensor_kicad/README.md

KiCad v9 Soil Moisture Sensor Project

Project Overview

Complete KiCad v9 project for a capacitive soil moisture sensor with interdigitated electrodes, temperature compensation, and LoRa transmission.

Files

  • soil_moisture_sensor.kicad_pro - Main project file
  • soil_moisture_sensor.kicad_sch - Schematic file
  • soil_moisture_sensor.kicad_pcb - PCB layout file

Key Features

  • Interdigitated Electrodes: Advanced capacitive sensing with soldermask protection
  • Temperature Compensation: Air reference electrode for accurate measurements
  • Guard Ring Design: Bootstrap guard ring reduces parasitic capacitance
  • 74HC14 Oscillator: Schmitt trigger RC oscillator for frequency measurement
  • ATTINY85 Microcontroller: Dual sensor reading and 1-wire communication
  • CubeCell LoRa: Wireless data transmission module

PCB Specifications

  • Size: 50mm x 35mm
  • Layers: 2 (Top and Bottom)
  • Thickness: 1.6mm
  • Copper Weight: 1oz (35μm)
  • Soldermask: Green
  • Silkscreen: White
  • Surface Finish: HASL or ENIG

Electrode Design

  • Primary Sensor: 25mm x 15mm interdigitated electrodes
  • Air Reference: 10mm x 10mm temperature compensation
  • Finger Width: 0.5mm
  • Finger Spacing: 0.5mm
  • Guard Ring: 2mm wide, connected to oscillator output

Usage Instructions

1. Open in KiCad v9

  1. Launch KiCad v9
  2. Open soil_moisture_sensor.kicad_pro
  3. The project will load with schematic and PCB files

2. View Schematic

  1. Click "Open Schematic" or double-click .kicad_sch file
  2. View complete circuit design
  3. Check net connections and component values

3. View PCB Layout

  1. Click "Open PCB" or double-click .kicad_pcb file
  2. View 2D/3D PCB layout
  3. Check component placement and routing

4. Generate Manufacturing Files

  1. In PCB Editor: File → Fabrication Outputs → Gerbers
  2. Select layers: F.Cu, B.Cu, F.Mask, B.Mask, F.SilkS, B.SilkS, Edge.Cuts
  3. Generate drill files and pick-and-place files

5. Order PCB

  1. Use generated Gerber files
  2. Specify: 2-layer, 1.6mm thickness, 1oz copper
  3. Include soldermask and silkscreen

Component List

  • U1: 74HC14 (DIP-14) - Schmitt trigger oscillator
  • U2: ATTINY85-20PU (DIP-8) - Microcontroller
  • U3: AMS1117-3.3V (SOT-223) - Voltage regulator
  • U4: CubeCell Module (SMD) - LoRa transmitter
  • R1: 10kΩ (0603) - Timing resistor
  • C1: 100nF (0603) - Decoupling capacitor
  • J1: Power Connector (2-pin) - Power input
  • J2: Programming Header (6-pin) - ISP programming

Net Assignments

  • VCC: 3.3V power rail
  • GND: Ground plane
  • SOIL_FREQ: Soil sensor frequency input
  • AIR_FREQ: Air reference frequency input
  • ONE_WIRE: 1-wire communication line
  • SENSOR_SEL: Sensor selection control

Manufacturing Notes

  • Assembly: CubeCell requires reflow soldering
  • Protection: Apply conformal coating over sensor area
  • Programming: Use 6-pin ISP header for ATTINY85
  • Testing: Verify oscillator frequency and 1-wire communication

Calibration

  1. Dry Soil: Measure frequency in completely dry soil
  2. Wet Soil: Measure frequency in saturated soil
  3. Air Reference: Measure baseline frequency
  4. Update Firmware: Adjust calibration constants

Support

For technical support and questions:

  • Check the main project documentation
  • Review the assembly instructions
  • Contact the maintainers

License

This project is open source. See LICENSE file for details.

Parts

5
QtyValueFootprintReferences
1100nCapacitor_SMD:C_0603_1608MetricC1
110kResistor_SMD:R_0603_1608MetricR1
174HC14Package_DIP:DIP-14_W7.62mmU1
1ATTINY85-20PUPackage_DIP:DIP-8_W7.62mmU2
1Conn_01x02Connector_Generic:Conn_01x02J1

Questions

How big is the Soil moisture sensor PCB?

It measures 80 × 60 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Soil moisture sensor use?

5 parts, built around the ATTINY85-20PU and 74HC14. 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 Soil moisture sensor KiCad files?

From the Extentsoftware/FarmSensors repository on GitHub, at the commit this page was made from: the board is hardware/Soilv2/soil_moisture_sensor.kicad_pcb and its schematic hardware/Soilv2/soil_moisture_sensor.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Soil moisture sensor design in my own project?

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

Similar boards

  • 2 layers30.7 × 76.1 mmRepeater v2, the printed circuit board in 3D

    Repeater v2

    plusvic/simplebus2-intercom

    General description of the Simplebus2 protocol used by some Comelit's intercoms. Hardware for retransmitting Simplebus2 messages over UART.

    17 parts95CC0-1.0
  • 2 layers101.5 × 54 mmSimkarte, the printed circuit board in 3D

    Simkarte

    osmocom/osmocom-analog

    Software Implementation of analog cellular telephony systems like NMT, TACS, IMTS, A/B/C-Netz; mirror of https://gitea.osmocom.org/cellular-infrastructure/osmocom-analog

    15 parts32GPL-3.0
  • 2 layers76.2 × 50.8 mmJerboa-8, the printed circuit board in 3D

    Jerboa-8

    strickyak/jerboa-attiny85-mod-synth

    Modular Synthesizer using an ATtiny85 chip for each module.

    23 parts31MIT
  • 2 layersCastVolumeKnob, the printed circuit board in 3D

    CastVolumeKnob

    WebmasterTD/CastVolumeKnob

    Hardware Volume Knob for Google Cast devices

    18 parts25
  • 2 layers55.9 × 55.9 mmPrintplaat, the printed circuit board in 3D

    Printplaat

    floriaanpost/wonderfoon

    Een nieuwe implementatie van de wonderfoon

    14 parts24
  • 2 layers71.1 × 40.6 mmTiny blinky, the printed circuit board in 3D

    Tiny blinky

    Hack-a-Day/Remoticon_KiCad_Blender

    support files for the 2020 Remoticon KiCad to Blender > PCB renders workshop

    21 parts22
  • 2 layers242 × 60 mmRoothubs, the printed circuit board in 3D

    Roothubs

    gkiefer/home2l

    The Home2Ls - Smart Tools for a Private Home

    178 parts21