You are previewing Beginning Arduino, Second Edition.
O'Reilly logo
Beginning Arduino, Second Edition

Book Description

Want to light up a display? Control a touch screen? Program a robot? The Arduino is a microcontroller board that can help you do all of these things, plus nearly anything you can dream up. Even better, it's inexpensive and, with the help of Beginning Arduino, Second Edition, easy to learn.

In Beginning Arduino, Second Edition, you will learn all about the popular Arduino by working your way through a set of 50 cool projects. You'll progress from a complete Arduino beginner to intermediate Arduino and electronic skills and the confidence to create your own amazing projects. You'll also learn about the newest Arduino boards like the Uno and the Leonardo along the way. Absolutely no experience in programming or electronics required!

Each project is designed to build upon the knowledge learned in earlier projects and to further your knowledge of Arduino programming and electronics. By the end of the book you will be able to create your own projects confidently and with creativity. You'll learn about:

  • Controlling LEDs

  • Displaying text and graphics on LCD displays

  • Making a line-following robot

  • Using digital pressure sensors

  • Reading and writing data to SD cards

  • Connecting your Arduino to the Internet

This book is for electronics enthusiasts who are new to the Arduino as well as artists and hobbyists who want to learn this very popular platform for physical computing and electronic art.

Please note: The print version of this title is black and white; the eBook is full color. The color fritzing diagrams are available in the source code downloads on http://www.apress.com/9781430250166

What you'll learn

  • Controlling LEDs

  • Displaying text and graphics on LCD displays

  • Making a line-following robot

  • Using digital pressure sensors

  • Reading and writing data to SD cards

  • Connecting your Arduino to the Internet

Who this book is for

Electronics enthusiasts who are new to the Arduino as well as artists and hobbyists who want to learn this very popular platform for physical computing and electronic art.

Table of Contents

  1. Title Page
  2. Dedication
  3. Contents at a Glance
  4. Contents
  5. About the Author
  6. About the Technical Reviewers
  7. Acknowledgments
  8. Introduction
  9. CHAPTER 1: Getting Started
    1. How to Use This Book
    2. What You Will Need
    3. What Exactly Is an Arduino?
    4. Setting Up Your Arduino
    5. Upload Your First Sketch
    6. The Arduino IDE
    7. Summary
  10. CHAPTER 2: Light ‘Em Up
    1. Project 1 — LED Flasher
    2. Project 2 – S.O.S. Morse Code Signaler
    3. Project 3 – Traffic Lights
    4. Project 4 – Interactive Traffic Lights
    5. Summary
  11. CHAPTER 3: LED Effects
    1. Project 5 – LED Chase Effect
    2. Project 6 – Interactive LED Chase Effect
    3. Project 7 – Pulsating Lamp
    4. Project 8 – RGB Mood Lamp
    5. Project 9 – LED Fire Effect
    6. Project 10 – Serial Controlled Mood Lamp
    7. Summary
  12. CHAPTER 4: Simple Sounders and Sensors
    1. Project 11 – Piezo Sounder Alarm
    2. Project 12 – Piezo-Sounder Melody Player
    3. Project 13 – Piezo Knock Sensor
    4. Project 14 – Light Sensor
    5. Summary
  13. CHAPTER 5: Driving a DC Motor
    1. Project 15 – Simple Motor Control
    2. Project 16 – Using an L293D Motor Driver IC
    3. Summary
  14. CHAPTER 6: Binary Counters and Shift Register I/O
    1. Project 17 – Shift Register 8-Bit Binary Counter
    2. Project 18 – Dual 8-Bit Binary Counters
    3. Summary
  15. CHAPTER 7: LED Displays
    1. Project 19 – LED Dot Matrix Display – Basic Animation
    2. Project 20 – LED Dot-Matrix Display – Scrolling Sprite
    3. Project 21 – LED Dot-Matrix Display – Scrolling Message
    4. Project 22 – LED Dot Matrix Display – Pong Game
    5. Summary
  16. CHAPTER 8: Liquid Crystal Displays
    1. Project 23 – Basic LCD Control
    2. Project 24 – LCD Temperature Display
    3. Summary
  17. CHAPTER 9: Servos
    1. Project 25 – Servo Control
    2. Project 26 – Dual Servo Control
    3. Project 27 – Joystick Servo Control
    4. Summary
  18. CHAPTER 10: Steppers and Robots
    1. Project 28 – Basic Stepper Control
    2. Project 29 – Using a Motor Shield
    3. Project 30 – Line-Following Robot
    4. Summary
  19. CHAPTER 11: Pressure Sensors
    1. Project 31 – Digital Pressure Sensor
    2. Project 32 – Digital Barograph
    3. Summary
  20. CHAPTER 12: Touch Screens
    1. Project 33 – Basic Touch Screen
    2. Project 34 – Touch Screen Keypad
    3. Project 35 – Touch Screen Light Controller
    4. Summary
  21. CHAPTER 13: Temperature Sensors
    1. Project 36 – Serial Temperature Sensor
    2. Project 37 – One-Wire Digital Temperature Sensor
    3. Summary
  22. CHAPTER 14: Ultrasonic Rangefinders
    1. Project 38 – Simple Ultrasonic Rangefinder
    2. Project 39 – Ultrasonic Distance Display
    3. Project 40 – Ultrasonic Alarm
    4. Project 41 – Ultrasonic Theremin
    5. Summary
  23. CHAPTER 15: Reading and Writing to an SD Card
    1. Project 42 – Simple SD Card/Read Write
    2. Project 43 – Temperature SD Datalogger
    3. Summary
  24. CHAPTER 16: Making an RFID Reader
    1. Project 44 – Simple RFID Reader
    2. Project 45—Access Control System
    3. Summary
  25. CHAPTER 17: Communicating over Ethernet
    1. Project 46 – Ethernet Shield
    2. Project 47 — Internet Weather Display
    3. Project 48 — Email Alert System
    4. Project 49 — Twitterbot
    5. Project 50 – RSS Weather Reader
    6. Summary
  26. Index