Versions Compared

Key

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

Components:

PID controls:

Image Added

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

Arduino code:


View file
namecode.ino
height250