Uploaded March 2026 | Updated November 2026, 1 day ago
Esty listing: etsy.com/listing/4477193325
Github for schematic and CAD: github.com/techdregs/Soil_Moisture_Sensor
Example YAML:
sensor:
- platform: pulse_meter
pin:
number: GPIO5 #replace with your pin
mode:
input: true
pullup: false
inverted: false
name: "Pulse Counter"
unit_of_measurement: "kHz"
accuracy_decimals: 2
#use_pcnt: true #uncomment if you have a hardware pulse counter
internal_filter: 0us
# Avoid PCNT overflow
#update_interval: 50ms
filters:
# base ESPHome calculates pulses/min, this converts to kHz
- multiply: 0.0000166667
# Smooth and publish
- sliding_window_moving_average:
window_size: 100
send_every: 100
=== Timestamps ===
00:00 Introduction
04:22 Demo of basic capacitive sensor
05:20 Demo of frequency based sensor
09:32 Supplemental
10:36 Pricing and Conclusion
Esty listing: etsy.com/listing/4477193325
Github for schematic and CAD: github.com/techdregs/Soil_Moisture_Sensor
Example YAML:
sensor:
- platform: pulse_meter
pin:
number: GPIO5 #replace with your pin
mode:
input: true
pullup: false
inverted: false
name: "Pulse Counter"
unit_of_measurement: "kHz"
accuracy_decimals: 2
#use_pcnt: true #uncomment if you have a hardware pulse counter
internal_filter: 0us
# Avoid PCNT overflow
#update_interval: 50ms
filters:
# base ESPHome calculates pulses/min, this converts to kHz
- multiply: 0.0000166667
# Smooth and publish
- sliding_window_moving_average:
window_size: 100
send_every: 100
=== Timestamps ===
00:00 Introduction
04:22 Demo of basic capacitive sensor
05:20 Demo of frequency based sensor
09:32 Supplemental
10:36 Pricing and Conclusion










