In this video, you'll learn how to connect and write code to control several DC motors with encoders using the PID algorithm.
Code (in MultipleEncoders/):
[ Ссылка ]
If your platform does not have access to "atomic.h" (and so you get an error message), you can use the alternative version of the code that has been uploaded to the repository. It is labeled "_NoAtomic".
Parts:
Controller: [ Ссылка ]
Motor driver: [ Ссылка ]
12V motor with encoder: [ Ссылка ]
Sponsored by Pololu: Pololu sent a few promotional parts to help make this video!
![](https://i.ytimg.com/vi/3ozgxPi_tl0/maxresdefault.jpg)