Skip to Content
Beginning Robotics with Raspberry Pi and Arduino: Using Python and OpenCV
book

Beginning Robotics with Raspberry Pi and Arduino: Using Python and OpenCV

by Jeff Cicolani
March 2021
Beginner
369 pages
6h 4m
English
Apress
Content preview from Beginning Robotics with Raspberry Pi and Arduino: Using Python and OpenCV
© Jeff Cicolani 2021
J. CicolaniBeginning Robotics with Raspberry Pi and Arduinohttps://doi.org/10.1007/978-1-4842-6891-9_6

6. Driving Motors

Jeff Cicolani1  
(1)
Pflugerville, TX, USA
 

In Chapter 4, we used the Raspberry Pi’s GPIO pins to control an LED and to receive information from an ultrasonic sensor. In Chapter 5, we looked at the Arduino and discussed why it is a better option for general GPIO functions. We connected the ultrasonic rangefinder and an LED to the Arduino and learned how to pass data between the two boards.

But that doesn’t mean we’re done with the Raspberry Pi’s GPIO header. In this chapter, we’ll use the GPIO pins to connect to a board called a motor driver, which is designed to interact with DC motors and steppers. I’ll cover ...

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 with Raspberry Pi

Learn Robotics with Raspberry Pi

Matt Timmons-Brown
Mastering OpenCV 4 with Python

Mastering OpenCV 4 with Python

Alberto Fernández Villán

Publisher Resources

ISBN: 9781484268919Purchase LinkPublisher Website