Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Intel Galileo Essentials

You're reading from  Intel Galileo Essentials

Product type Book
Published in Feb 2015
Publisher
ISBN-13 9781784398903
Pages 162 pages
Edition 1st Edition
Languages

Table of Contents (15) Chapters

Intel Galileo Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Getting Started with the Galileo Accessing the GPIO Pins Adding Display Functionality Controlling DC Motors Adding Sensors Remote Control Going Further with Galileo Speech Output Index

Connecting a DC motor directly to the Galileo


The first step in connecting a DC motor to the Galileo is to actually obtain a DC motor. The motors that you will be dealing with here are simple, small DC motors. For this example, you can use a small 6V DC motor available at most electronics or hobby stores, or online at www.amazon.com. Here is a picture of one such motor:

In order to connect this motor to your Galileo, you'll need some additional parts. You'll need two male-to-male jumper cables and two alligator clip jumper cables. You'll also need a transistor, TIP120 to be specific. You'll also need a diode, the 1N4004 diode, a 1,000-ohm resistor, and a 1 µFarad ceramic capacitor. The last four parts should be available at almost any electronics store, or online. To control this motor, you'll connect one motor connector to digital pin 11, and the other connector to GND. You could use one of the voltage sources on the Galileo, but some DC motors can draw lots of current, more than your Galileo...

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}