Driving DC Motors with Microcontrollers
DroneBot Workshop
@dronebotworkshopAbout
Welcome to the Workshop! The DroneBot Workshop is the place where I work with Arduino, Raspberry Pi, ESP32, and lots of other cool microcontrollers, components, and sensors. This is a channel for learning and understanding. While I do build projects, most episodes focus on showing you HOW things work, so you can use the information to bring your own designs to life. Every video has a corresponding article on my website at https://dronebotworkshop.com , along with the diagrams and code samples you’ll need to build your own creations. You can also participate in discussions on my Forum at https://forum.dronebotworkshop.com. Please note that I no longer do any sponsored videos, enquiries for these will be ignored! If you'd like to know more about me or the DroneBot Workshop you can read the FAQ at https://dronebotworkshop.com/about-dronebot-workshop/faq/ And if you have technical questions please ask them on the Forum. Welcome to the Workshop! I hope you enjoy your stay! Bill
Latest Posts
Video Description
How to use 7 different motor driver modules with an Arduino or any microcontroller. Hookup, code & demonstrations with motors big and small. Article with code: https://dronebotworkshop.com/dc-motor-drivers More articles and tutorials: https://dronebotworkshop.com Join the conversation on the forum: https://forum.dronebotworkshop.com Subscribe to the newsletter and stay in touch: https://dronebotworkshop.com/subscribe/ 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! Here is the Table of Contents for today's video: 00:00 - Introduction 01:17 - DC Motor Driver Basics 08:05 - L298N Dual H-Bridge 16:13 - TB6612FNG Dual H-Bridge 25:24 - DRV8871 Single H-Bridge 31:08 - MX1508 Dual H-Bridge 38:54 - DBH-12 Dual H-Bridge 46:27 - IBT-2 Single H-Bridge 51:17 - MD25HV Single H-Bridge & Controller 1:02:27 - Conclusion Hope you enjoy this, remember that the article on the DroneBot Workshop website has all the code I used today.
You May Also Like
DC Motor Control Kit Essentials
AI-recommended products based on this video

High-Performance Graphics Card Fan CF9010U12D for TUF RTX 3060/3060 TI/3070/3080/3090 - DC 12V Cooling Solution

AstroAI Tire Inflator Air Compressor 12V DC, Digital Car Tire Pump 150 PSI, Preset Tire Pressure & Auto Shutoff, Electric Air Pump for Car Tyres, Bicycles, Other Inflatables
![200W Car Power Inverter, PiSFAU DC 12V to 110V AC Car Plug Adapter Outlet with [20W USB-C] /USB-Fast Charger(18W) / 4.8A Dual USB/car Charger for Laptop](https://m.media-amazon.com/images/I/61IRXv7G09L._AC_UL960_FMwebp_QL65_.jpg)
200W Car Power Inverter, PiSFAU DC 12V to 110V AC Car Plug Adapter Outlet with [20W USB-C] /USB-Fast Charger(18W) / 4.8A Dual USB/car Charger for Laptop

DHT11 modules Digital Temperature and Humidity Temperature Sensor for arduino DIY KIT 5pcs

ZFOX 50PSI Paddle Board Pump,Dual Motor SUP Pump with HD LED Display & 9 Nozzles - Auto-Shutoff & Auto Overheat Protection,12V DC Electric Air Pump for Paddle Board/Kayak/Tent/Boats/Tyres etc.

ZFOX 50PSI Paddle Board Pump,Dual Motor SUP Pump with HD LED Display & 9 Nozzles - Auto-Shutoff & Auto Overheat Protection,12V DC Electric Air Pump for Paddle Board/Kayak/Tent/Boats/Tyres etc.




















