예술
뷰티 및 웰니스
공예
문화 및 역사
엔터테인먼트
환경
음식 및 음료
역공학
과학
스포츠
기술
웨어러블
Wood Moisture Meter: Pins, a CMOS Timer and the Forest Products Laboratory Resistance Table (FPL-6)
Ed

작성자

Ed

22. 11월 2026FI
17
0
0
0
0

Wood Moisture Meter: Pins, a CMOS Timer and the Forest Products Laboratory Resistance Table (FPL-6)

A pocket pin meter that tells whether wood is dry enough to use, from 12 to 25 % moisture content. Four brass pins pushed into the wood make it the timing resistor of a CMOS timer; an ESP32 turns the frequency into resistance and reads the moisture from the US Forest Products Laboratory's own table for six woods, corrected for temperature.
중급
About 1 day

안내

1

Watch a pin meter used

A pin-type meter checked on firewood and lumber (Wilson Forest Lands).
2

How wood resistance tells moisture

From FPL-6 (James, Forest Products Laboratory): below fiber saturation, wood's resistance rises steeply as it dries; Douglas-fir measures 22,400 megohms at 7 % and 0.46 megohm at 25 %. Above about 10 % it roughly halves for each 10 C rise. The meter reads the wettest wood touching both poles, so pins should reach 1/4 to 1/5 of the thickness, with the current along the grain.
단계 2 - Image 1
3

Resistance, frequency and temperature

Jupyter 노트북 불러오는 중…
4

Print the case

Floor down, no supports, PETG. The solid front block holds the four pins at the table's spacing.
디자인 파일STLCC0 - Free

이 단계의 재료:

PETG 필라멘트PETG 필라멘트45 g

필요한 도구:

FDM 3D 프린터FDM 3D 프린터
5

Print the lid

Flat, no supports. Windows for the OLED and the species button.
디자인 파일STLCC0 - Free

이 단계의 재료:

PETG 필라멘트PETG 필라멘트15 g

필요한 도구:

FDM 3D 프린터FDM 3D 프린터
6

Change the case (optional)

The FreeCAD script that made the case: OUT=. freecadcmd build_all.py
build_all.pypython
"""Batch 2531 -- printed case for the pin-type wood moisture meter. Pin spacing copies the FPL-6 Table 1 electrode (two poles 1-1/4 in =
31.75 mm apart, the two pins of each pole 1/2 in = 12.7 mm apart, driven 5/16 in = 8 mm deep). Other sizes ours. PETG, no supports.
  wm-base   tray 110 x 50 x 26 mm with a 10 mm solid pin block at the front end: four 1.9 mm holes for 2 mm brass pins (press fit +
            epoxy), USB slot at the back, 4 corner posts
  wm-lid    2.5 mm lid: OLED window 26 x 15 mm, 12.2 mm button hole, 4 x 3.4 mm holes
Run: OUT=<dir> freecadcmd build_all.py"""
import os
import FreeCAD as App, Part, MeshPart
OUT = os.environ["OUT"]; V = App.Vector
L, W, H, WALL, FLOOR, LID, BLOCK = 110.0, 50.0, 26.0, 2.4, 2.4, 2.5, 10.0
POLE, PAIR = 31.75, 12.7
def save(sh, n):
    sh = sh.removeSplitter(); bb = sh.BoundBox
    print(n, "valid", sh.isValid(), "solids", len(sh.Solids), "bbox", [round(v, 1) for v in (bb.XLength, bb.YLength, bb.ZLength)])
    MeshPart.meshFromShape(Shape=sh, LinearDeflection=0.03, AngularDeflection=0.12).write(os.path.join(OUT, n + ".stl"))
    return sh
POSTS = [(BLOCK + 4.5, WALL + 4.5), (L - WALL - 4.5, WALL + 4.5), (BLOCK + 4.5, W - WALL - 4.5), (L - WALL - 4.5, W - WALL - 4.5)]
base = Part.makeBox(L, W, H).cut(Part.makeBox(L - BLOCK - WALL, W - 2 * WALL, H, V(BLOCK, WALL, FLOOR)))
pins = []
for y in (W / 2 - POLE / 2, W / 2 + POLE / 2):
    for z in (H / 2 - PAIR / 2, H / 2 + PAIR / 2):
        pins.append((y, z))
        base = base.cut(Part.makeCylinder(0.95, BLOCK + 2, V(-1, y, z), V(1, 0, 0)))                      # pin hole through the block
        base = base.cut(Part.makeBox(4, 3, 3, V(BLOCK - 0.5, y - 1.5, z - 1.5)))                        # pocket behind for the wire joint
for x, y in POSTS:
    base = base.fuse(Part.makeCylinder(3.5, H - FLOOR, V(x, y, FLOOR))).cut(Part.makeCylinder(1.4, 14, V(x, y, H - 13)))
