Contents

Introduction

Part I Arduino Engineering Basics

Chapter 1 Getting Up and Blinking with the Arduino

Exploring the Arduino Ecosystem

Arduino Functionality

Atmel Microcontroller

Programming Interfaces

General I/O and ADCs

Power Supplies

Arduino Boards

Creating Your First Program

Downloading and Installing the Arduino IDE

Running the IDE and Connecting to the Arduino

Breaking Down Your First Program

Summary

Chapter 2 Digital Inputs, Outputs, and Pulse-Width Modulation

Digital Outputs

Wiring Up an LED and Using Breadboards

Working with Breadboards

Wiring LEDs

Programming Digital Outputs

Using For Loops

Pulse-Width Modulation with analogWrite()

Reading Digital Inputs

Reading Digital Inputs with Pulldown Resistors

Working with “Bouncy” Buttons

Building a Controllable RGB LED Nightlight

Summary

Chapter 3 Reading Analog Sensors

Understanding Analog and Digital Signals

Comparing Analog and Digital Signals

Converting an Analog Signal to a Digital One

Reading Analog Sensors with the Arduino: analogRead()

Reading a Potentiometer

Using Analog Sensors

Working with Analog Sensors to Sense Temperature

Using Variable Resistors to Make Your Own Analog Sensors

Using Resistive Voltage Dividers

Using Analog Inputs to Control Analog Outputs

Summary

Part II Controlling Your Environment

Chapter 4 Using Transistors and Driving Motors

Driving DC Motors

Handling High-Current Inductive Loads

Using Transistors as Switches

Using Protection Diodes

Using a Secondary Power Source

Wiring the Motor

Controlling ...

Get Exploring Arduino: Tools and Techniques for Engineering Wizardry now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.