Need help with inverted pendulum, non-paid project for my school

Guys, i need help with making a program using an arduino uno, an H bridge, an accelerometer MMA845X, a structure coupled with a weight and a 12V DC motor, to make a inverted pendulum, how can i start? Need help :) Thank you!!

how can i start?

Perhaps by Googling "Arduino Inverted Pendulum".

project for my school

Do they really not teach ANYTHING about doing some research?

Cross-post. Thread locked