Balancing an inverted pendulum on a cart with a DC motor. A perfect project for studying mechanical engineering and feedback control theory.