Raspberry Pi Pico weather display (MicroPython)
Your first MicroPython project: temperature and humidity on an OLED.
Shop by category
Shop all componentsFixed-focus cameras struggle close up, and a growing plant keeps changing distance. The Arducam IMX519 is a 16 MP Pi camera with a motorised autofocus lens that focuses down to about 10 cm. The Pi takes one autofocused picture every five minutes for days, then ffmpeg joins them into a video.
Tick anything you already have and the total updates.
Arducam IMX519 16 MP autofocus camera
Follow the colours: red is power, dark grey is ground, blue is a signal.
Official Pi supply; this runs for days.
timelapse.sh#!/bin/sh
# one autofocused picture every 5 minutes
mkdir -p ~/sprout && cd ~/sprout
while true; do
rpicam-still -n --autofocus-on-capture --width 2328 --height 1748 -o "img_$(date +%Y%m%d_%H%M).jpg"
sleep 300
done
The driver step for your OS version is missing; check Arducam's guide and 'rpicam-hello --list-cameras'.
Use '--autofocus-window' to focus on the middle, or set a fixed lens position once the plant is up.
Lower the resolution or capture every 10 minutes.
About 10 cm, which suits seeds, insects and flowers.
Yes, with the Pi 5 camera cable.
Yes, stop the script and run 'rpicam-hello' with a screen attached.
4 parts: Arducam B0371 IMX519 Autofocus Camera Module for Raspberry Pi & Jetson Nano, Raspberry Pi 4 Model B 2GB RAM Single Board Computer, Official Raspberry Pi 32GB A2 Class Micro SD Card and Official Raspberry Pi 4 USB-C Power Supply – 15.3W. On this page you can tick the parts you already have and add only the rest to your cart.
It is a intermediate project and takes about 2 hours. The build on this page has 6 steps.
No. This page has the complete, tested code (timelapse.sh).
About ₹11,056 for the parts at the prices on this page. Quantity price breaks lower the cost when you build several.
Autofocus cameras on the Pi; Scheduling time-lapse captures; Turning stills into a video.
Your first MicroPython project: temperature and humidity on an OLED.
A web page with ON and OFF buttons that switches a relay over Wi-Fi.
A warm ring light that fades up at dusk and down at dawn.
Turn a Pi and a touchscreen into a home command centre with a clock and to-do list.
Lessons are free to read. Maker (₹499/month) and Pro add quizzes, worked problems and certificates, paid with your Geekobot account. See plans
Learning project. Check every circuit and the datasheet of each part before you power it up.