Uploaded October 2016 | Updated September 2026, 2 weeks ago
Hobby servos are the easiest way to get going with motor control. They have a 3-pin 0.1" female header connection with +5V, ground and signal inputs. The motor shield simply brings out the PWM output lines from Arduino pins 9 and 10 to two 3-pin headers so that its easy to plug in and go. They can take a lot of power so a 9V battery wont last more than a few minutes! The nice thing about using the onboard PWM is that its very precise and goes about its business in the background. You can use the built in Servo library.
Required Hardware:
Arduino Board :
goo.gl/UyGYeF (Banggood)
amzn.to/2LZr6t4 (Amazon)
Motor Shield L293D :
goo.gl/9Ph44b (Banggood)
amzn.to/3qADuic (Amazon)
Servo Motor :
goo.gl/Hxejko (Banggood)
amzn.to/3avwe1N (Amazon)
Recommended Items:
Use Your Muscles in Project - amzn.to/3wdL45C
37 Sensor & Module Packages - amzn.to/3m66WeQ
Try this Robot Arm - amzn.to/3fq8DCl
Best Resin 3D Printer - amzn.to/39tY8KB
Arduino Compatible Kits - bit.ly/2J2AFF7
Banggood Spring Sale - bit.ly/3slMbOn
Download AFMotor Library (GitHub)
github.com/adafruit/Adafruit-Motor-Shield-library
To install, click on Downloads in the middle of the page, select Download as zip and uncompress the folder.
Rename the folder to AFmotor (check that the renamed folder contains the .cpp and .h files) and install into the Arduinosketches/libraries folder.
Get Source Code: create.arduino.cc/editor/mertarduinotech/facb6cc1-12cf-46e1-9c88-e6d96a1891ec/preview
Social Media:
instagram.com/mertarduino
facebook.com/mertarduino
Hobby servos are the easiest way to get going with motor control. They have a 3-pin 0.1" female header connection with +5V, ground and signal inputs. The motor shield simply brings out the PWM output lines from Arduino pins 9 and 10 to two 3-pin headers so that its easy to plug in and go. They can take a lot of power so a 9V battery wont last more than a few minutes! The nice thing about using the onboard PWM is that its very precise and goes about its business in the background. You can use the built in Servo library.
Required Hardware:
Arduino Board :
goo.gl/UyGYeF (Banggood)
amzn.to/2LZr6t4 (Amazon)
Motor Shield L293D :
goo.gl/9Ph44b (Banggood)
amzn.to/3qADuic (Amazon)
Servo Motor :
goo.gl/Hxejko (Banggood)
amzn.to/3avwe1N (Amazon)
Recommended Items:
Use Your Muscles in Project - amzn.to/3wdL45C
37 Sensor & Module Packages - amzn.to/3m66WeQ
Try this Robot Arm - amzn.to/3fq8DCl
Best Resin 3D Printer - amzn.to/39tY8KB
Arduino Compatible Kits - bit.ly/2J2AFF7
Banggood Spring Sale - bit.ly/3slMbOn
Download AFMotor Library (GitHub)
github.com/adafruit/Adafruit-Motor-Shield-library
To install, click on Downloads in the middle of the page, select Download as zip and uncompress the folder.
Rename the folder to AFmotor (check that the renamed folder contains the .cpp and .h files) and install into the Arduinosketches/libraries folder.
Get Source Code: create.arduino.cc/editor/mertarduinotech/facb6cc1-12cf-46e1-9c88-e6d96a1891ec/preview
Social Media:
instagram.com/mertarduino
facebook.com/mertarduino

