Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Sensors
  4. ›LilyGO T-Higrow ESP32 Plant Sensor

Component guide · Beginner · 3 min read

LilyGO T-Higrow ESP32 Plant Sensor

Soil Moisture, Light, Battery and Home Assistant

By Geekobot Learning Team · Updated 29 Oct 2026

On this page
Short answerWhat the LilyGO T-Higrow plant sensor isLilyGO T-Higrow plant sensor pinoutWiring the LilyGO T-Higrow plant sensorExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

The LilyGO T-Higrow is an ESP32 board shaped like a plant stake. It combines a capacitive soil moisture sensor, a BH1750 light sensor, a DHT11 or BME280 for air temperature and humidity, and an 18650 battery holder with charging. Program it in Arduino or ESPHome and it reports to Wi-Fi, MQTT or Home Assistant, then sleeps between readings.

Key specs at a glance

MCU
ESP32, Wi-Fi and Bluetooth
Sensors
Capacitive soil moisture, BH1750 light, DHT11 or BME280, soil salt (on some)
Power
18650 holder, USB charging, solar input on some versions
Connection
USB for programming
Versions
DHT11 version and BME280 version (unsoldered option)
Use
Indoor pots, balcony gardens, small farms
!Safety: Lithium cells need care

A shorted, over-charged or damaged lithium cell can get very hot and catch fire. Use a protection board or BMS, never short the terminals, charge on a non-flammable surface and do not leave a charging pack alone. Throw away cells that are swollen or dented.

Models in this guide

These are alternatives. Pick the one that fits your project; you only need one.

  • Option 1LilyGO T-Higrow ESP32 Soil Moisture & Temperature Sensor Module with DHT11 & BME280₹989
  • Option 2LilyGO T-Higrow BME280 WiFi Bluetooth Soil Moisture Sensor Module – Unsoldered₹1,569
01

What the LilyGO T-Higrow plant sensor is

Typical pins: soil moisture on GPIO 32, salt on GPIO 34, BH1750 and BME280 on I2C SDA 25 and SCL 26, DHT11 on GPIO 16, power enable on GPIO 4 and battery voltage on GPIO 33. Check LilyGO's repository for your board version.

The sensors are powered through an enable pin, so switch it on before reading and off before deep sleep to save the battery.

02

LilyGO T-Higrow plant sensor pinout

The pins on the LilyGO T-Higrow plant sensor and what each one does.

PinFunction
GPIO 32Soil moisture (analog)
GPIO 34Salt / conductivity (some versions)
GPIO 25 / 26I2C SDA / SCL (BH1750, BME280)
GPIO 16DHT11 data
GPIO 4Sensor power enable
GPIO 33Battery voltage
PinFunction
GPIO 32
Soil moisture (analog)
GPIO 34
Salt / conductivity (some versions)
GPIO 25 / 26
I2C SDA / SCL (BH1750, BME280)
GPIO 16
DHT11 data
GPIO 4
Sensor power enable
GPIO 33
Battery voltage
03

Wiring the LilyGO T-Higrow plant sensor

Keep the electronics above the soil and protect the top from rain or splashes.

LilyGO T-Higrow plant sensor pinPartNotes
Soil probePush into the pot to the line-
Battery18650 in the holder-
Solar (if fitted)5 to 6 V panel-
Soil probe
Part:
Push into the pot to the line
Notes:
-
Battery
Part:
18650 in the holder
Notes:
-
Solar (if fitted)
Part:
5 to 6 V panel
Notes:
-
04

Example code

Calibrate the soil reading against dry and wet soil and convert to percent with a filter. Use the DHT or BME280 platform for your version.

ESPHome outline for T-Higrow · yaml
esphome:
  name: plant-1
esp32:
  board: esp32dev
wifi: { ssid: "YOUR_WIFI", password: "YOUR_PASSWORD" }
api:
i2c: { sda: 25, scl: 26 }
switch:
  - platform: gpio
    pin: 4
    id: sensor_power
    restore_mode: ALWAYS_ON
sensor:
  - platform: adc
    pin: 32
    name: "Soil moisture raw"
    attenuation: 12db
  - platform: bh1750
    name: "Light"
deep_sleep:
  run_duration: 20s
  sleep_duration: 30min
05

Setup and tuning

