Skip to content
All projects

Autonomous Systems / AI & Machine Learning / Software Engineering

Autonomous Drone-Based Equipment Inspection System

A sensor-driven inspection platform using the Crazyflie 2.1 drone, machine learning, and a real-time dashboard to detect potential equipment faults and support maintenance decisions.

Virginia Tech

Design Document

Team 18 – Hannah Alexander, Reagan Gary, Kevin Loi, Yordanos Tessema, Samuel Zih

September 20, 2026

Written Description of Project Design

See the below table for a detailed description of the different architectural components within our proposed solution, along with what they do and how they fit together.

Architectural Component

Purpose and How Used

Crazyflie 2.1 drone

Mini-drone which gathers data during inspection missions via autonomous flight routesTransmits data to the Crazyradio USB dongleCarries sensors and camera components

Temperature and pressure sensors

Measures temperature and pressure at a pre-defined point of interestHelps to identify abnormal temperature and pressure readings that may indicate equipment failure

Grayscale camera

Takes picture of a point of interestHelps to identify abnormal appearances that may indicate equipment failure

Lighthouse tripods

Uses infrared lasers to help with positioning of the drone in an indoor environment

Crazyradio USB dongle

Receives data from the droneTransmits data to the backend application

Backend application

Data is transmitted to and then handled hereStores data in a CSV file, which is then transferred into the databaseAny ML models responsible for data analysis reside hereServes data and other requests to the frontend

Database

Stores data readings, measurements, and pictures

Frontend web application

User-friendly interface for accessing data via displayed sensor readings, pictures, and other information visualizationsProvides ML model’s conclusions on equipment health and damage status at points of interestUser can review findings, but ultimately has the final say in appropriate remedial actions to take

See the below table for the resources that we plan to use in our project design, as well as how they will be used and an explanation for the selection of each resource.

Resource

How Used

Explanation

cfclient + cflib

Python library and associated GUI for interacting with the Crazyflie 2.1 mini-drone

Allows us to use the included, already- written APIs to control and interact with the droneCovers flight commands and parameter access

Python 3.13

Programming language and version in which the backend will be written

Since the Crazyflie- specific cfclient GUI and cflib library are written in Python, the backend should be built similarly to align

FastAPI

Backend framework written in PythonFor the Crazyflie 2.1 mini-drone to send data toFor the frontend to query for data from

Since the Crazyflie- specific cfclient GUI and cflib library are written in Python, the local server should be built similarly to alignIt is helpful that the REST/JSON API architecture within FastAPI handles the data exchange

React + Tauri

Frontend frameworks written in JavascriptTo display metrics and charts from gathered sensor data as a user-friendly dashboard

React framework can be used for desktop application and web application, allowing for a single framework across multiple platformsTauri assists with quickly and easily creating a web application with a modern appearance

Supabase + Postgres

To store data sent to the backend from the Crazyflie 2.1 mini-droneFor the frontend to query the backend for gathered data metrics to be displayed on the user dashboard

Supabase includes a free, ready-to-use Postgres database with client-side codeUser authentication is straightforward with Supabase Auth

ML model

Analyzes sensor readings and pictures to determine equipment damage or faultiness from gathered dataProvides a recommendation on future maintenance actions (not a final verdict)

Uses a classification algorithm to sort data into discrete categories, rather than relying on time-intensive and error-prone manual information categorization efforts

High-Level Architecture Diagram


See the below diagram for an overall drawing of the components and modules needed for our proposed solution, as well as how they fit together. It includes the following layers: physical/edge, application/backend, data, and frontend.

AI Usage Note:** The online tool Eraser was used for assistance in developing this high-level architecture diagram. Eraser’s AI capabilities were utilized to help with grouping the different components and layers in a visually clean manner. Text descriptions and labels are entirely our own work, based upon the information that we tabulated in the above section of this document. Just one prompt was used before we proceeded with manual tweaks of the visualization to reflect our own vision of the architecture.

Design Sketches

See the below project design visualizations for the user interface, including an equipment sketch, a mission movement sketch, a dashboard view while on a live mission run, and a dashboard view after a mission run.