
Disclosure: As an Amazon Associate I earn from qualifying purchases.
Every meteor shower has the same problem: the sky is huge, the meteors are fast, and you are asleep. A Raspberry Pi camera stares straight up all night, takes a long exposure every minute and stacks them into one picture of the whole sky — star trails and every meteor bright enough to streak. Build it now and it is ready for the Geminids in mid-December.
Get the full kit → jumps to the parts list. If you are starting from zero, read the starter-kit guide first. Good companions: the ISS tracker (Project 10) and the weather station (Project 08), the other outdoor Pi.
What an All-Sky Camera Actually Sees
A normal camera looks at a slice of sky. An all-sky camera looks at all of it — horizon to horizon — through a fisheye lens, the bulging glass on a door peephole. One frame holds the whole dome overhead: a meteor can appear anywhere.
Each exposure runs 20 to 30 seconds, long enough for faint stars to register and a meteor to draw a bright line. The Pi takes one frame a minute, all night. In the morning you stack them: free software layers the frames into one image, the stars smearing into circular trails while anything that moved shows up as a streak. A meteor’s is short, bright, gone in one frame. A plane’s is a dotted line across many frames. A satellite’s is a thin, steady line. After one night you can tell them apart.
This is a patient build. The camera works while you sleep, and the payoff is a picture of your own sky no phone can take — plus a log of every bright meteor it caught, dated and timed.
What You’ll Need
- A Raspberry Pi 4 Model B, 4 GB — ~$55 est. It runs the camera, saves the frames, and stacks them. A Pi 5 works too.
- A Raspberry Pi HQ Camera — ~$50 est. A 12-megapixel sensor with a lens mount, built for long exposures.
- A fisheye CS-mount lens, around 2.1 mm — ~$25 est. The bulging glass that squeezes the whole sky into one frame — 2.1 mm covers horizon to horizon.
- A clear acrylic dome — ~$18 est. A transparent hemisphere over the lens, so the camera lives outside in rain and dew. Genuinely clear, not tinted.
- A microSD card, 64 GB — ~$10 est. One night is a few hundred megabytes. 64 GB holds a whole meteor season.
- A USB-C power supply, 5 V 3 A — ~$10 est. The Pi runs all night outdoors; a sagging charger means a dead camera at 2 a.m.
- A weatherproof junction box — ~$15 est. The Pi lives inside it, under the dome; a cable gland where the power enters keeps the rain out.
Total: ~$183 in parts, est. (November 2026). You will also need a ribbon cable, screws, and silica gel for inside the dome.
Step 1 — Build the Eye (45 Minutes)
Screw the fisheye lens into the HQ Camera’s CS mount and connect the camera to the Pi with the ribbon cable — blue side facing the right way, clips closed gently. Test in daylight first: black corners mean the lens is not seated fully. Focus is the fiddly part: turn the lens ring to focus on a distant rooftop in daylight, then fine-tune at night on a bright star until it is a pinprick, not a blob.
Mount the camera on a small plate inside the junction box, lens poking through a hole in the lid, dome over the top. Keep the lens as close to the dome as it can sit without touching it — a gap means reflections of the Pi’s own LEDs in the night frames, and black tape over those LEDs is the cheapest fix in the build. Test it on a table before it goes outside: one 20-second exposure, lights off, should show a round frame of whatever light leaks in.
Step 2 — Weatherproof It (30 Minutes)
The dome is the difference between a camera and a puddle. Seat it on the box lid with a foam gasket or a bead of outdoor sealant, screws snug but not crushing — acrylic cracks if you lean on it. The power cable enters through a cable gland in the side of the box, tightened until it grips. The box sits on a fence post, a shed roof, or a tripod, dome up, with a clear view of the sky.
Dew is the enemy, not rain. On a clear night the dome cools below the dew point and fogs from the inside, and a fogged dome photographs fog. Two cheap defences: silica gel inside the dome, swapped monthly, and a tiny 5 V heater strip near the dome’s base, run at low power to keep the acrylic a degree or two above the dew point. Either works; both together work on the dampest nights.
Step 3 — The Night Shift (45 Minutes)
The software is a loop: take a long exposure, save it with the time in the filename, wait, repeat. The Pi’s camera tool handles the exposure — 20 seconds, high gain, saved as a JPEG. A schedule runs it from dusk to dawn, saving frames in a folder named for the date. One night is roughly 400 frames, and a small script deletes the oldest nights once the card fills.
Start with the defaults and tune by looking. Black frames mean the exposure is too short or the gain too low. An orange frame means a streetlight is in view — shift the camera a few degrees or shield the dome’s edge. Streaky stars mean the exposure ran too long: 20 seconds is the sweet spot for a fisheye, where the stars stay round and the meteors still draw their line. Keep a notebook of settings; the best frame of the season comes from the settings you wrote down.
Step 4 — Catch the Meteors (30 Minutes)
In the morning, stack the night. Free stacking software layers all 400 frames into one image: the stars become trails and every meteor is a bright streak frozen in the stack. Then hunt: flip through the frames, or run a frame-difference check that flags any frame that changed suddenly against the one before it. A real meteor appears in exactly one frame, bright at the head, fading at the tail.
Log what you catch: date, time, direction, brightness, and which shower it belonged to — the Geminids in December, the Quadrantids in January, the Perseids next August. After a season you have your own meteor count, a better story than any app’s notification, because the streak in the picture is from your roof. Share the best stack: one image per night, captioned with the shower and the count.
What NOT to Buy
- A narrow kit lens instead of a fisheye. A standard lens sees a slice of sky, and meteors do not schedule themselves into your slice.
- A cheap no-name camera module with no manual exposure. If you cannot set the exposure and gain yourself, the camera will decide the night is dark and take a black frame. The HQ Camera earns its price in this one setting.
- A tinted or smoked dome. A dome that looks cool in daylight steals the faint stars at night. Clear acrylic only — check it against a light before you mount it.
- A Pi Zero for the stacking job. The Zero can take the frames, but stacking 400 takes all day. The Pi 4 does the same stack before breakfast.
- A sealed dome with no desiccant and no vent. A dome that traps damp air fogs on the first clear night. Silica gel inside, a vent or a heater at the base — pick at least one.
The Total, Honestly
- Pi 4 (4 GB): ~$55 est. · HQ Camera: ~$50 est. · Fisheye lens: ~$25 est. · Clear dome: ~$18 est. · microSD card: ~$10 est. · USB-C power supply: ~$10 est. · Junction box: ~$15 est.
- Total: ~$183 in parts, est. (November 2026). The camera and lens are more than a third of it. Already own a Pi 4 and a card? Then this is a ~$118 project.
Build It This Weekend
Mount the fisheye, focus on a bright star, seal the dome, and let the Pi watch one night. Wake up to a stack full of star trails — and if a meteor crossed your sky, a bright streak above your roof. Tomorrow’s build comes back indoors: a stop-motion movie studio, one button per frame.
Where the series goes next: the ISS tracker (Project 10) is the other way to watch the sky, and the full project library holds everything built so far.