Download Arduino for Dummies PDF

TitleArduino for Dummies
Author
TagsFor Dummies
LanguageEnglish
File Size34.4 MB
Total Pages401
Table of Contents
                            Title Page
Copyright Page
Table of Contents
Foreword
Introduction
	About This Book
	Foolish Assumptions
	Icons Used in This Book
	Beyond the Book
	Where to Go from Here
Part 1 Getting to Know Arduino
	Chapter 1 Discovering Arduino
		Where Did Arduino Come From?
		Learning by Doing
			Patching
			Hacking
			Circuit bending
		Electronics
			Inputs
			Outputs
		Open Source
	Chapter 2 Finding Your Board and Your Way Around It
		Getting to Know the Arduino Uno
			The Brains: ATmega328P microcontroller chip
			Header sockets
			Digital pins
			Analog in pins
			What about analog out?
			Power pins
			USB socket
			Power socket
			Reset button
		Discovering Other Arduino Boards
			Official Arduino boards
			Contributed (approved) Arduinos
		Shopping for Arduino
			Arduino Store
			Adafruit
			SparkFun
			Seeed Studio
			Watterott Electronic
			Electronics distributors
			Amazon
			eBay
		Kitted Out: Starting with a Beginner’s Kit
		Preparing a Workspace
		Installing Arduino
		Surveying the Arduino Environment
		Using Arduino Web Editor
	Chapter 3 Blinking an LED
		Working with Your First Arduino Sketch
			Finding the Blink Sketch
			Identifying your board
			Configuring the software
			Uploading the sketch
			Congratulate yourself!
			What just happened?
		Looking Closer at the Sketch
			Comments
			Functions
			Setup
			Loop
		Blinking Brighter
		Tweaking the Sketch
Part 2 Getting Physical with Arduino
	Chapter 4 Tools of the Trade
		Finding the Right Tools for the Job
			Breadboard
			Jump wires
			Needle-nose pliers
			Multimeter
		Using a Multimeter to Measure Voltage, Current, and Resistance
			Measuring voltage in a circuit
			Measuring current in a circuit
			Measuring resistance of a resistor
			Measuring resistance of a variable resistor
			Checking the continuity (in bleeps) of your circuit
	Chapter 5 A Primer on Electricity and Circuitry
		Understanding Electricity
		Using Equations to Build Your Circuits
			Ohm’s Law
			Calculating power
			Joule’s Law
		Working with Circuit Diagrams
			A simple circuit diagram
			Using a circuit diagram with an Arduino
		Color-Coding
		Datasheets
		Resistor Color Charts
	Chapter 6 Basic Sketches: Inputs, Outputs, and Communication
		Uploading a Sketch
		Using Pulse-Width Modulation (PWM)
		The LED Fade Sketch
			Understanding the Fade sketch
			Declarations
			Variables
			Tweaking the Fade sketch
		The Button Sketch
			Understanding the Button sketch
			Tweaking the Button sketch
		The AnalogInput Sketch
			Understanding the AnalogInput sketch
			Tweaking the AnalogInput sketch
		Talking Serial
			The DigitalReadSerial Sketch
			Understanding the DigitalReadSerial sketch
			The AnalogInOutSerial Sketch
			Understanding the AnalogInOutSerial sketch
	Chapter 7 More Basic Sketches: Motion and Sound
		Working with Electric Motors
		Discovering Diodes
		Spinning a DC Motor
			The Motor sketch
			Understanding the Motor sketch
		Changing the Speed of Your Motor
			The MotorSpeed sketch
			Understanding the MotorSpeed sketch
		Controlling the Speed of Your Motor
			The MotorControl sketch
			Understanding the MotorControl Sketch
			Tweaking the MotorControl sketch
		Getting to Know Servo motors
		Creating Sweeping Movements
			The Sweep sketch
			Understanding the Sweep sketch
		Controlling Your Servo
			The Knob sketch
			Understanding the Knob sketch
		Making Noises
			Piezo buzzer
			The toneMelody sketch
			Understanding the sketch
		Making an Instrument
			The PitchFollower sketch
			Understanding the sketch
