Arduino for Beginners Essential Skills Every Maker Needs by John Baichtal [Dr.Soc].pdf
(
27995 KB
)
Pobierz
ARDUINO FOR
BEGINNERS
ESSENTIAL SKILLS EVERY MAKER NEEDS
John Baichtal
800 East 96th Street,
Indianapolis, Indiana 46240 USA
ii
Arduino for Beginners
Arduino for Beginners: Essential Skills Every
Maker Needs
Copyright © 2014 by Pearson Education, Inc.
All rights reserved. No part of this book shall be reproduced, stored in
a retrieval system, or transmitted by any means, electronic, mechanical,
photocopying, recording, or otherwise, without written permission from
the publisher. No patent liability is assumed with respect to the use of
the information contained herein. Although every precaution has been
taken in the preparation of this book, the publisher and author assume
no responsibility for errors or omissions. Nor is any liability assumed for
damages resulting from the use of the information contained herein.
ISBN-13: 978-0-7897-4883-6
ISBN-10: 0-7897-4883-5
Library of Congress Control Number: 2013946136
Printed in the United States of America
First Printing: November 2013
Editor-in-Chief
Greg Wiegand
Executive Editor
Rick Kughen
Development Editor
Rick Kughen
Managing Editor
Sandra Schroeder
Senior Project
Editor
Tonya Simpson
Copy Editor
Paula Lowell
Indexer
Lisa Stumpf
Proofreader
Trademarks
All terms mentioned in this book that are known to be trademarks or
service marks have been appropriately capitalized. Que Publishing cannot
attest to the accuracy of this information. Use of a term in this book should
not be regarded as affecting the validity of any trademark or service mark.
Arduino is a registered trademark of Arduino, www.arduino.cc/.
Sarah Kearns
Technical Editor
Pete Prodoehl
Publishing
Coordinator
Kristen Watterson
Warning and Disclaimer
Every effort has been made to make this book as complete and as accurate
as possible, but no warranty or fitness is implied. The information provided
is on an “as is” basis. The author and the publisher shall have neither
liability nor responsibility to any person or entity with respect to any loss or
damages arising from the information contained in this book.
Book Designer
Mark Shirar
Compositor
Mary Sudul
Bulk Sales
Que Publishing offers excellent discounts on this book when ordered in
quantity for bulk purchases or special sales. For more information, please
contact
U.S. Corporate and Government Sales
1-800-382-3419
corpsales@pearsontechgroup.com
For sales outside of the U.S., please contact
International Sales
international@pearsoned.com
iii
Contents at a Glance
Introduction
CHAPTER 1
CHAPTER 2
CHAPTER 3
CHAPTER 4
CHAPTER 5
CHAPTER 6
CHAPTER 7
CHAPTER 8
CHAPTER 9
1
Arduino Cram Session 5
Breadboarding
How to Solder
27
53
91
Setting Up Wireless Connections
Programming Arduino
Sensing the World
Controlling Liquid
Tool Bin
117
143
165
187
243
Ultrasonic Detection
CHAPTER 10
Making Noise
273
295
321
CHAPTER 11
Measuring Time
CHAPTER 12
Safely Working with High Voltage
CHAPTER 13
Controlling Motors
339
Glossary
Index
359
365
iv
Arduino for Beginners
Table of Contents
Introduction 1
Chapter 1 Arduino Cram Session ................................................ 5
Arduino Uno: A Rookie-Friendly Microcontroller ............................5
Other Arduino Products ................................................................8
Electronics ....................................................................................9
Light-Emitting Diodes ..............................................................11
Buttons and Switches ...............................................................11
Potentiometers ........................................................................12
Resistors ..................................................................................13
Capacitors ...............................................................................14
Motors ....................................................................................15
Solenoids .................................................................................16
Piezo Buzzers ...........................................................................17
Seven-Segment Displays ...........................................................18
Relays ......................................................................................19
Integrated Circuits ...................................................................20
Temperature Sensors................................................................21
Flex Sensor...............................................................................22
Light Sensor .............................................................................23
Ultrasonic Sensor .....................................................................23
Safety Rules.................................................................................24
The Next Chapter ........................................................................26
Chapter 2 Breadboarding ......................................................... 27
Assembling Circuits Using Solderless Breadboards .......................27
Understanding Power and Ground ...........................................30
Using Jumper Wires .................................................................30
Project: Breadboard Blink ............................................................32
Project: Laser Trip Beam ..............................................................35
Assembling the Laser Module ...................................................38
Assembling the Sensor Module .................................................38
Building the Enclosures ............................................................41
Laser Trip Beam Code ..............................................................47
Setting Up the Trip Beam .........................................................49
Plik z chomika:
Automan1964
Inne pliki z tego folderu:
Arduino A Technical Reference A Handbook for Technicians, Engineers, and Makers.pdf
(301194 KB)
30-proyectos-con-arduino-pdf.pdf
(104376 KB)
30proyectosconarduino1.pdf
(104376 KB)
Apress.Intermediate.Robot.Building.2nd.Edition.May.2010.pdf
(51613 KB)
Dispositivos Semicondutores Diodos e Transistores.pdf
(123801 KB)
Inne foldery tego chomika:
00 - Raspberry Pi
01 - Esp8266
02 - Arduino2
03 - Electronica
04 - micro bit
Zgłoś jeśli
naruszono regulamin