Raspberry Pi Pico weather display (MicroPython)
Your first MicroPython project: temperature and humidity on an OLED.
Shop by category
Shop all componentsMost cameras use a rolling shutter: they read the picture line by line, so fast objects lean or bend. A global shutter sensor like the OV9281 captures every pixel at the same instant. The Waveshare OV9281-110 is a 1 MP monochrome camera for the Pi's CSI port, used in machine vision and tracking. With a very short exposure it freezes a fan blade sharply; the script saves a burst of pictures with Picamera2.
Keep fingers away from fan blades while testing.
Tick anything you already have and the total updates.
Waveshare OV9281-110 global shutter camera
Follow the colours: red is power, dark grey is ground, blue is a signal.
Official Pi supply.
burst.pyfrom picamera2 import Picamera2
import time
cam = Picamera2()
cam.configure(cam.create_still_configuration(main={"size": (1280, 800)}))
cam.set_controls({"AeEnable": False, "ExposureTime": 300, "AnalogueGain": 8.0}) # 300 microseconds
cam.start(); time.sleep(1)
for i in range(10):
cam.capture_file(f"frame{i:02d}.jpg")
cam.stop()
print("saved 10 frames")
Check camera_auto_detect=0 and the dtoverlay line, and the ribbon direction.
The exposure is too short for the light; add light or raise AnalogueGain.
Shorten ExposureTime further; the global shutter stops warping, the exposure stops blur.
Monochrome sensors are more sensitive and sharper, which helps tracking and measuring.
Yes, with the Pi 5 camera cable (the connector is smaller).
Robot tracking, barcode reading on moving belts, drones and motion capture.
4 parts: Waveshare OV9281-110 Mono 1MP Global Shutter Camera for Raspberry Pi, 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 (burst.py).
About ₹11,406 for the parts at the prices on this page. Quantity price breaks lower the cost when you build several.
Rolling vs global shutter; Setting exposure and gain in Picamera2; Why machine vision uses monochrome cameras.
Keep fingers away from fan blades while testing.
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.