Skip to content

Opening book details…

Can I read Arduino UNO Pendulum Control Code on EtoBox?

Arduino UNO Pendulum Control Code by Anonymous HsoXPy is a document available to read on EtoBox.

What is Arduino UNO Pendulum Control Code about?

This program uses two PID control loops to balance an inverted pendulum mounted on a cart. One PID loop controls the position of the cart using a linear encoder. The other PID loop controls the angle of the pendulum using an angle sensor. The position setpoint is adjusted by the output of the position PID loop to indirectly control the pendulum angle. The motor is controlled via PWM to the inputs of an H-bridge based on the output of the angle PID loop to balance the pendulum.

Author
Anonymous HsoXPy
Language
EN