Загрузка страницы

How to control a DC motor with an encoder

GitHub Code (under /encoderControl):
https://github.com/curiores/ArduinoTutorials

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".

An encoder makes it possible to control the position of a DC motor. In this video, I illustrate how an encoder works, and then use a PID control algorithm to control the motor position. All of the steps are included so that you will be easily able to make the system yourself.

Parts used in this video:
1. DC Motor - 19:1 Metal Gearmotor 37Dx68L mm 12V with 64 CPR Encoder:
https://www.pololu.com/product/4751
2. Motor Driver - TB67H420FTG Dual/Single Motor Driver Carrier:
https://www.pololu.com/product/2999
3. Microcontroller - Arduino Uno:
https://store.arduino.cc/usa/arduino-uno-rev3
(okay actually I used an Elegoo Uno, but the Arduino descriptions are better :)

Видео How to control a DC motor with an encoder канала Curio Res
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
16 февраля 2021 г. 20:01:30
00:09:30
Яндекс.Метрика