1Introduction 1.1The Arduino Project 1.2Book Structure and Target Audience 2Structure and Function of the Hardware 2.1Lots to Choose From: Arduino Versions 2.2Available for all Purposes: Shields 2.2.1Proto Shield 2.2.2Motor Shield 2..Ethernet Shield .Nothing Happens without Power: the Power Supply 2.4The Microcontroller: Heart of the Arduino 2.5The PC Connection: USB interface 3Develomn&bsp;Environment and Programming Basics 3.1Integrated Develomn&bsp;Environment (E) 3.2For Linux Users: Arduino E Under Ubuntu 3.3Simple Beginnings: The Warning Lit3.4General Structure of an Arduino Sketch 3.5Basic Elements of the C Programming Language for Arduino 3.6Program Structures 3.7Arduino-Specific Functions 3.8Arduino Punctuation: Syntax Elements 3.9Data Storage Elements: Variables 3.10The Art of Math: Operators 3.11To Be Clear: Logical Operators 3.12Unchanging Parameters: Constants 3.13Dealing with Related Data of the Same Type: Arrays 3.14Program Control Structures 3.15Controlling Timing 3.16Mathematical Functions 3.17Random numbers 3.18Extending the Options: Adding Libraries 4Electronic Components and Low-Cost "Freeduinos" 4.1Breadboards: Simple and Effective without Soldering 4.2Prototyping Boards: Durable Construction without Chemicals 4.3Low-Cost Freeduinos 4.4Arduino and Its Helpers: Basic Electronic Components 4.4.1USB Cable 4.4.2Resistors 4.4.3Capacitors 4.4.4Potentiometers 4.4.5LEDs 4.4.6RGB LEDs 4.4.7Switches 4.4.8Silicon Diodes 4.4.9 Transistors 5Hello World 5.1Cut to the Chaser 5.2It Gets Brighter: Controlling Power LEDs 5.3POVino: Persistence-of-Vision Display 6Displays and Display Techniques 6.1Bar Graph Display: The Classic for Measurement Applications 6.2Simple and Cheap: 7-Segment Displays 6.34-Digit, 7-Segment Displays: A Key Component for Instrumentation 6.4Mini Monitor for Signs and Graphics: The LED Dot Matrix 6.5Dot Matrix Display as a Two-Digit Digital Display 6.6Micro Learns to Write: Alphanumeric Display 6.7The LCD 7Measurement and Sensors 7.1Flexible and Easy to Read: An LED Voltmeter 7.2Volt / Ammeter: Precise Instrument for the Hobbyists Lab 7.3Kiloohmmeter for Specific Applications 7.4No More Faulty Electrolytic Capacitor Woes: The Elcaduino Tester 7.5Picofaraduino: Measuring Smaller Capacitances 7.6Transistino: Transistor Tester 7.7A Simple NTC Thermometer 7.8Hot or Cold? Temperature Measurement Using the AD22100 7.9Remote Thermometer 7.10Thermoduino: Precision Thermometer with 7-Segment Display 7.11When Are We Most Comfortable? - The Hygrometer 7.12Battduino: Capacity Measurement for Rechargeable Batteries 7.13Optical Sensors: Important for More than Just Photography 7.14Reflex Light for Geocaching 7.15For Professional Photographers: A Digital Light Meter 7.16Home Radar Station": Distance Measurement Using Ultrasound 8Timers, Clocks and Interrupts 8.1Morning and Night Fun: Grand Prix Toothbrush Timer 8.2Practical and Accurate: Digital Clock with LED Display 8.3Whos Faster? A Reaction Timer 8.4Timerino: Universal Timer with a 7-Segment Display 8.5Plug-in Timer to Make Life Easier 8.6Atomic Precision: The DCF77 Radio Clock 8.7Output of Time and Date to the Serial Interface 8.8Stand-Alone DCF77 Clock with LCD Display 9Interfaces 9.1Universal and Simple: The I2C Interface 9.2When We Run Out of Pins: Port Expansion 9.4Hexadecimal Debugger Display Using a 2-Digit, 7-Segment Display. 9.5LCD Control via I2C Using the PCF8574 9.6This Time, Fully Digital: The LM75 Thermometer 9.7Power-Saving: Real-Time Clock with Date Display 9.8Alter Including The IRremote Wireless, Practical, ick: The IR Interface 9.9“Lampino”: An IR-Controlled RGB Lamp 9.10Timely Luxury: An IR-Controlled Digital Clock 9.11Optimal for Microcontrollers: The PS/2 Interface 9.12Keyboard and Mouse as Universal Input Devices 9.13A Comle&bsp;Microcomputer with LCD Monitor and Keyboard 10Sounds and Synthesizer 10.1Simple Tones 10.2Transducers and Amplifiers 10.3Fast PWM Makes It Happen: Not Just tones, But Sound Waves 10.4Theremin: The Contactless Musical Instrument 10.5Audio Processing 10.5.1VCO: A Tunable Sine Wave Source 10.5.2Digital Signal Processing 10.6Sound Cloud: A Digital Synthesizer 11Digital Control Techniques 11.1Control Types 11.1.1P Controller 11.1.2I Controller 11.1.3PI Controller 11.1.4PD Controller 11.1.5P Controller 11.2Optimum Workstation Lighting: Digital Illumination Control 11.3A Classic of Control Theory: The Gravity Compensator 12Physical Computing 12.1Servos Control the World 12.2Photino: 2D Camera Swivel 1.Craning: Mouse-Controlled Crane 13Processing 13.1 Arduino and Processing: A Formidable Team 13.2 Interaction with Processing: Data Logging, Trend Graphs, etc 14The "Living Room Box: Our Modular Concluding Project 14.1Always Useful: A Clock 14.2Control from Afar: The IR Interface 14.30 V Control for Hi-Fi systems, Televisions, Lamps, etc 14.4Timers and Sensors as the Basis for Home Automation 14.5Indoor and Outdoor Thermometers 14.6No More Dry Air: A Hygrometer 14.7The Hardware Bibliography listings List of Figures List of Tables Index