All packs

Home

Smiling planter

A plant pot that tells you how it feels: a happy face when the soil is moist, a thirsty face when it is dry.

  • Medium
  • about 50 min
  • ESP32-S3
  • 6 parts
  • 10 wires
  • 60 lines of code

ESP32 packs are built on real parts: the simulator runs Arduino Uno circuits only.

Idea

The sensor gives a raw number, not a percentage. You calibrate it yourself with a glass of water, which is what every real measuring instrument needs.

Before you start

Keep the board and the top of the sensor dry. Only the part of the sensor below the line goes into the soil.

What you learn

Reading an analog sensor, calibrating it, and mapping a reading onto 0 to 100.

How it works

  1. input

    Soil sensor

  2. decides

    ESP32-S3

  3. output

    TFT 1.54 in

Powered with 5 V through the board's USB-C port.

A reference design. The sketch is compiled with the real ESP32 toolchain, and its pins are checked against the wiring table automatically. It has not yet been built and tested on real parts by us, so wire it on the bench and run the checks before you build it into a case. Real modules vary: follow the labels printed on yours, not their position in the picture.