Skip to Content
ESP8266 Robotics Projects
book

ESP8266 Robotics Projects

by Pradeeka Seneviratne
November 2017
Beginner
210 pages
4h 41m
English
Packt Publishing
Content preview from ESP8266 Robotics Projects

Using Encoders

In this chapter, you will learn how to modify the Mini 3-Layer Round Robot you built in Chapter 2Building a Mini Round Robot with Original ESP8266, by connecting wheel encoders with the motor shaft (not the output shaft) of the DC gear motor to measure the distance traveled and the average speed of the robot chassis.

In this chapter, you will learn the following topics:

  • About the SparkFun wheel encoder
  • Connecting the wheel encoders to DC gear motors
  • Building a Blynk app to display distance traveled and average speed with the Labeled Value widget
  • Reading the pulses generated by the two wheel encoders
  • Calculating the distance traveled
  • Calculating the average speed
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Raspberry Pi 3 Home Automation Projects

Raspberry Pi 3 Home Automation Projects

Shantanu Bhadoria, Ruben Oliva Ramos
Wheeled Mobile Robotics

Wheeled Mobile Robotics

Gregor Klancar, Andrej Zdesar, Saso Blazic, Igor Skrjanc

Publisher Resources

ISBN: 9781788474610Supplemental Content