Urban Gardening: the Smart Pots
by Jon G Aguado in Workshop > Home Improvement
591 Views, 14 Favorites, 0 Comments
Urban Gardening: the Smart Pots
Welcome to the third (and last) article of my urban gardening series! In this article, we'll explore the design and functionality of the e-Pot Prisma, a 3D-printed smart pot. This innovative planter is equipped with sensors to monitor soil moisture, ambient light, air temperature, and humidity, making it a perfect addition to any smart garden. Let's dive into the details of creating and using this advanced gardening solution that will help us bring our favourite veggies to the table!
Supplies
Materials:
- PETG filament spool for your 3D printer.
- 3m 6mm (outer diameter) pipes.
- Screw fits for the 6mm (OD) pipes.
- Plant monitor with IoT functionalities (like the Smart Plant or similar).
- 2.9" e-paper display.
- 1000mAh LiPo battery.
- 2x 68x37 solar panels.
- 4x 5x3M and 2x 10x3M screws
- Home Assistant setup (optional if you want to integrate automations).
Tools:
- 3D printer (or access to any makerspace having one).
- Solder iron and soldering material.
- Screwdrivers and/or Allen keys.
- Small shovel.
- Sand paper.
Designing the E-Pot Prisma
The e-Pot Prisma is crafted for easy 3D printing and adaptability. It can be wall-mounted and works well with both soil and hydroponic systems. The design features prismatic lateral sections to support solar panels and seamlessly incorporate the Smart Plant board, including an embedded soil moisture probe that contacts the plant's substrate. An e-paper display on the side provides quick access to the plant's vital information.
Designed to integrate with my hydroponic system, the e-Pot Prisma includes two bottom holes for 6mm (OD) pipes: one for water input and another for draining excess water after it reaches a certain level (see step 4 GIF). To test two different substrates—regular soil and clay pebbles for hydroponics—I experimented with various designs, including one with an embedded piping system in the 3D model and another that accommodates a small, attachable pipe.
Printing the E-Pot Prisma
The model is designed to be printed in three separate parts (or together, depending on your preference): the pot itself, the upper cover, and the hanging arm.
To print the e-Pot Prisma, use PETG filament with your 3D printer. I opted for PETG because the pot is intended for outdoor use, where it needs to withstand a wide range of temperatures and weather conditions. If you plan to keep it indoors, PLA is also a suitable alternative.
A specific note: I set the vertical shells to a perimeter of 4 to ensure fully solid walls, but you can adjust the printing parameters according to your preferences.
Assembling the Smart Plant System
Once the pot is printed, begin by assembling the hanging arm using two 10x3M screws. I selected flat-head screws to ensure a smooth transition between the screws and the plastic surface.
Next, prepare the solar panels. Solder two wires, approximately 15 cm long, to the back of the solar panels, connecting the red wire to the positive pad and the black wire to the negative. After soldering, thread the wires through the corresponding upper lateral holes of the pot. Ensure the wires are fully inserted before gluing the solar panels onto the pot.
Now it's time to mount the Smart Plant. Since the Smart Plant's USB-C port will be inaccessible once it's integrated into the e-Pot, you'll need to flash it at least once with ESPHome via USB. After this initial setup, you'll be able to update it over the air (OTA).
Start by partially inserting the Smart Plant board into the pot, then connect the 2.9-inch e-paper display and the battery to the board. Be cautious during this step, as the board-display assembly is fragile and needs to be inserted at a specific angle.
Before fully inserting the Smart Plant into the pot, solder the solar panel wires to the corresponding pads on the board, ensuring the polarity is correct by matching the wire colors.
Finally, secure the upper cover using the remaining four flat-head screws. This will protect the board compartment from potential water spills.
Integrating With Home Assistant
At this stage, the Smart Plant should be powered by the LiPo battery and accessible via Wi-Fi.
Proceed by adding the ESPHome-discovered device to your Home Assistant setup. Configure the plots and views for the streamed data—such as soil moisture, ambient light, air temperature, and humidity sensors—on your dashboard.
Part of the configuration and fine tuning of the system is the testing of the water pumping times into the Prisma e-pots, not only empty, but also filled with the final substrate.
I also strongly recommend integrating Plantbook into Home Assistant. Plantbook helps you select the ideal (or recommended) ranges for your specific plant, allowing you to determine the best parameters for optimal growth. Based on this information, you can create automations in your irrigation or hydroponic system to control how frequently the substrate is watered.
As part of these automations, I like to set up push notifications to alert me of any undesirable conditions in the e-Pot, such as temperature warnings.
Grow Your Plants
Fill the e-Pot Prisma with soil, as you would with any regular pot, or use clay pebbles for a hydroponic setup. Leave a few centimeters of space at the top to add seeds of your preferred plant before completely filling it with your chosen substrate.
Once filled, hang the pot on a vertical surface with 2cm wide horizontal slots, ensuring it is positioned in a sun-exposed area. Over the next few days, you’ll begin receiving data on light exposure, allowing you to adjust the pot’s location if it falls outside the recommended range for your plant.
Finally, connect the inlet and outlet pipes, and fine-tune the system to add just enough water to maintain the recommended soil moisture.
In the coming weeks, you’ll watch your plants grow healthy and strong, ready to be harvested for your salads and green dishes!