Built to order

Raspberry Pi AI Camera Wildlife Monitor with Motion Alerts and Timelapse

This project builds a Raspberry Pi AI Camera wildlife monitor that watches a forest trail or farm edge, detects animals on the camera sensor itself, and sends motion alerts with photos while compiling a daily timelapse. A Raspberry Pi 5 hosts the Sony IMX500 AI Camera (12.3 MP, on-sensor neural processing), a PIR sensor and a solar-charged battery, so the station runs unattended outdoors. The dashboard shows live sightings, detection counts, and battery and solar status. Suitable for B.E./B.Tech final-year projects in IoT & Embedded, Electronics and Computer Science.

Chat on WhatsApp — get a quotation

IoT & Embedded Raspberry PiSQLite + Flask dashboardHC-SR501 PIR motion sensorPython Picamera2 libcameraMobileNet-SSD on-sensor inferenceWhatsApp alerts HTTP APIHybrid
Raspberry Pi 5 board with AI Camera module, PIR motion sensor and battery pack — wildlife monitor prototype on a white background
More project photos (2)

The problem

The Raspberry Pi AI Camera Wildlife Monitor is a solar-powered trail station that watches a forest edge or farm boundary, recognises animals on-sensor, and sends a motion alert with a photo when something moves. At its centre, a Raspberry Pi 5 pairs with the Raspberry Pi AI Camera, built around Sony's IMX500 sensor (12.3 MP, datasheet value), which runs a MobileNet-SSD model on the sensor, leaving the Pi 5 free for the dashboard, logging and alerts. A PIR motion sensor wakes the camera only on warm movement, and a 20 W solar panel (design target) with a 12 V battery (design target) keeps the station running unattended outdoors. Every detection is logged with time, species and confidence, and the day's frames become one timelapse automatically. Because detection runs on the sensor, only metadata and triggered stills cross the camera link — the first-principles reason this station runs for days on a small solar panel instead of streaming video.

Approach Where detection runs Internet needed for detection Species identification Power between events
On-sensor AI camera (this project) On the IMX500 sensor No Yes, by model class Low, PIR wake only
PIR trail camera Nowhere, motion only No No Low
Cloud camera trap Remote server Yes, uploads every clip Yes, after upload Higher, radio always on

This is a built-to-order hybrid project: the trail station, firmware, dashboard and the complete viva kit (report, PPT, Q&A) are prepared fresh for you.

