Planto: Plant Watering Checker Using ESP32 and Emojis

by vikramksc2604 in Living > Gardening

51 Views, 1 Favorites, 0 Comments

Planto: Plant Watering Checker Using ESP32 and Emojis

Planto: Know when to water your plant using ESP32 and EMOJIS
cover_page.jpg
chargesh.png

This Device is Powered By ESP32 XIAO C3. It will tell you if a plant require water or is lacking it using EMOJIS, a fun and a visual way to keep your plants healthy using easily available electronic parts.

Supplies

SUPPlies.png

You will need Electronic and 3D printed Parts:


Electronic:

  1. Soil Moisture sensor
  2. SSD1306 128 X 64 I2C OLED
  3. XAIO ESP32 C3
  4. TP4056 Charger Module
  5. Lipo battery 3.7 V 400mAh(400mAh or more is fine)
  6. Slide switch


3D Printed Parts (Designed In Fusion 360) attached:

  1. planto_case_base.stl
  2. planto_top.stl


Tools:

  1. Soldering Iron
  2. Hot Glue Gun


Code:

Planto: Github

Gather All the Required Parts

SUPPlies.png
diagresh_planto.png
IMG-20250606-WA0013.jpg

Solder each of these parts to the XIAO ESP32 as shown in Circuit Diagram


Connect ESP32 XIAO C3 Using the USB C PORT

step1.png
select.png
select2.png

If you dont have ARDUINO IDE yet, you can download it on their website.


once downloaded, connect your XIAO ESP32 C3 to your PC using a type c cable.


You will find the connected device as a "ESP32 Family Device" as shown in Image.

Then click on it and you will get a dropdown, press "select other board and port"

Search for XIAO and you will get a C3 option in the list select it.


Code on Github:

Planto: Github

Optionally I have attached the files.

Download the code files attached, you will have two files, one animate.h and other as plantbot.ino


NOTE: Download both the files and store then in a single folder.

NOTE: In the code you will find Threshold values for Sad, Happy and nuetral functions. You can change the value based on the readings you get, in my case anything below 1800 meant the plant was watered well.

After extracting, In the folder simply press on plantbot file.

You will need the following libraries to be installed:

  1. Adafruit SSD1306

You can go to library manager, search for "SSD1306" and you will find it. Install it.

Flash the Code to ESP32

uplaoddplanto.png
uplaod_output.png

Press upload as shown, it will compile and then upload the code to your ESP32 XIAO Board.

As shown in second image it will be uplaoded.

Now press Ctrl+shift+M to open serial Monitor.

See the values being printed.

They will be 4095 as it hasnt been put in the soil.


Now for the final assembly



Assembly With 3D Printed Parts

IMG-20250606-WA0016.jpg
IMG-20250606-WA0017.jpg
IMG-20250606-WA0022.jpg
IMG-20250606-WA0021.jpg

Do check the video on how the parts have been assembled

And Thats It!, You Have a Planto Device

plantoesh.jpg
chargesh.png

Do watch the video to see how the device Works!



Additional Note: You can set the sensitivity of the device using the hole on the front where u can use a screwdriver to set how sensitive it should be.

If you liked this, do leave a like!