Foreword. i
Introduction. 1
* What_is_open_source_hardware? 1
* What_is_physical_computing? 3
* What_are_modular_electronics? 5
* What_is_the_Arduino? 6
How_to_use_this_book 8
Getting_to_know_your_Arduino 10
* Landmarks_on_the_Arduino_Diecimila_board 12
* Installing_the_Arduino_programs_on_your_desktop 13
* Navigating_the_Arduino_programming_environment 14
Introduction_to_the_modules 16
Terms_used_throughout_the_book 23
The_Arduino 25
* Hello_world_program 26
* Communicating_between_the_Arduino_and_PC_over_serial 32
* Blinking_the_onboard_LED_on_pin_13 38
Arduino + Breadboard + LEDs 43
* Knight Rider with LEDs 44
Arduino + Digital input switches 54
Arduino + Analog inputs 62
* Battery Tester 63
Arduino + Lithium Backpack 69
* Portable LED blinker 70
Arduino + TouchShield 76
* How to Program the TouchShield 77
* Basic Squares 81
* TouchShield Hello World 85
* Reaction Time Game 90
* Stoplight. 95
* Countdown Timer 99
* Battery Life Monitor 104
Arduino + ProtoShield + GPS.109
* Serial GPS reader 110
Arduino + ProtoShield + Accelerometer 117
* Gravity Tester: Basic input and output over serial 118
Arduino + ProtoShield + Ping Sensor 128
* Burglar Alarm 129
Arduino + Motor board + Motor 135
* Basic control of a motor 136
Arduino + Lithium Backpack + TouchShield 142
* Pin Visualizer 143
* BitDJ 155
Arduino + ExtenderShield + ProtoShield + TouchShield + BackPack + Accelerometer 163
* Acceleration meter 164
An open source project 173
Additional resources 174
My Own Device (I) 176
My Own Device (II)