Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Components:

...

PID controls:

    We used PD control where kp = 0.2 and kp = 1.4, and we feedback on the encoder reading for error.to get errors, then we got the input PWM we need to control the motor speed. 

Arduino code:


View file
namecode.ino
height250