Skip to content

Capacitive Soil Moisture Sensor with ESP8266

Advertising
Advertising
?
Creation quality: 5.0/5 (1 vote)
Evaluation of members on the printability, utility, level of detail, etc.

  • 9.4k views
  • 9 likes
  • 135 downloads

License
3D design format
STL Folder details Close
  • Soil_Base_V4.stl
  • Soil_Base_V4_Top.stl

Learn more about the formats

Publication date 2020-04-02 at 16:19
Design number 127333

3D printer file info

3D model description

Capacitive Soil Moisture Sensor, based on ESP8266 (Mini D1) and 1$ sensor.

This module run ESPHome, and connect to Home Assistant.
Sensor is plugged in Analog To Digital converter.

Material:
- ESP 8266 d1 mini : https://www.aliexpress.com/item/32635160765.html
- Sensor : https://www.aliexpress.com/item/32832538686.html


Code:
esphome:
name: d1_mini_1
platform: ESP8266
board: d1_mini

wifi:
ssid: "ssid"
password: "password"

#Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "D1 Mini 1 Fallback Hotspot"
password: "62wyi816wkxL"

captive_portal:

#Enable logging
logger:

#Enable Home Assistant API
api:
password: "password"

ota:
password: "password"

#ADC converter input
sensor:
- platform: adc
pin: A0
filters:
- lambda: |-
if (x > 0.53) {
return 0;
} else if (x < 0.29) {
return 100;
} else {
return (0.53-x) / (0.53-0.29) * 100.0;
}
name: "Grapefruit_watering"
update_interval: 2s

Advertising


Issue with this design? Report a problem.

Would you like to support Cults?

You like Cults and you want to help us continue the adventure independently? Please note that we are a small team of 3 people, therefore it is very simple to support us to maintain the activity and create future developments. Here are 4 solutions accessible to all:

  • ADVERTISING: Disable your banner blocker (AdBlock, …) and click on our banner ads.

  • AFFILIATION: Make your purchases online by clicking on our affiliate links here Amazon.

  • DONATE: If you want, you can make a donation via Ko-Fi πŸ’œ.

  • WORD OF MOUTH: Invite your friends to come, discover the platform and the magnificent 3D files shared by the community!


Sharing and downloading on Cults3D guarantees that designs remain in makers community hands! And not in the hands of the 3D printing or software giants who own the competing platforms and exploit the designs for their own commercial interests.

Cults3D is an independent, self-financed site that is not accountable to any investor or brand. Almost all of the site's revenues are paid back to the platform's makers. The content published on the site serves only the interests of its authors and not those of 3D printer brands who also wish to control the 3D modeling market.

100% secure payment by credit card, PayPal, Apple Pay, Google Pay, etc.
View all payment options.