Copyright 2017 Jody Culkin and Eric Hagan. All rights reserved.
Printed in the United States of America.
Published by Maker Media, Inc., 1700 Montgomery Street, Suite 240, San Francisco, CA 94111
Maker Media books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (safaribooksonline.com). For more information, contact our corporate/institutional sales department: 800-998-9938 or corporate@oreilly.com .
Publisher and Editor: Roger Stewart
Copy Editor: Elizabeth Welch, Happenstance Type-O-Rama
Proofreader: Scout Festa, Happenstance Type-O-Rama
Interior Designer, Compositor, and Cover Designer: Maureen Forys, Happenstance Type-O-Rama
Indexer: Valerie Perry, Happenstance Type-O-Rama
August 2017: First Edition
Revision History for the First Edition
28-08-2017 First Release
See oreilly.com/catalog/errata.csp?isbn=9781680453744 for release details.
Make:, Maker Shed, and Maker Faire are registered trademarks of Maker Media, Inc. The Maker Media logo is a trademark of Maker Media, Inc. An Illustrated Beginners Guide to Physical Computing and related trade dress are trademarks of Maker Media, Inc. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and Maker Media, Inc. was aware of a trademark claim, the designations have been printed in caps or initial caps. While the publisher and the author have used good faith efforts to ensure that the information and instructions contained in this work are accurate, the publisher and the author disclaim all responsibility for errors or omissions, including without limitation responsibility for damages resulting from the use of or reliance on this work. Use of the information and instructions contained in this work is at your own risk. If any code samples or other technology this work contains or describes is subject to open source licenses or the intellectual property rights of others, it is your responsibility to ensure that your use thereof complies with such licenses and/or rights.
9-781-68045-374-4
Safari Books Online
Safari Books Online is an on-demand digital library that delivers expert content in both book and video form from the worlds leading authors in technology and business. Technology professionals, software developers, web designers, and business and creative professionals use Safari Books Online as their primary resource for research, problem solving, learning, and certification training. Safari Books Online offers a range of plans and pricing for enterprise, government, education, and individuals. Members have access to thousands of books, training videos, and prepublication manuscripts in one fully searchable database from publishers like OReilly Media, Prentice Hall Professional, Addison-Wesley Professional, Microsoft Press, Sams, Que, Peachpit Press, Focal Press, Cisco Press, John Wiley & Sons, Syngress, Morgan Kaufmann, IBM Redbooks, Packt, Adobe Press, FT Press, Apress, Manning, New Riders, McGraw-Hill, Jones & Bartlett, Course Technology, and hundreds more. For more information about Safari Books Online, please visit us online.
How to Contact Us
Please address comments and questions to the publisher:
Maker Media
1700 Montgomery St.
Suite 240
San Francisco, CA 94111
You can send comments and questions to us by email at books@makermedia. com.
Maker Media unites, inspires, informs, and entertains a growing community of resourceful people who undertake amazing projects in their backyards, basements, and garages. Maker Media celebrates your right to tweak, hack, and bend any Technology to your will. The Maker Media audience continues to be a growing culture and community that believes in bettering ourselves, our environment, our educational systemour entire world. This is much more than an audience, its a worldwide movement that Maker Media is leading. We call it the Maker Movement.
To learn more about Make: visit us at makezine.com. You can learn more about the company at the following websites:
Maker Media: makermedia.com
Maker Faire: makerfaire.com
Maker Shed: makershed.com
Dedication
Dedicated to all of our students, past, present, and future. Their curiosity drives them and inspires us.
Acknowledgments
This book wouldnt have been possible without the help of many people, more than we can mention here. Wed like to thank our tech editor, Anna Pinkas, for her tireless and thorough review of this text. An earlier version of this book also benefited from tech editing by Michael Colombo and Sharon Cichelli. Roger Stewart, our publisher and editor, has been supportive and helpful throughout the process of getting this book into print. Our production team from Happenstance Type-O-Rama has been a delight to work with, particularly Liz Welch and Maureen Forys. We met at the Interactive Telecommunications Program at New York University, and we will always be grateful to Tom Igoe for suggesting we work together on a project there. In fact, wed like to thank all of the faculty and staff at ITP, especially Dan OSullivan and Marianne Petit.
Eric would like to thank his wife Marie for her endless support, without which this book would not be possible. He would also like to thank his parents, David and Tracey, who have always had so much faith in his work.
Jody would like to thank her husband Calvin Reid, who seems to think she can do anything and has done whatever he can to make that possible. And she would like to acknowledge the memory of her parents, Florence and Hosmer Culkin, who would be startled but proud that she has co-authored a book on technology.
About the Authors
Jody Culkin is an artist and teacher. She has shown her sculptures, photographs, and installations at museums and galleries throughout this country and internationally. She illustrated How to Use a Breadboard, written by Sean Ragan, for Maker Media (2017). Her comic Arduino! has been translated into 12 languages. She has received grants and awards from the National Science Foundation, the New York State Council on the Arts, and many other organizations. She is currently a professor at City University of New York's Borough of Manhattan Community College in the Media Arts and Technology Department. She has a BA from Harvard University in visual studies and an MPS from NYU's Interactive Telecommunications Program.
Eric Hagan is an interactive and kinetic artist and professor based out of Astoria, New York. He has written articles for publications, including Make: magazine and Popular Science. He has also worked on several art installation projects around New York City, including the annual holiday windows on 5th Avenue and Kara Walkers A Subtlety. He is currently an assistant professor at SUNY Old Westbury in the Visual Arts Department. He has a BA from Duke University in philosophy and an MPS from NYU's Interactive Telecommunications Program. Eric enjoys showing projects at the annual New York City World Maker Faire.
Preface
We conceived of this book as an introduction to electronics and the Arduino platform for the complete beginner. We have written and illustrated it assuming that the reader has no prior knowledge of either electronics or programming. As the reader progresses through the book, electronics and programming concepts are thoroughly explained, in text and with images. After the reader has completed the book, they will be able to use it as a reference for basic electronics and Arduino programming.
Next page