SproutSnap: a 3d Printable Seeder With Time-lapse Recording.
by Jon G Aguado in Living > Gardening
105 Views, 2 Favorites, 0 Comments
SproutSnap: a 3d Printable Seeder With Time-lapse Recording.

Welcome to this Instructables guide where you'll learn how to create your very own SproutSnap— a 3D-printed, self-contained plant growing unit with time-lapse video functionality. Perfect for plant lovers, tech tinkerers, or STEM educators looking to blend gardening with some electronics.
Features:
- 3D-printable modular parts for easy construction
- Built-in water reservoir with float indicator
- Four removable soil pods with push-to-release mechanism
- Snap-on semi-transparent side panel with magnets
- ESP32-CAM module + battery + solar panel for autonomous time-lapse photography
Supplies


Materials:
- PLA or PETG filament spool for your 3D printer
- ESP32-CAM module (and a circuit to flash it)
- 3x 5x3M screws
- TP4056 Charging module
- 5V/2W solar panel
- 1000mAh LiPo battery
- 8x Neodymium magnets (10mm x 2mm)
- Wires
- Soil
- Seeds
Tools:
- 3D printer (or access to any makerspace having one).
- Solder iron and soldering material.
- Screwdrivers and/or Allen keys.
- Small shovel.
- Sand paper.
STL Files:
- Base bottom
- Base top
- 4x Pods
- 4x Pods drainers
- Greenhouse cover
- Camera top
- Camera bottom
Printing the Parts




Regarding the material to print the parts, I chose for PETG so I can store it indoors or outdoor if I don't use it, 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.
Recommended Settings for 3d printing:
- Material: PLA or PETG
- Layer Height: 0.2 mm
- Infill: 30% (although there is barely needed)
- Supports: Not needed
- Brim: Not needed
Assembly Instructions




Snap-In Magnets:
- Insert 4 neodymium magnets into the designated pockets on the top part of the base
- Being aware of the magnets polarity, insert them in the holes from the greenhouse cover.
Assembly the base:
- Leave the float on the center of the bottom part of the base (the water reservoir).
- Place the top part of the base slightly rotated over the bottom part, centered as well so the floater goes through the center.
- Rotate the top part with respect to the bottom part of the base until the walls align and you hear a click.
- Check that the float moves freely to show water level, at this point you can even fill it with water until the floater reaches the surface
Assembly the pods:
- Place the pod drainers at the bottom of each pod.
Finishing:
- Fill the pods with soil.
- Introduce the desired seeds on each pod with soil.
- Place the pods on the gaps of the base.
Electronics & Wiring




For the electronics, the connection is quite simple as long as you respect the polarity (Red -> positive, Black -> negative/GND):
- Place the solar panel on the "camera top" part.
- Solder battery terminals to TP4056 OUT terminals .
- Solder wires from the solar panel to the IN terminals of TP4056.
- Connect TP4056 OUT terminals (in parallel to the battery) to the to ESP32-CAM's 5V and GND.
- Insert all components into the camera cover aligning the camera module and the microSD card with the cover holes.
- Screw and secure both parts of the camera/solar panel assembly securing all the wires inside.
ESP32 Firmware
- Connect your ESP32-CAM module to your computer using a USB-to-Serial adapter.
- Put the board in flash mode:
- Connect GPIO 0 to GND and then press the RESET button (or power cycle the board).
- Using the Arduino IDE :
- Select the correct board (e.g., AI Thinker ESP32-CAM) and COM port.
- Open the provided main.cpp as an Arduino sketch.
- Click Upload.
What the firmware does:
- Initializes the camera and SD card.
- Loads configuration settings (like sleep_time and flash) from config.json on the SD card.
- If enabled, it turns on the flash LED.
- Takes a photo with the camera.
- Saves the image to the SD card with a filename like img_1.jpg, img_2.jpg, etc.
- Goes into deep sleep for the configured time (e.g., 60 seconds), then repeats the process.
Making the Time-lapse
Prerequisites
- Python 3.x installed on your computer
- OpenCV Python package (pip install opencv-python)
- A folder named images/ containing all the .jpg photos from your ESP32-CAM
Script Overview
The provided Python script time-lapse-maker.py does the following:
- Lists and alphabetically sorts .jpg images from the images/ folder.
- Loads each image using OpenCV.
- Creates an MP4 video (timelapse.mp4) at 30 frames per second.
Running the Script
- Place your ESP32-CAM images in a folder called images.
- Make sure time-lapse-maker.py is in the same directory.
- Open a terminal and run:
- After a few seconds, you'll get a file named timelapse.mp4 containing your full plant growth sequence.