I built this Segway in my first year in college. It has gone through 3 iterations. The first version is a LEGO prototype with a hacked I2C interface so that I could attach external sensors. The second version was built from scratch but it was pretty crude without much polishing. The final version involved a lot of software and hardware refinement. The demo below shows how the final version looks like.