Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Balancing robot using Arduino Nano, MPU9250, A4988 and some Stepper motors.

Notifications You must be signed in to change notification settings

WesleyKlop/irob-balancing-robot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Balancing Robot

For my robotics minor at Hogeschool Leiden I'm creating an inverted cartpole robot that balances by itself.

Hardware

Hardware and wiring here

Components

  • 1 Arduino Nano
  • 1 MPU9250 Accelerometer / Gyroscope / Magnetometer
  • 2 A4988 stepper motor drivers
  • 2 bipolar stepper motors
  • 1 > 47 µF capacitor to prevent voltage spikes to the driver.
  • 1 big breadboard
  • Some big boy batteries to power everything. (I had 2x 3.7v batteries)

If you want to build the robot exactly like mine you also need some m3 threaded steel and some washers plus nuts to mount the breadboard to the board you 3D printed with your 3D printer. :)

Wiring

See src/constants.h for which pin goes where. MPU9250 needs SCA / SCL cables connected to the Arduino nano.

Software

You need to use platformio to compile and upload this to your Arduino.

Good luck

About

Balancing robot using Arduino Nano, MPU9250, A4988 and some Stepper motors.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published