1 Project, 3 Big Surprises: My 2025 Electronics Journey
My 2025 DIY electronics project, an AI plant care system, led to 3 huge surprises in power management, TinyML viability, and component sourcing. Learn more!
David Chen
An embedded systems engineer and lifelong electronics hobbyist passionate about practical, innovative projects.
Introduction: An Ambitious Start to 2025
Every year, I kick things off with a single, ambitious electronics project designed to push my skills. For 2025, my goal was to build an autonomous, AI-powered plant care system. I envisioned a sleek, solar-powered gadget that would not only water my plants but also use a tiny camera to detect signs of disease. I had my BOM (Bill of Materials), my code editor open, and a whole lot of confidence. I expected challenges with machine learning models and maybe some tricky soldering. What I didn't expect were the three major surprises that completely redefined my understanding of modern DIY electronics. This wasn't just a project; it was an education. And it's one I'm excited to share with you.
The Project Blueprint: An AI-Powered Plant Guardian
The concept was straightforward but challenging. I wanted a device that could sit in a plant pot, untethered, for weeks at a time. Its primary duties were:
- Monitor Soil Moisture: Using a capacitive sensor to trigger a small water pump when the soil is dry.
- Check Ambient Conditions: Track temperature and humidity with a reliable sensor.
- AI-Powered Health Check: Once a day, snap a photo of a leaf, run a local TinyML model to check for common diseases, and send an alert to my phone if something was wrong.
- Be Self-Sufficient: Power the entire system with a small solar panel and a LiPo battery.
My initial component list looked something like this: An ESP32-S3 for its dual-core processing and Wi-Fi, a capacitive soil moisture sensor, a DHT22 temperature/humidity sensor, an OV2640 camera module, and a 3.7V LiPo battery with a solar charging circuit. It seemed like a robust, modern setup. Little did I know, the real challenges were hiding where I least expected them.
Surprise #1: The Silent Killer - Unmanaged Power Draw
I've built battery-powered devices before, but this was different. My goal of multi-week autonomy meant that every microamp mattered. My first surprise was discovering just how power-hungry a 'sleeping' microcontroller can be if you're not meticulous.
The Naive Approach and The Shocking Result
Initially, I wrote my code in a simple loop: wake up, take readings, send data, and then call `delay()` for an hour. I assumed this was a low-power state. When I hooked up my power monitor, I was horrified. The system was drawing over 80mA even during its 'idle' state! At that rate, my 1200mAh battery would be dead in less than a day, not weeks. The Wi-Fi radio and the CPU weren't truly sleeping; they were just waiting.
The Deep Sleep Revelation
This sent me down a rabbit hole of power management. The solution was the ESP32's Deep Sleep mode. Unlike a simple delay, Deep Sleep shuts down almost everything—the CPU, most of the RAM, and the Wi-Fi radio. Only the Ultra Low Power (ULP) co-processor and RTC memory remain active. The difference was staggering. By restructuring my code to perform all tasks and then enter deep sleep for an hour, the idle current dropped from ~80mA to a mere ~15µA (microamps). That's a reduction of over 99.9%! This was the single most critical change for achieving battery longevity.
Mode | Typical Current Draw | Wake-up Time | Best Use Case |
---|---|---|---|
Active | 80-240mA | Instant | Processing data, Wi-Fi transmission |
Modem Sleep | ~20-30mA | ~3ms | Maintaining a Wi-Fi connection with low latency |
Light Sleep | ~0.8mA | ~5ms | Pausing CPU while peripherals stay active |
Deep Sleep | ~10-20µA | ~150ms | Long-term battery operation with infrequent wake-ups |
Lesson learned: For any battery-powered project, mastering deep sleep isn't optional; it's the absolute foundation of your design.
Surprise #2: On-Device AI Isn't Science Fiction Anymore
My second surprise came from the 'AI' part of my project. My original plan was to have the ESP32 take a picture and upload it to a cloud server where a powerful Python script with TensorFlow would do the image classification. This is the traditional IoT model.
The Shift to the Edge
While testing, I grew frustrated with the latency, the dependency on a stable Wi-Fi connection, and the potential cloud costs. Then I stumbled deeper into the world of TinyML (Tiny Machine Learning). The idea of running a neural network directly on a resource-constrained microcontroller seemed like magic. Using tools like Edge Impulse and TensorFlow Lite for Microcontrollers, I trained a small image classification model on a few hundred pictures of healthy and diseased leaves.
The "It Actually Works" Magic Moment
The process involved converting a standard TensorFlow model into a highly optimized C array that could be compiled into my firmware. I was deeply skeptical. Could a chip with only a few hundred kilobytes of RAM really perform image recognition? The moment of truth came when I pointed the camera at a picture of a leaf with powdery mildew, and the serial monitor printed: `Classification: Powdery_Mildew (92%)`. It was astonishing. The inference took less than two seconds and happened entirely on the device, with no Wi-Fi needed. This discovery was a game-changer. It meant my device could be smarter, faster, more private, and more robust, all while using less power by avoiding Wi-Fi transmissions.
Lesson learned: The barrier to entry for on-device AI has collapsed. For many tasks, you no longer need to offload intelligence to the cloud. The edge is here, and it's incredibly capable.
Surprise #3: Navigating the 2025 Component Minefield
The post-2022 chip shortage taught us all hard lessons about supply chains. But in 2025, I found a new, more insidious problem: not a lack of components, but a crisis of authenticity.
When a Sensor Isn't a Sensor
My project was giving me bizarre temperature and humidity readings. The DHT22 sensor I bought from a popular online marketplace was reporting 35°C in a 20°C room. After hours of debugging my code, I swapped it with another DHT22 from a trusted distributor like Digi-Key or Mouser. The readings were instantly perfect. On close inspection, the markings on the counterfeit sensor were slightly different. It was a cheap, unreliable clone. The marketplace was flooded with them.
This wasn't an isolated incident. I found forums full of makers in 2025 complaining about fake microcontrollers with less memory than advertised, voltage regulators with poor performance, and sensors that were completely non-functional. The new challenge isn't finding a part in stock; it's finding a real part.
My New Sourcing Checklist for 2025
- Prioritize Authorized Distributors: For critical components like the microcontroller, power management ICs, and key sensors, I now buy exclusively from authorized distributors. The small extra cost is project insurance.
- Read Recent Reviews: For marketplace purchases, ignore the overall star rating. Filter for reviews from the last few months to see if a seller's quality has recently declined.
- Test Components on Arrival: I now have a small breadboard setup to run a basic test script on all sensors and ICs the day they arrive, not when I'm deep into a project.
- Be Wary of "Too Good to Be True" Prices: If a high-demand chip is available for 20% of the normal price, it's almost certainly a fake or a factory reject.
Lesson learned: The electronics supply chain has shifted from a problem of scarcity to one of trust. Verifying component authenticity is a new, essential step in the DIY process.
Final Thoughts: My Biggest Takeaway
This 2025 project taught me more than any other. I set out to build a plant waterer and ended up with a crash course in modern power management, edge AI, and supply chain forensics. The journey was a potent reminder that in electronics, the game is always changing. The challenges you prepare for are rarely the ones that teach you the most important lessons. My AI Plant Guardian is now blinking away happily in my fiddle-leaf fig, a testament not just to a finished project, but to the incredible, surprising, and deeply rewarding journey of being a maker today.