Introduction: A device that lets plants "speak their current mood" using an LLM
Hello! This time, I’d like to share the story of developing an "IoT device for conversing with plants." We attached light and moisture sensors to a plant and connected it to a cloud-based LLM (Large Language Model).
From the "prototype on a breadboard" to "trimming features based on user feedback," and then from "implementation on a universal board" to the next step revealed ("challenge with a printed circuit board").
1. Hardware Selection: The Journey from M5Stack to XIAO Amidst Confusion and Convergence
Initially, we started enthusiastically with the M5Stack CoreS3, thinking, "Let's go all-in!" However, upon testing it, it was clearly overkill.
【Contributed Article】A New Form of Care: Conversing with Marigolds
We then switched to the slightly smaller M5StickC S3, but encountered a subtle hurdle where expandability and peripheral equipment were insufficient, leading to the feeling of "it’s just a bit lacking..."
Ultimately, returning to basics, we spread out our breadboards again, and finally arrived at the Seeed Studio XIAO ESP32S3. Its balance of size, cost, and specifications was "just right" for this application.
2. What Features Do Users Love? A Major Shift: "Eliminating Microphones and Speakers"
We initially aimed for a toy-like experience where you could speak directly to the plant via built-in speech recognition and synthesis, and hear a voice back from the plant. However, when actually used:
- Users' true feelings: "It feels a bit embarrassing to talk directly to a plant inside the house."
- The value they truly wanted: "Being able to check the plant's status even when away from home and chatting with it casually to feel reassured."
Users had no resistance to a "remote connection via smartphone" rather than "direct conversation." Furthermore, real microphones and speakers consumed significant power and became a hindrance to wireless operation.
[The Decision Made]
We removed the microphone, speaker, and also the physical tactile switches!
We shifted to an extremely simple configuration consisting only of a "light sensor," "moisture sensor," and "XIAO ESP32S3."
3. Implementation on a Universal Board: Discovering Flip-Chip-Like "Double-Sided High-Density Placement"
After confirming perfect operation on a breadboard, we purchased a universal board and made our first attempt in life.
By cleverly using the cut-off "legs (lead wires)" of diodes and resistors to create wiring routes, we managed to process everything with solder. The excitement when it powered on and operated flawlessly on the first try was immense.

Here was an interesting discovery.
Initially, we didn't know the appropriate size for the board, but we found that by placing the microcontroller (XIAO) on the front side of the board and the sensors on the back side (a structure similar to flip-chip), almost all wiring could fit within the footprint (projected area) of the XIAO. As a result, we realized that an extremely small universal board of about 8x8 or 7x7 grids was sufficient.
4. Next Ambition: Unnecessary, But Want to Do It. "Challenging Printed Circuit Boards (PCBs)"
Now that we’ve achieved efficiency and miniaturization, honestly, the product is complete as is with a universal board. There are no practical reasons (at this moment) to tinker with the circuit further.
But... isn’t it a man’s romance to want to make a printed circuit board (PCB)?
The thrill of surpassing the limits of hand-wiring, designing circuits using CAD software, ordering from Chinese board manufacturers (such as JLCPCB or PCBWay), and having "your own dedicated green (or black) board" delivered. As practice for wiring and improving my electronics skills, next time I plan to download KiCad and challenge converting this to a PCB!
Summary: Insights Gained from This Development
- Start prototypes with too many features, then listen to users and "cut them down"—that is the correct approach.
- The size of the XIAO ESP32S3 is god-tier. It fits into thumb-sized dimensions if double-sided mounting is used.
- Even if not necessary, doing something "because you want to" is the joy of electronics work!
With the current functional requirements, the S3 is overkill, so I am considering dropping down to the C3.