Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
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

Connecting the encoders with motors


First, remove the two DC motors from the Mini 3-Layer Round Robot Chassis Kit by disassembling it.

Now you're ready to connect the wheel encoders to the motors. Take the two neodymium magnets and two hall-effect sensors. The neodymium magnet comes with a rubber hub and allows you to press fit it over most small motors and drive shafts used in low-power gearboxes. Figure 3.3 shows a neodymium magnet connected to the drive shaft of the motor. The hall-effect sensor can be connected to the motor using a 4" zip tie. You can bend the wires to place the hall-effect sensor to face the neodymium magnet. Use about 3 mm of space between the hall-effect sensor and the neodymium magnet.

Figure 3.3: Connecting the neodymium magnet to the drive shaft. Image source—https://cdn.sparkfun.com/datasheets/Robotics/multi-chassis%20encoder001.pdf

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
Banner background image