Skip to Content
Learn Robotics Programming
book

Learn Robotics Programming

by Danny Staple
November 2018
Beginner
472 pages
13h 5m
English
Packt Publishing
Content preview from Learn Robotics Programming

Preparing the encoders

Before we can use the encoder sensors, we need to prepare and fit them:

  1. As the encoders will be going under the Raspberry Pi, we should attach the male to female jump wires to the sensors now. I also suggest covering the electrical contacts that will be sticking up under the Pi with a little insulation tape:
The sensors with cable connections
  1. Importantly, the cables should be plugged into the ground (GND), voltage (5V or VCC), and digital output (D0/OUT). If it is present, the analog output (A0) pin should not be connected. If it is possible, the ground pin should have the darkest color, or the voltage should be 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

Learn Robotics Programming - Second Edition

Learn Robotics Programming - Second Edition

Danny Staple

Publisher Resources

ISBN: 9781789340747Supplemental Content