base = base.cut(Part.makeBox(WALL + 2, 12, 8, V(L - WALL - 1, W / 2 - 6, FLOOR + 3)))                   # USB slot
base = save(base, "wm-base")
lid = Part.makeBox(L, W, LID, V(0, 0, H))
lid = lid.cut(Part.makeBox(26, 15, LID + 2, V(45, W / 2 - 7.5, H - 1)))
lid = lid.cut(Part.makeCylinder(6.1, LID + 2, V(88, W / 2, H - 1)))
for x, y in POSTS:
    lid = lid.cut(Part.makeCylinder(1.7, LID + 2, V(x, y, H - 1)))
lid = save(lid, "wm-lid")
print("pins (y, z):", [(round(a, 2), round(b, 2)) for a, b in pins], "; poles", POLE, "mm apart, pins in a pole", PAIR, "mm apart")

필요한 도구:

디지털 캘리퍼스 6인치디지털 캘리퍼스 6인치
7

Fit the pins

Cut four 25 mm pieces of 2 mm brass rod and file one end of each to a point. Press them through the front block so 8 mm stands out, and fix them with epoxy. Inside, join the two pins of each pole with a short wire and solder; run one wire from each pole.

이 단계의 재료:

황동 봉황동 봉1 piece (2 mm x 100 mm)
2액형 에폭시2액형 에폭시2 g
배선용 전선배선용 전선0.3 m
땜납 선땜납 선1 g

필요한 도구:

쇠톱(핵소)쇠톱(핵소)
금속용 줄금속용 줄
인두인두
8

Build the timer

On perfboard: ICM7555 powered from the ESP32's 3V3 and GND; pins 2 and 6 joined; 1 nF film capacitor from pins 2/6 to GND; pin 4 to 3V3. One pole wire to pin 3 (output), the other to pins 2/6. Pin 3 also to ESP32 GPIO27. OLED SDA 21, SCL 22; button GPIO26 to GND. Keep the pins 2/6 wiring short and clean the flux off: at 100 megohms, dirt leaks.

이 단계의 재료:

집적 회로(IC)집적 회로(IC)1 piece (ICM7555 CMOS timer, 8-pin DIP)
커패시터 키트커패시터 키트1 piece (1 nF film)
ESP32 개발 보드ESP32 개발 보드1 개
OLED 디스플레이OLED 디스플레이1 piece (0.96 in, I2C)
푸시 버튼푸시 버튼1 piece (12 mm panel)
만능 기판만능 기판1 개
배선용 전선배선용 전선0.5 m
땜납 선땜납 선2 g

필요한 도구:

인두인두
와이어 스트리퍼와이어 스트리퍼
9

Load the firmware

Measure your 1 nF capacitor if you can and set C_TIMING; set WOOD_TEMP_C. Libraries Adafruit SSD1306 and GFX; board ESP32 Dev Module. The button steps through the six woods.
wood_moisture_meter.inocpp
// Pin-type wood moisture meter: the wood between two pairs of needles is the timing resistor of an ICM7555 CMOS timer
// (astable, one resistor from OUTPUT to THRESHOLD/TRIGGER, f = 1/(1.4 R C), Renesas ICM7555 datasheet EQ. 1); an ESP32 measures
// the period, works out R, corrects it to 80 F and reads moisture content from the USDA Forest Products Laboratory table
// (Gen. Tech. Rep. FPL-6, James 1975/1984, Table 1: megohms along the grain at 80 F, electrode of two pairs of needles
// 1-1/4 in apart driven 5/16 in deep). CC0. Pins (ours): timer OUTPUT -> GPIO27; OLED SDA 21, SCL 22; button GPIO26 to GND.
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#include <math.h>

const int PIN_FREQ = 27, PIN_BTN = 26;
const float C_TIMING = 1.0e-9;      // 1 nF film capacitor: measure yours and put it here
const float WOOD_TEMP_C = 20.0;     // temperature of the wood (set yours); the table is for 80 F = 26.7 C

// Table 1 (FPL-6), megohms at 12 ... 25 percent moisture content
const int MC0 = 12, NMC = 14;
struct Species { const char* name; float r[NMC]; };
const Species SP[] = {
  {"Douglas-fir",   {120, 60, 33, 18.6, 11.2, 7.1, 4.6, 3.09, 2.14, 1.51, 1.10, .79, .60, .46}},
  {"Pine, white",   {200, 102, 58, 33.1, 19.9, 12.3, 7.9, 5.01, 3.31, 2.19, 1.51, 1.05, .74, .52}},
  {"Pine, ponder.", {300, 150, 81, 44.7, 25.1, 14.8, 9.1, 5.62, 3.55, 2.34, 1.62, 1.15, .87, .69}},
  {"Oak, red",      {125, 63, 32, 18.2, 11.3, 7.3, 4.6, 3.02, 2.09, 1.45, .95, .80, .63, .50}},
  {"Oak, white",    {80, 42, 22, 12.6, 7.2, 4.3, 2.7, 1.70, 1.15, .79, .60, .49, .44, .41}},
  {"Maple, sugar",  {105, 53, 29, 16.6, 10.2, 6.8, 4.5, 3.16, 2.24, 1.62, 1.23, .98, .75, .60}},
};
const int NSP = sizeof(SP) / sizeof(SP[0]);
int sp = 0;

