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 Wheel Encoder Kit


The SparkFun Wheel Encoder Kit (Figure 3.1) is a simple add-on to any wheeled robot that can be used to measure the distance traveled and the speed (average speed or instantaneous speed). The Wheel Encoder Kit comes with the following things:

  • Two neodymium eight-pole magnets with rubber hubs
  • Two hall-effect sensors terminated with 150 mm cables and 3-pin female servo headers:

Figure 3.1: The Wheel Encoder Kit. Image courtesy of SparkFun Electronics (https://www.sparkfun.com)—https://creativecommons.org/licenses/by/2.0/

A neodymium eight-pole magnet has four north poles and four south poles. In other words, it has four pairs of north and south poles. The hall-effect sensor can detect the poles from more than 3 mm (1/8 inch). You can get the number of pulses per wheel revolution with the hall-effect sensor, and it varies depending on the pulse edge or edges you're going to detect (of course you can configure it in your Arduino sketch). It will also depend on the place you...

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 €18.99/month. Cancel anytime