Calibration

note readings in dry and freshly watered soil.

Battery life

read every 30 to 60 minutes and deep sleep in between.

Home Assistant

ESPHome adds the sensors automatically.

Outdoor use

add a cover; the board is not waterproof.

06

What you need

Shop this list5 of 5 found in our store · ₹12,20,088

  • LilyGO T-Higrow ESP32 Soil Moisture & Temperature Sensor Module with DHT11 & BME280: the part this guide coversLilyGO T-Higrow ESP32 Soil Moisture & Temperature Sensor Module with DHT11 & BME280₹989
  • LilyGO T-Higrow BME280 WiFi Bluetooth Soil Moisture Sensor Module – Unsoldered: another version this guide coversLilyGO T-Higrow BME280 WiFi Bluetooth Soil Moisture Sensor Module – Unsoldered₹1,569
  • 18650 Li-ion cell: the battery for the holder18650 Li-ion Rechargeable Cell₹119Closest match, check the specs
  • USB Type-C cable 1 m: for programming and charging24-Core USB Type-C Cable, 1 m₹500Closest match, check the specs
  • Home Assistant Green: a hub for dashboardsHome Assistant Green Smart Home Hub₹23,149
07

Alternatives and when to choose them

  • ✓Capacitive soil moisture sensor: the bare sensor for your own board.
  • ✓RS485 soil sensors: field-grade probes.
  • ✓ESP32 overview: the controller on board.
08

Common mistakes to avoid

  • !Not switching on the sensor power pin.
  • !Burying the electronics.
  • !Reading every few seconds and draining the battery.
  • !Using pins from another board version.
09

Frequently asked questions

Does it need a hub?

No, it can send to MQTT or a web service; Home Assistant is optional.

How long does the battery last?

Weeks to months with 30-minute deep sleep.

Is it waterproof?

No; protect the top from rain.

DHT11 or BME280?

BME280 is more accurate and adds pressure.

Can I program it in Arduino?

Yes, as an ESP32 Dev Module.

Parts for this guide

  • LilyGO T-Higrow ESP32 Soil Moisture & Temperature Sensor Module with DHT11 & BME280
    ₹989View
  • LilyGO T-Higrow BME280 WiFi Bluetooth Soil Moisture Sensor Module – Unsoldered
    ₹1,569View
  • 18650 Li-ion Rechargeable Cell
    ₹119View
  • 24-Core USB Type-C Cable, 1 m
    ₹500View
  • Home Assistant Green Smart Home Hub
    ₹23,149View
Shop Soil Moisture, pH & Agriculture Sensors

Projects that use it

Put this into practice: 41 step-by-step builds in our project library use parts from this guide.

Beginner · 1–2 hoursAutomatic plant watering systemView projectIntermediate · 2 hoursPlant waterer with moisture displayView projectBeginner · 45 minutesHandheld soil moisture meterView project
Browse all 41 projects

Keep learning

Component guideBeginnerCapacitive Soil Moisture Sensor v1.2A capacitive soil moisture sensor measures how water changes the capacitance around its probe, without exposing metal to the soil, so it does not corrode like the forked resistive sensors.3 min read · SensorsComponent guideBeginnerESP32 GuideThe ESP32 is a low-cost 3.3 V microcontroller from Espressif with built-in Wi-Fi and Bluetooth, used for IoT devices, smart-home controllers and web dashboards.5 min read · Boards & MicrocontrollersConcept explainerIntermediateMQTT and Home Assistant for ESP32MQTT is a lightweight messaging system: devices publish messages to named topics on a broker, and anything subscribed to that topic receives them.3 min read · IoT & WirelessComponent guideBeginnerBH1750 light sensorThe BH1750 is a digital ambient light sensor that reports brightness directly in lux over I2C, from 1 to 65,535 lux.3 min read · Sensors

Sources

  • LilyGO T-Higrow GitHub repository
  • ESPHome documentation

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat the LilyGO T-Higrow plant sensor isLilyGO T-Higrow plant sensor pinoutWiring the LilyGO T-Higrow plant sensorExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide2 items · ₹24,138

LilyGO T-Higrow ESP32 Soil Moisture & Temperature Sensor Module with DHT11 & BME280 · Home Assistant Green Smart Home Hub

Ask the Community

Ask a question