Part 3 Building on the Basics
	Chapter 8 Learning by Example
		Skube
			How it works
			Further reading
		Chorus
			How it works
			Further reading
		Push Snowboarding
			How it works
			Further reading
		Baker Tweet
			How it works
			Further reading
		The National Maritime Museum’s Compass Lounge and Compass Card
			How it works
			Further reading
		The Good Night Lamp
			How it works
			Further reading
		Little Printer
			How it works
			Further reading
		Flap to Freedom
			How it works
			Further reading
	Chapter 9 Soldering On
		Understanding Soldering
		Gathering What You Need for Soldering
			Creating a workspace
			Choosing a soldering iron
			Solder
			Third hand (helping hand)
			Adhesive putty
			Wire cutters
			Wire strippers
			Needle-nosed pliers
			Multimeter
			Solder sucker
			Solder wick
			Equipment wire
		Staying Safe while Soldering
			Handling your soldering iron
			Keeping your eyes protected
			Working in a ventilated environment
			Cleaning your iron
			Don’t eat the solder!
		Assembling a Shield
			Laying out all the pieces of the circuit
			Assembly
			Header pins
		Acquiring Your Soldering Technique
		Building Your Circuit
			Knowing your circuit
			Laying out your circuit
			Preparing your wire
			Soldering your circuit
			Cleaning up
			Testing your shield
		Packaging Your Project
			Enclosures
			Wiring
			Securing the board and other elements
	Chapter 10 Getting Clever with Code
		Blinking Better
			Setting up the BlinkWithoutDelay sketch
			Understanding the BlinkWithoutDelay sketch
		Taking the Bounce Out of Your Button
			Setting up the Debounce sketch
			Understanding the Debounce sketch
		Making a Better Button
			Setting up the StateChangeDetection sketch
			Understanding the StateChangeDetection sketch
		Smoothing Your Sensors
			Setting up the Smoothing sketch
			Understanding the Smoothing sketch
		Calibrating Your Inputs
			Setting up the Calibration sketch
			Understanding the Calibration sketch
	Chapter 11 Common Sense with Common Sensors
		Making Buttons Easier
			Implementing the DigitalInputPullup sketch
			Understanding the DigitalInputPullup sketch
		Exploring Piezo Sensors
			Implementing the Knock sketch
			Understanding the Knock sketch
		Utilizing Pressure, Force, and Load Sensors
			Implementing the toneKeyboard sketch
			Understanding the toneKeyboard sketch
		Sensing with Style
			Implementing the CapPinSketch sketch
			Understanding the CapPinSketch sketch
		Tripping Along with Lasers
			Implementing the AnalogInOutSerial sketch
			Understanding the AnalogInOutSerial sketch
		Detecting Movement
			Implementing the DigitalReadSerial sketch
			Understanding the DigitalReadSerial sketch
		Measuring Distance
			Implementing the MaxSonar sketch
			Understanding the MaxSonar sketch
		Testing, Testing . . . Can Anybody Hear This?
			Implementing the AnalogInOutSerial sketch
			Understanding the AnalogInOutSerial sketch
	Chapter 12 Becoming a Specialist with Shields and Libraries
		Looking at Shields
			Considering combinations
			Reviewing the field
			Staying current
		Browsing the Libraries
			Reviewing the standard libraries
			Installing additional libraries
			Obtaining contributed libraries
Part 4 Sussing Out Software
	Chapter 13 Getting to Know Processing
		Looking Under the Hood
			Installing Processing
			Taking a look at Processing
		Trying Your First Processing Sketch
			Drawing shapes
			Changing color and opacity
			Playing with interaction
	Chapter 14 Processing the Physical World
		Making a Virtual Button
			Setting up the Arduino code
			Setting up the Processing code
			Understanding the Processing PhysicalPixel sketch
			Understanding the Arduino PhysicalPixel sketch
		Drawing a Graph
			Setting up the Arduino code
			Setting up the Processing code
			Understanding the Arduino Graph sketch
			Understanding the Processing Graph sketch
		Sending Multiple Signals
			Setting up the Arduino code
			Setting up the Processing code
			Understanding the Arduino SerialCallResponse sketch
			Understanding the Processing SerialCallResponse sketch
Part 5 The Part of Tens
	Chapter 15 Ten Places to Learn More about Arduino
		Arduino Blog
		Hack a Day
		SparkFun
		MAKE
		Adafruit
		Instructables
		YouTube
		Hackerspaces
		Forum
		Friends, Colleagues, and Workshops
	Chapter 16 Ten Great Shops to Know
		Adafruit
		Arduino Store
		Seeed Studio
		SparkFun
		Allied Electroncs
		Newark Electronics
		Mouser
		Digi-Key
		eBay
		Dumpster Diving
Index
                        

Similer Documents