Related built-to-order projects on this site: ESP32 wireless weather station (https://projectech.in/projects/esp32-wireless-weather-station-rain-gauge-cloud-logging/), IoT beehive monitoring system (https://projectech.in/projects/iot-beehive-monitoring-system-hive-weight-temperature-humidity/), and bird species identification from birdsong (https://projectech.in/projects/bird-species-identification-birdsong-cnn-birdclef/).

SYSTEM FLOW

6 components 5 connections

Live flow
Drag to explore
100%
sensorPIR motion sensor

Warm movement on trail

Follow the working sequence

How it works

The station works as one chain from the trail to the ranger's phone. The PIR sensor watches for warm movement; on movement it wakes the Pi 5, which triggers the AI Camera to capture a frame. The IMX500 sensor runs the MobileNet-SSD model on that frame and returns bounding boxes, class labels and confidence scores as metadata with the image. The Pi 5 checks each confidence against a configured threshold, saves the photo with a log entry carrying time, label and confidence, and sends a WhatsApp alert with the photo when the threshold is met. Between events the station sleeps on PIR watch, so solar and battery cover days of unattended operation, and once a day the Pi 5 compiles the captured frames into a timelapse. The dashboard reads the same log the alerts use, so its feed, counts and battery status always match what the station recorded.

  1. The PIR motion sensor watches the trail continuously while the Pi 5 idles on low power.
  2. Warm movement triggers the PIR sensor, which wakes the Pi 5 and the AI Camera.
  3. The AI Camera captures a frame and the IMX500 sensor runs MobileNet-SSD on-sensor, returning bounding boxes, labels and confidence scores.
  4. The Pi 5 compares each confidence score against the configured threshold (default 0.70 on a 0–1 confidence scale, configurable).
  5. Detections above the threshold are saved with the photo, time, species label and confidence, and written to the sightings log.
  6. A WhatsApp alert with the photo, time and species label is sent to the configured number when the network is available.
  7. The Flask dashboard updates the sightings feed, per-species counts and battery status from the same log.
  8. Once a day the Pi 5 compiles the day's frames into a timelapse video at 1 frame per minute (design configuration).

Tech stack:

  • Raspberry Pi 5
  • Raspberry Pi AI Camera · Sony IMX500
  • Python · Picamera2 · libcamera
  • MobileNet-SSD on-sensor inference
  • PIR motion sensor · HC-SR501
  • Flask dashboard · SQLite
  • Solar charge controller · 12 V battery
  • WhatsApp alerts · HTTP API

Dataset & model details

  • Dataset: COCO (Common Objects in Context) — 330,000 images across 80 object classes, including person, dog, cat, bird and horse; the pre-loaded MobileNet-SSD model is trained on this public dataset. Wildlife-specific classes are added by fine-tuning on field images collected at the deployment site.
  • Task: Object detection; input = camera frame resized to the model tensor input (300 × 300 pixels, design value), output = bounding boxes with class labels and confidence scores.
  • Model: MobileNet-SSD (single-shot detector on a MobileNet backbone), INT8, running on the IMX500 neural accelerator; an on-board RP2040 microcontroller manages the neural-network firmware.
  • Metrics: Precision, recall and mAP are the evaluation metrics for the detection model. No accuracy figure is claimed before the build's field test: the report documents the achieved figures after testing with site images. Development target: approximately 0.80 mean confidence on a 0–1 confidence scale for clear daylight detections of the trained classes.
Parameter Value
Controller Raspberry Pi 5 (4 GB RAM, design configuration)
Camera sensor Sony IMX500 · 12.3 MP · 1.55 µm × 1.55 µm pixels (datasheet value)
Still resolution 4056 × 3040 pixels at 10 fps (datasheet value)
Binned video 2028 × 1520 pixels at 30 fps (datasheet value)
Field of view 66.3° horizontal · 52.3° vertical (datasheet value)
Lens 4.74 mm focal length · f/1.79 · manual focus 20 cm – ∞ (datasheet value)
On-sensor memory 8,388,480 bytes for firmware, weights and working memory (datasheet value)
Max tensor input 640 × 640 pixels · INT8 (datasheet value)
Motion sensor PIR HC-SR501 · approximately 7 m range · 120° angle (component specification, typical)
Power 20 W solar panel · 12 V 7 Ah battery (design target)
Operating temperature 0 °C to 50 °C (datasheet value)
Storage 128 GB microSD card (design configuration)
Timelapse 1 frame per minute · 1,440 frames per 24-hour day (design configuration)

Project features

The station's strongest capabilities are its on-sensor detection, its PIR-triggered alerting, its automatic timelapse, and its live dashboard. Because the MobileNet-SSD model runs on the IMX500 sensor, detection happens inside the camera module and only the detection result, a still photo and a short metadata record travel to the Pi 5, which keeps the processor free and the power draw low. The PIR sensor wakes the camera only when warm movement crosses the trail, so the station ignores wind-blown leaves and saves battery between events. Every confirmed detection sends a motion alert with a photo to the ranger's phone, and the station also compiles the day's frames into one timelapse video overnight. In the demo build that ships with this project, the timelapse viewer is wired to 1 frame per minute, which is 1,440 frames per 24-hour day. The dashboard ties it together with a sightings feed, per-species counts, and battery and solar status.

  • [On-sensor animal detection] The IMX500 sensor runs the MobileNet-SSD model itself and returns bounding boxes, class labels and confidence scores, so the Pi 5 processor is never loaded with inference work.
  • [PIR-triggered capture] An HC-SR501 PIR sensor wakes the camera only on warm movement, so the station ignores wind-blown leaves and saves battery between events.
  • [Motion alerts with photos] Every detection above the configured confidence threshold sends a WhatsApp alert with the captured photo, time and species label to the ranger's phone.
  • [Automatic daily timelapse] The station captures 1 frame per minute (design configuration) and compiles the day's 1,440 frames into one timelapse video overnight.
  • [Wildlife sightings dashboard] A Flask dashboard shows the latest capture with its detection box, a sightings feed, and a motion-alert log in one view.
  • [Per-species detection counts] Detections are tallied by species for the day, so patterns such as peak activity hours are visible without opening every photo.
  • [Solar and battery power management] A 20 W solar panel (design target) charges a 12 V battery (design target), and the dashboard shows battery percentage, voltage and charging watts.
  • [Offline-first logging] Detections, photos and timelapse frames are stored on the device first, so the station keeps working with no network and syncs alerts when coverage returns.

What is included

  • Working trail-station prototype (Raspberry Pi 5, AI Camera, PIR sensor, solar panel, battery, weatherproof enclosure)
  • Firmware and Picamera2 capture code with on-sensor MobileNet-SSD inference
  • Flask dashboard with sightings feed, per-species counts, alert log and timelapse viewer
  • Wiring diagram and component list
  • Field-test procedure for detection checks at the deployment site
  • Project report PDF, abstract PDF and PPT presentation
  • Viva Q&A preparation document

Limitations & prerequisites

  • Detection quality depends on the training data; species outside the trained classes are not recognised until the model is retrained with site images.
  • Night detections need an IR illuminator, which is an optional add-on and not part of the base build.
  • PIR range is approximately 7 m (component specification, typical); animals beyond that range may not trigger capture.
  • The AI Camera is rated 0 °C to 50 °C (datasheet value); a weatherproof enclosure is required for rain and dust.
  • Solar charging depends on sunlight; several cloudy days in a row shorten unattended runtime.
  • WhatsApp alerts need mobile network coverage at the site; without signal, alerts queue on the device and send when coverage returns.
  • The station is an academic prototype, not a certified wildlife-research or security system.

Frequently Asked Questions

Is this project suitable for a final-year project?

Yes — for IoT & Embedded, Electronics and Computer Science programmes. It combines embedded hardware, on-sensor AI, solar power management and a web dashboard, so the viva can cover sensors, neural inference, power sizing and full-stack software in one build.

Which camera and controller does it use?

A Raspberry Pi 5 with the Raspberry Pi AI Camera, built around Sony's IMX500 sensor (12.3 MP, datasheet value). The sensor runs the detection model itself, so the Pi 5 stays free for the dashboard, logging and alerts, and the camera connects over the standard CSI ribbon cable.

Does it need internet to detect animals?

No. Detection runs on the IMX500 sensor and the PIR trigger works offline, so the station keeps recording and logging without any connection. The PIR trigger, the on-sensor model and local storage all run without a connection, so field operation never depends on signal; internet is needed only for WhatsApp alerts and remote dashboard access.

How long does it run on battery and solar?

The design target is continuous unattended operation with a 20 W solar panel and a 12 V, 7 Ah battery under typical daylight. Several cloudy days in a row shorten runtime, and the dashboard shows battery percentage so the gap is visible before the station stops.

Can it recognise new animal species?

Yes, by retraining the detection model with field images of the new species. The base build ships with the pre-loaded MobileNet-SSD classes; adding a species means collecting site images, labelling them, retraining, and converting the model for the IMX500. The converted model is then loaded onto the AI Camera, and the dashboard's species list updates to match.

What will I receive with the project?

The working trail-station prototype, firmware and dashboard code, wiring diagram, component list, field-test procedure, project report, abstract PDF, PPT and a viva Q&A document. The kit is built to order, so the enclosure, cable lengths and alert number are set for your deployment site, and installation guidance is included.

Components & software requirements
  • Raspberry Pi 5
  • Raspberry Pi AI Camera · Sony IMX500
  • Python · Picamera2 · libcamera
  • MobileNet-SSD on-sensor inference
  • PIR motion sensor · HC-SR501
  • Flask dashboard · SQLite
  • Solar charge controller · 12 V battery
  • WhatsApp alerts · HTTP API

Dataset & model details

  • Dataset: COCO (Common Objects in Context) — 330,000 images across 80 object classes, including person, dog, cat, bird and horse; the pre-loaded MobileNet-SSD model is trained on this public dataset. Wildlife-specific classes are added by fine-tuning on field images collected at the deployment site.
  • Task: Object detection; input = camera frame resized to the model tensor input (300 × 300 pixels, design value), output = bounding boxes with class labels and confidence scores.
  • Model: MobileNet-SSD (single-shot detector on a MobileNet backbone), INT8, running on the IMX500 neural accelerator; an on-board RP2040 microcontroller manages the neural-network firmware.
  • Metrics: Precision, recall and mAP are the evaluation metrics for the detection model. No accuracy figure is claimed before the build's field test: the report documents the achieved figures after testing with site images. Development target: approximately 0.80 mean confidence on a 0–1 confidence scale for clear daylight detections of the trained classes.
Delivery information

Built-to-order project. Delivery timeline is shared after order confirmation based on current queue.

Support terms

Complete documentation, setup guide, and viva preparation included. Support for setup and explanation provided.

Download free synopsis (PDF)

Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.

Get a quotation