Bulding first balancing robot.

I’m posting here because I need guidelines from more experienced hobbyists and perhaps professionals.

My goal is to build balancing robot and learn a bit about PID controllers.

-First point would be to build balancing robot with already available libraries, without remote control. So basicaly just standing frame.

-Second, adding remote control over robot to make it go forward, back, and turn right-left.

-Third, implementing Kalman filter from scratch, implementing PID from scratch

Third point might be to hard for me, but if I accomplish first two I will at least have working robot.


PARTS:

PHOTOS:

I already have assembled frame. Here are photos:

https://drive.google.com/file/d/0B0iA-I … sp=sharing

https://drive.google.com/file/d/0B0iA-I … sp=sharing

https://drive.google.com/file/d/0B0iA-I … sp=sharing

https://drive.google.com/file/d/0B0iA-I … sp=sharing

https://drive.google.com/file/d/0B0iA-I … sp=sharing

https://drive.google.com/file/d/0B0iA-I … sp=sharing

And wiring (without pololu bridge unfortunately, so look at product page to see pinout):

https://drive.google.com/file/d/0B0iA-I … sp=sharing


  1. How to calibrate gyroscope? How to interpret data from it? → suggested library from sparkfun https://github.com/sparkfun/SparkFun_LS … no_Library

  2. What PID library will be the best for the task?