

D32 sapflow rtc
Opensource Sapflow
- Size
- 25.6 × 77.8 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 4
- Nets
- 35
- Pads
- 49
- Tracks, vias
- 39, 6
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 25 Dec 2019
- Updated
- 10 Oct 2023
Overview
D32 sapflow rtc is an open-source printed circuit board by dotmote, from the dotmote/sapflow repository on GitHub. It is a 2-layer board of 25.6 × 77.8 mm with 4 parts on 35 nets, routed with 39 tracks and 6 vias.
It belongs with the radio and wireless boards of this library.
README
README.mdSapflow Using the External Heat Ratio Method

So you want to measure sapflow in plants? You and me both, buddy. The goal of this project is to create an open-source, accurate, robust, low-cost, and low-power system to help answer the age-old question: "How is my plant doing?"
Getting Started
Take a look at the hardware and software sections below for instructions on what you'll need to set up your own system and join in on improving the project.
Hardware
Sapflow Gauge
First, you'll need a way to measure and record the temperature at two specific points (equidistant from a central heating element) along the stem of your plant:



To build the gauge, you'll need: (1) the PCB; and (2) the components.
Fabricate the PCB
See here for the KiCad PCB files. Follow the directions from your favorite PCB fabrication service (e.g., OSHPark, JLCPCB, Seeed Studio, etc.), and order your desired quantity of PCBs.
Gather the Parts
See here for the parts list. Go to your favorite electronic components distributor (e.g., Digikey, Arrow, Mouser, etc.) and order your desired quantity of components.
Microcontroller
Second, you'll need a microcontroller that has an available GPIO pin (3.3V to 5V) and can communicate via I2C. We've found the ESP32 (specifically, the LOLIN D32 Pro dev board) to be great for rapid prototyping with its relatively large onboard RAM, built-in WiFi, and low cost. For field experiments, it might make more sense to use a board with more low-power optimizations.
Microcontroller Shield
To reduce wiring, you might want to use a shield to interface your microcontroller with the sapflow gauge connector. See here for our shield design for the D32 Pro.
Software
Microcontroller Firmware
You'll need software running on your microcontroller to read data from the connected sapflow gauge. See here for the Arduino code we used for the D32 Pro.
Edge Compute Node
If you're using microcontrollers with WiFi connectivity, it's very convenient to have all of the data streaming into a single place. We like using a Raspberry Pi as an MQTT broker, collecting data points from all of the networked sensor devices. See here for more info.
Data Visualization
Visualize your hard-earned data with this Observable notebook.
Raw data:

After processing:

References
We've stood on the shoulders of countless giants in working on this project. Below is a non-exhaustive list of the many previous efforts that we drew heavily from (let us know who we've missed and we'll make sure to add them):
Sapflow
- Burgess, S.S.O., Adams, M.A., Turner, N.C., Beverly, C.R., Ong, C.K., Khan, A.A.H., and Bleby, T.M. (2001). An improved heat pulse method to measure low and reverse rates of sap flow in woody plants. Tree Physiology 21, 589–598.
- Clearwater, M.J., Luo, Z., Mazzeo, M., and Dichio, B. (2009). An external heat pulse method for measurement of sap flow through fruit pedicels, leaf petioles and other small-diameter stems. Plant, Cell & Environment 32, 1652–1663.
- Marshall, D.C. (1958). Measurement of Sap Flow in Conifers by Heat Transport. Plant Physiol. 33, 385–396.
- Skelton, R. (2017). Miniature External Sapflow Gauges and the Heat Ratio Method for Quantifying Plant Water Loss. BIO-PROTOCOL 7.
Open-Source Research Tools
- Chris Lucani & Team @ Brodribb Lab, University of Tasmania: Open Source OV.
- OPEnS Lab, Oregon State University: Sap Flow Meter.
Parts
4| Qty | Value | Footprint | References |
|---|---|---|---|
| 1 | adafruit_ds3231 | adafruit:adafruit_ds3231 | U4 |
| 1 | d32_pro | wemos_d32:d32_pro | U2 |
| 1 | sapflow_gauge_5_pin | Connector_JST:JST_EH_S5B-EH_1x05_P2.50mm_Horizontal | SAPFLOW GAUGE |
| 1 | soil_moisture_4_pin | Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_Horizontal | SOIL MOISTURE |
More from dotmote/sapflow
1- 2 layers26.2 × 34.6 mm

Similar boards
- 2 layers18.5 × 26 mm

24g2usb rp2350zero
joypad-ai/joypad-os
Universal controller firmware for building adapters, dongles, and custom controllers.
4 parts1.7kApache-2.0 - 2 layers116 × 33 mm

- 2 layers19 × 18 mm

Daughter board
hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!
4 parts915 - 2 layers24.8 × 24.8 mm

Nrf24 breakout
tardate/LittleArduinoProjects
a collection of "Little Electronic & Arduino Projects", most involving electronics or an Arduino in one way or another!
4 parts803MIT - 2 layers26 × 20 mm

Cap chain
drandyhaas/KiCadRoutingTools
A set of Python/Rust tools to aid routing in KiCad
4 parts744MIT - 2 layers34.7 × 20 mm

XG Station Power MSI
osy/XG_Mobile_Station
Open source eGPU dock for ROG Ally and ROG Flow
4 parts712CC-BY-4.0 - 2 layers20.3 × 24.5 mm

Jack power input
Luos-io/luos_engine
Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.
4 parts546MIT - 2 layers35.1 × 92.1 mm

SDEX2M2 MicroSD Express to M.2 NVMe Adapter for Switch 2 WIP
NVNTLabs/switch2-SDEX2M2
Micro SD Express to M.2 NVME Adapter for Nintendo Switch 2
4 parts542GPL-3.0
Questions
How big is the D32 sapflow rtc PCB?
It measures 25.6 × 77.8 mm and has 2 copper layers, 1.6 mm thick.
What parts does the D32 sapflow rtc use?
4 parts. 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 D32 sapflow rtc KiCad files?
From the dotmote/sapflow repository on GitHub, at the commit this page was made from: the board is hardware/microcontroller_shield/d32_pro/kicad/d32_sapflow_rtc/d32_sapflow_rtc.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the D32 sapflow rtc design in my own project?
Its repository states no licence, so its author keeps all rights: ask dotmote before reusing the design.