← All projects

CompletedHardware · 2024 - 2025

Self-Balancing Electric Vehicle

A two-year high school project: a self-balancing personal vehicle across two hardware revisions, built with limited tools and a lot of iteration.

The self-balancing vehicle beside its research poster and a tablet showing the CAD design.
The short version

What it is

A board with one wheel in the middle that you stand on. It keeps itself level by constantly adjusting the motor as you lean.

What I built

Two complete versions in high school: the frame, the battery pack, the electronics, and the control loop that keeps it balanced.

Where it stands

Both versions are finished. This page is the story of building them and what I learned.

  • Built with almost no specialized tools
  • Where I learned control theory, because I needed it

Overview

This was where I learned control theory and mechanical design by building something that could actually stay upright. MK1 got the balance loop working. MK2 cleaned up the frame, battery pack, and packaging. Most of what I understand about closed-loop systems and fabrication started here.

Design files

The diagrams below show how the project works without the detail someone would need to copy it. I keep the full design files private and share them case by case. If you want a closer look for a review or a collaboration, ask.

Ask about this project

How it works

System overviewBlock diagram
Block diagramSystem overview

A simplified view of how sensing, control, and movement work together to keep the vehicle balanced.

Balance control

  1. Orientation sensingMeasure how the vehicle is tilted
  2. Balance controllerDetermine a corrective motor response
  3. Motor + wheelChange the vehicle’s motion
Keeping the vehicle balancedFlow chart
  1. 01Measure tilt
  2. 02Calculate correction
  3. 03Drive the wheel
  4. 04Measure the response