Arduino in Action
Martin Evans, Joshua Noble, and Jordan Hochenbaum
  • May 2013
  • ISBN 9781617290244
  • 368 pages
  • printed in black & white

Well-written with many helpful examples. Not just for practice!

Matt Scarpino, author of "OpenCL in Action"

Arduino in Action is a hands-on guide to prototyping and building electronics using the Arduino platform. Suitable for both beginners and advanced users, this easy-to-follow book begins with the basics and then systematically guides you through projects ranging from your first blinking LED through connecting Arduino to devices like game controllers or your iPhone.

About the Technology

Arduino is an open source do-it-yourself electronics platform that supports a mind-boggling collection of sensors and actuators you can use to build anything you can imagine. Even if you've never attempted a hardware project, this easy-to-follow book will guide you from your first blinking LED through connecting Arduino to your iPhone.

About the book

Arduino in Action is a hands-on guide to prototyping and building DIY electronics. You'll start with the basics--unpacking your board and using a simple program to make something happen. Then, you'll attempt progressively more complex projects as you connect Arduino to motors, LCD displays, Wi-Fi, GPS, and Bluetooth. You'll explore input/output sensors, including ultrasound, infrared, and light, and then use them for tasks like robotic obstacle avoidance.

Table of Contents detailed table of contents



about this book

about the cover illustration

Part 1 Getting started

1. Hello Arduino

1.1. A brief history of the Arduino

1.2. The Arduino hardware

1.3. Setting up your working environment

1.4. Make something happen!

1.5. Touring the IDE

1.6. Anatomy of a sketch

1.7. Commenting code

1.8. Summary

2. Digital input and output

2.1. Getting started

2.2. Gaining control

2.3. Reaction tester

2.4. Reactometer: Who really has the fastest

2.5. Summary

3. Simple projects: input and output

3.1. Time to get analog

3.2. A piezoelectric transducer

3.3. Making a pentatonic or five-tone keyboard

3.4. Summary

Part 2 Putting Arduino to work

4. Extending Arduino

4.1. Extending the Arduino with libraries

4.2. Core library

4.3. Standard libraries

4.4. Contributed libraries

4.5. Expanding the Arduino with shields

4.6. Summary

5. Arduino in motion

5.1. Getting up to speed with DC motors

5.2. Speed control and reverse

5.3. Stepper motors: one step at a time

5.4. Try not to get in a flap with servomotors

5.5. Mighty power comes in small packages with brushless DC motors

5.6. The motor control shield for more motors

5.7. Summary

6. Object detection

6.1. Object detection with ultrasound

6.2. Infrared for range finding

6.3. Passive infrared to detect movement

6.4. Summary

7. LCD displays

7.1. Introduction to LCDs

7.2. Parallel character LCDs: the Hitachi HD44780

7.3. Serial LCD weather station

7.4. Graphic LCDs: the Samsung KS0108 GLCD

7.5. Summary

8. Communications

8.1. Ethernet

8.2. Arduino web server

8.3. Tweet tweet: talking to Twitter

8.4. Wi-Fi

8.5. Bluetooth wireless

8.6. Serial peripheral interface (SPI)

8.7. Data logging

8.8. Cosm

8.9. Summary

9. Game on

9.1. Nintendo Wii salutes you

9.2. Release the Xbox

9.3. Summary

10. Integrating the Arduino with iOS

10.1. Connecting your device to the Arduino

10.2. iOS code

10.3. The Arduino gets involved

10.4. Doing more with Xcode

10.5. Arduino sliding

10.6. Moving data to the iOS device

10.7. Summary

11. Making wearables

11.1. Introducing the LilyPad

11.2. Creating a turn-signal jacket

11.3. Creating a wearable piano

11.4. The Arduino Pro Mini

11.5. Creating a smart headphone

11.6. Creating a jacket with a compass

11.7. Summary

12. Adding shields

12.1. Shield basics

12.2. The Adafruit motor shield

12.3. Creating your own shield

12.4. Summary

13. Software integration

13.1. The serial channel

13.2. Servos for face tracking

13.3. Using Firmata to create an equalizer

13.4. Using Pure Data to create a synthesizer

13.5. Using Python to monitor temperatures

13.6. Summary

Appendix A: Installing the Arduino IDE

Appendix B: Coding primer

Appendix C: Libraries

Appendix D: Components list


What's inside

  • Getting started with Arduino--no experience required!
  • Writing programs for Arduino
  • Sensing and responding to events
  • Robots, flying vehicles, Twitter machines, LCD displays, and more!

About the reader

Arduino programs look a lot like C or C++, so some programming skill is helpful.

About the authors

Martin Evans is a professional developer, a lifelong electronics enthusiast, and the creator of an Arduino-based underwater ROV. Joshua Noble is an author and creative technologist who works with smart spaces. Jordan Hochenbaum uses Arduino to explore musical expression and creative interaction.

placing your order...

Don't refresh or navigate away from the page.
print book $39.99 pBook + eBook + liveBook
Additional shipping charges may apply
Arduino in Action (print book) added to cart
continue shopping
go to cart

eBook $31.99 3 formats + liveBook
Arduino in Action (eBook) added to cart
continue shopping
go to cart

Prices displayed in rupees will be charged in USD when you check out.
customers also reading

This book 1-hop 2-hops 3-hops

FREE domestic shipping on three or more pBooks