Selfbalancing robot in Arduino. Implemented with PID controllers, FIR filters, complementary filter.
Arduino
Latest commit ea3d23f Sep 11, 2012 @sebnil fritzing and new code
Permalink
Failed to load latest commit information.
WheelEncodersI2C added the wheel encoders code Aug 19, 2012
selfbalancingrobot fritzing and new code Sep 10, 2012
selfbalancingrobot_console import Jul 19, 2012
README.md import Jul 19, 2012

README.md

Selfbalancing-robot

Selfbalancing robot in Arduino. Implemented with PID controllers, FIR filters, complementary filter. More info at http://sebastiannilsson.com/k/projekt/selfbalancing-robot/

Folders: selfbalancingrobot is the main code for the balancing robot. You can use this without the console if you want. Just comment everything with I2C communication to the console.

selfbalancingrobot_console is the code for the console. Uses a nokia display and some tatile buttons for on-the-fly configuration of the robot. Much faster than uploading new code with different parameters.

Libraries: FIR filter library at https://github.com/sebnil/FIR-filter-Arduino-Library

FreeIMU library at http://www.varesano.net/projects/hardware/FreeIMU

PID library at https://github.com/br3ttb/Arduino-PID-Library

Button library at https://github.com/JChristensen/Button

Adafruit_GFX library (for the console) at https://github.com/adafruit/Adafruit-GFX-Library

Adafruit_PCD8544 library (for the console) at https://github.com/adafruit/Adafruit-PCD8544-Nokia-5110-LCD-library