Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Getting Started with Raspberry Pi Zero

You're reading from  Getting Started with Raspberry Pi Zero

Product type Book
Published in Mar 2016
Publisher
ISBN-13 9781786469465
Pages 228 pages
Edition 1st Edition
Languages
Author (1):
Richard Grimmett Richard Grimmett
Profile icon Richard Grimmett

Table of Contents (16) Chapters

Getting Started with Raspberry Pi Zero
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
1. Getting Started with Raspberry Pi Zero 2. Programming Raspberry Pi Zero 3. Accessing the GPIO Pins on Raspberry Pi Zero 4. Building and Controlling a Simple Wheeled Robot 5. Building a Robot That Can Walk 6. Adding Voice Recognition and Speech – A Voice Activated Robot 7. Adding Raspberry Pi Zero to an RC Vehicle 8. Playing Rock, Paper, or Scissors with Raspberry Pi Zero 9. Adding Raspberry Pi Zero to a Quadcopter Index

Controlling an H-bridge interface to the DC motors


The first step to make the platform mobile is to connect the Raspberry Pi Zero to your H-bridge. This allows you to control the speed of each wheel (or track) independently. Before you get started, let's spend some time learning the basics of motor control. Whether you choose the two-wheeled mobile platform or the tracked platform, the basic movement control is the same. The unit moves by engaging the motors. If the desired direction is straight ahead, the motors are run at the same speed. If you want to turn the unit, the motors are run at different speeds. The unit can turn in a circle if you run one motor forwards and the other one backwards.

The DC motors are fairly straightforward devices. The speed and direction of the motor is controlled by the magnitude and polarity of the voltage applied to its terminals. The higher the voltage, the faster the motor will turn. If you reverse the polarity of the voltage, you can reverse the direction...

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 $15.99/month. Cancel anytime}