Arduino Uno R4 - Real-Time DC Motor Speed and Direction Control with Motor Shield

In this tutorial, you'll learn how to drive DC motors using the Arduino Uno R4 and the Motor Shield Rev3 with the DIYables_DC_Motor library. We'll control motor direction, adjust speed with PWM, apply braking, read motor current, and run two motors at the same time. What you'll learn: How to stack the Motor Shield Rev3 on an Arduino Uno R4 How to wire a DC motor and external power supply How to control direction, speed, and braking How to read motor current using the sensing pins How to run two motors with Channel A and Channel B How to customize pin mapping for other motor drivers Full written tutorial with code: https://newbiely.com/tutorials/arduin... Chapters: 0:00 Introduction 0:35 Motor Shield Rev3 Overview 1:20 Wiring Diagram and Power Setup 2:05 Installing DIYables_DC_Motor Library 2:45 Single Motor on Channel A 3:40 Single Motor on Channel B 4:20 Dual Motor Control 5:05 Current Sensing 5:45 Custom Pin Assignment 6:20 Results and Demo #ArduinoUnoR4 #DCMotor #MotorShield #ArduinoTutorial #DIYables