Post Top Ad

Monday, May 22, 2023

on video Driving DC Motors with Microcontrollers


 Today we will be working with lots of motor drivers and lots of motors!


You’ll see how there are actually three methods used among all of these drivers for controlling speed and direction. Because of this, it’s pretty easy to swap drivers and use a sketch for small motors to be used with much larger ones (or vice-versa).


I’ll be driving everything with a simple Arduino Uno today, but you could use any microcontroller to work with these motor drivers.


The code for all these motors is pretty simple, I’ll show it to you, and I’ll also introduce you to a few libraries that make coding for these motor drivers a breeze. We’ll also check out a motor driver library from Cytron that is a hidden gem, as it can be used with ANY of these drivers!


 Today we will be working with lots of motor drivers and lots of motors!


You’ll see how there are actually three methods used among all of these drivers for controlling speed and direction. Because of this, it’s pretty easy to swap drivers and use a sketch for small motors to be used with much larger ones (or vice-versa).


I’ll be driving everything with a simple Arduino Uno today, but you could use any microcontroller to work with these motor drivers.


The code for all these motors is pretty simple, I’ll show it to you, and I’ll also introduce you to a few libraries that make coding for these motor drivers a breeze. We’ll also check out a motor driver library from Cytron that is a hidden gem, as it can be used with ANY of these drivers!

No comments:

Post a Comment

Post Top Ad

Pages