Adafruit_SSD1306 oled(128, 64, &Wire, -1);
volatile unsigned long lastEdge = 0, period = 0;
void IRAM_ATTR onRise() { unsigned long t = micros(); period = t - lastEdge; lastEdge = t; }

// moisture content from megohms (at 80 F): log-log interpolation in the table; NAN outside 12-25 %
float mcFromMeg(float meg, const Species& s) {
  if (meg > s.r[0] || meg < s.r[NMC - 1]) return NAN;
  for (int i = 0; i < NMC - 1; i++) {
    if (meg <= s.r[i] && meg >= s.r[i + 1]) {
      float f = (log(meg) - log(s.r[i])) / (log(s.r[i + 1]) - log(s.r[i]));
      return MC0 + i + f;   // between i and i+1 percent (linear in log R, as the table steps are 1 percent)
    }
  }
  return NAN;
}

void show(const char* a, const char* b, const char* c) {
  oled.clearDisplay(); oled.setTextColor(SSD1306_WHITE);
  oled.setTextSize(1); oled.setCursor(0, 0); oled.print(a);
  oled.setTextSize(2); oled.setCursor(0, 22); oled.print(b);
  oled.setTextSize(1); oled.setCursor(0, 52); oled.print(c);
  oled.display();
}

void setup() {
  pinMode(PIN_FREQ, INPUT); pinMode(PIN_BTN, INPUT_PULLUP);
  attachInterrupt(digitalPinToInterrupt(PIN_FREQ), onRise, RISING);
  Wire.begin(21, 22); oled.begin(SSD1306_SWITCHCAPVCC, 0x3C);
}

void loop() {
  if (digitalRead(PIN_BTN) == LOW) { sp = (sp + 1) % NSP; delay(300); }
  noInterrupts(); unsigned long p = period, age = micros() - lastEdge; interrupts();
  char b[24], c[32];
  if (p == 0 || age > 3000000UL) {                    // no edge for 3 s: wood too dry (or no contact)
    show(SP[sp].name, "DRY <12%", "or pins not in the wood");
  } else {
    float f = 1e6 / p;
    float R = 1.0 / (1.4 * C_TIMING * f);              // ohms, EQ. 1
    float meg80 = R / 1e6 * pow(2.0, (WOOD_TEMP_C - 26.7) / 10.0);   // to 80 F: halves per +10 C (FPL-6, above 10 % MC)
    float mc = mcFromMeg(meg80, SP[sp]);
    snprintf(c, sizeof c, "R %.2f Mohm @ %.0fC", R / 1e6, WOOD_TEMP_C);
    if (isnan(mc)) snprintf(b, sizeof b, meg80 < SP[sp].r[NMC - 1] ? "WET >25%%" : "DRY <12%%");
    else snprintf(b, sizeof b, "%.1f %%", mc);
    show(SP[sp].name, b, c);
  }
  delay(250);
}

이 단계의 재료:

USB-C 케이블USB-C 케이블1 개

필요한 도구:

Arduino IDE가 설치된 컴퓨터Arduino IDE가 설치된 컴퓨터
10

Close it and check it

Fix the boards with tape, close the lid with 4 x M3 x 10. Check: a 1 megohm resistor across the poles must show R about 1 megohm; ten 10 megohm resistors in series, about 100. If 100 reads far off, your timer chip leaks more than typical.

이 단계의 재료:

양면 테이프양면 테이프0.2 m
육각 홈붙이 원통 머리 볼트육각 홈붙이 원통 머리 볼트4 piece (M3 x 10)

필요한 도구:

육각 렌치 세트육각 렌치 세트
저항 키트저항 키트
11

Measure wood

Choose the wood with the button. Push the pins in so the two poles lie one behind the other along the grain, 1/4 to 1/5 of the board's thickness deep, and read at once.
12

Troubleshooting

Meter problems and fixes.

Flow

Loading...
13

History and honest limits

From William L. James, Electric Moisture Meters for Wood, USDA Forest Service Gen. Tech. Rep. FPL-6 (1975): Table 1 values for six woods, the temperature rule and the electrode spacing. Timer figures from the ICM7555 datasheet. Ours: the circuit, the pins and case, the firmware. Range 12-25 % only; the temperature must be set by hand; the chip's leakage limits the dry end. Not built by us yet.

재료

14

필요 도구

9

디자인 파일

2

이 블루프린트로 만드는 것

CC0 퍼블릭 도메인

이 블루프린트는 CC0로 공개되었습니다. 어떤 목적으로든 자유롭게 복사, 수정, 배포 및 사용할 수 있습니다.

제품 구매를 통해 메이커를 지원하세요. 판매자가 설정한 메이커 커미션 을 받거나, 이 블루프린트의 새로운 반복을 만들어 연결로 포함시킬 수 있습니다.

토론

(0)

로그인 하여 토론에 참여하세요

댓글 로딩 중...