Table of Contents

 

Copyright

Brief Table of Contents

Table of Contents

Preface

Acknowledgments

About this Book

About the Cover Illustration

1. Getting started

Chapter 1. Hello Arduino

1.1. A brief history of the Arduino

1.2. The Arduino hardware

1.2.1. Arduino Uno

1.2.2. Arduino Duemilanove

1.2.3. Arduino Ethernet

1.2.4. Arduino Mega

1.2.5. Other Arduino boards

1.2.6. Attack of the clones

1.2.7. Getting an Arduino

1.3. Setting up your working environment

1.3.1. Software for Arduino

1.3.2. Basic hardware setup

1.3.3. Your Arduino toolbox

1.4. Make something happen!

1.4.1. Your first blinking LED

1.4.2. Sketch to make an LED blink

1.4.3. Connecting everything

1.4.4. Uploading and testing

1.5. Touring the IDE

1.5.1. The main editor

1.5.2. Serial monitor

1.5.3. Catching errors

1.5.4. Process

1.6. Anatomy of a sketch

1.6.1. A routine called setup

1.6.2. The endless loop

1.7. Commenting code

1.8. Summary

Chapter 2. Digital input and output

2.1. Getting started

2.1.1. Using a breadboard

2.1.2. Circuit diagram

2.1.3. Adding the LEDs

2.1.4. Connecting the hardware

2.1.5. Sketch to flash five LEDs

2.1.6. Upload and test

2.2. Gaining control

2.2.1. Circuit diagram

2.2.2. Connections