Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
ESP8266 Robotics Projects

You're reading from   ESP8266 Robotics Projects DIY Wi-Fi controlled robots

Arrow left icon
Product type Paperback
Published in Nov 2017
Publisher Packt
ISBN-13 9781788474610
Length 210 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Pradeeka Seneviratne Pradeeka Seneviratne
Author Profile Icon Pradeeka Seneviratne
Pradeeka Seneviratne
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. Getting Ready FREE CHAPTER 2. Building a Mini Round Robot with Original ESP8266 3. Using Encoders 4. Building a Mini Round Robot with the Feather HUZZAH ESP8266 5. Line-Following Zumo Robot 6. Building an ESP8266 Robot Controller 7. Building a Gripper Robot 8. Photo Rover Robot

The DC Motor + Stepper FeatherWing


The DC Motor + Stepper FeatherWing allows you to drive the two DC motors that are attached to the bottom chassis layer. Figure 4.2 shows the pinout of the DC Motor + Stepper FeatherWing, which includes the following things:

  • Motor power pins: Supply 5-12V DC through these pins to drive the motors
  • Motor outputs: You can connect up to 4 DC gear motors with M1, M2, M3, and M4 terminal blocks
  • I2C pins: SDA and SCL

Figure 4.2: Pinout of the DC Motor + Stepper FeatherWing. Image courtesy of Adafruit Industries—https://www.adafruit.com

Downloading the Adafruit Motor Shield V2 library

First, you should download the DC Motor library from the Adafruit Motor Shield V2 library at https://github.com/ladyada/Adafruit_Motor_Shield_V2_Library/archive/master.zip. Then, copy the folder inside the ZIP file to the libraries folder inside your Arduino UNO Sketchbook folder and rename it Adafruit_Motorshield. After renaming the folder, restart the Arduino UNO IDE for the Adafruit_Motorshield...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime