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

Wiring the encoders with Arduino

Figure 3.4 shows the wiring diagram for connecting two hall-effect sensors with Arduino UNO:

Figure 3.4: Wiring diagram for the encoder

Use the existing circuit you built in Chapter 2Building a Mini Round Robot with Original ESP8266, to control the two DC gear motors with SparkFun Dual TB6612FNG (1 A) motor driver, Arduino UNO, ESP8266 (ESP-01), and a Bi-Directional Logic Level Converter. The following steps describe how to connect the two wheel encoders with Arduino UNO:

  • Hall-effect sensor attached to the left wheel:
    1. Connect the Signal wire of the hall-effect sensor to Arduino digital pin 2.
    2. Connect the ...
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