Solar Powered Traffic Monitoring Solution

Counts the number of passing cars and finds their direction.

Visit Website
September 23, 2026 Solar Powered Traffic Monitoring Solution

This was my final-year thesis project for my Computer Engineering degree. The goal was a solar-powered, camera-based device to count vehicles by direction at a specific point on a road, without needing to tap into road infrastructure.

Runs on a Raspberry Pi 5 4GB (although 2GB should work fine too) with a basic 720p USB webcam. Detection is based on the YOLOv8 Nano, then a Kalman filter + greedy IoU tracker maintains vehicle IDs across frames and classifies direction of travel.

On my test footage it hit 96.6% detection/classification accuracy. It also works at night if there is street lighting.

Powering it is a 100W solar panel + 600Wh lead-acid battery, sized using PVGIS irradiance data and modeled to survive at least 3 winter days worst-case. Measured draw is 5.6W average (power optimization details on the website).

Privacy was a real design constraint. All inference happens on-device, frames only ever exist in RAM, and the only thing that leaves the device is an anonymized, aggregated vehicle count per time period.

Full writeup and thesis report on my website.

2 Comments

  1. 1
    Have you tested the system with a specific potential buyer, such as municipalities or private road operators, and what evidence would make them pay for deployment?
    1. 1
      I have tested the system in collaboration with the University of Cyprus. It was not meant to be a commercial solution at this point, which is why the project is open source. As stated in the full report, this system can provide valuable information about the traffic patterns on the road and could even allow for a prediction model to be trained off of its data.

About

This was my final-year thesis project for my Computer Engineering degree. The goal was a self-powered, camera-based device to count vehicles by direction at a specific point on a road, and upload the data to an online DB