Welcome to Hackster!
Hackster is a community dedicated to learning hardware, from beginner to pro. Join us, it's free!
Beren Eskildsen
Published © GPL3+

Self Balancing Segway Robot

Repurposed Arduino car set into complex 2 wheeled self balancing robot with old motor and wheel parts

BeginnerFull instructions provided10 hours303
Self Balancing Segway Robot

Things used in this project

Hardware components

Arduino Leonardo
Arduino Leonardo
×1
DC motor (generic)
×2
SparkFun Triple Axis Accelerometer and Gyro Breakout - MPU-6050
SparkFun Triple Axis Accelerometer and Gyro Breakout - MPU-6050
×1
Adafruit Motor Shield v2.3
×1
4xAA battery holder
4xAA battery holder
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

3D Printer (generic)
3D Printer (generic)

Story

Read more

Custom parts and enclosures

Self Balancing Robot 3D print (Frame)

This is the simple frame I designed on TinkerCad and then 3D printed

Sketchfab still processing.

Schematics

Robot Schematic

This is just the first page of my documentation as this page has most of the measurements for things like the motors and wheels

Code

Self Balancing Robot

This is the code for my robot, I had effectively written my own I2C driver just for communicating with the gyroscope board. Then I use PID control and the Adafruit motor shield and the Adafruit library to drive the 2 motors.

Credits

Beren Eskildsen
1 project • 0 followers
I am a computer systems engineer at the University of Auckland
Contact
Thanks to Adafruit.

Comments

Please log in or sign up to comment.