Arduino Cookbook

Replacement:BOK-11170. We're now shipping the second edition of the *Arduino Cookbook *which id updated for the release of Arduino 1.0. This page is for reference only.

Create your own toys, remote controllers, alarms, detectors, robots, and many other projects with the Arduino development board. This simple microcontroller lets artists and designers build a variety of amazing objects and prototypes that interact with the physical world. With this cookbook you can dive right in and experiment with more than a hundred tips and techniques, no matter what your skill level is.

The recipes in this book provide solutions for most common problems and questions Arduino users have, including everything from programming fundamentals to working with sensors, motors, lights, and sound, or communicating over wired and wireless networks. You'll find the examples and advice you need to begin, expand, and enhance your projects right away.

  • Get to know the Arduino development environment
  • Understand the core elements of the Arduino programming language
  • Use common output devices for light, motion, and sound
  • Interact with almost any device that has a remote control
  • Learn techniques for handling time delays and time measurement
  • Use simple ways to transfer digital information from sensors to the Arduino device
  • Create complex projects that incorporate shields and external modules
  • Use and modify existing Arduino libraries, and learn how to create your own



Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

  • Funhough / about 11 years ago / 2

    Great book, great code. If your going Arduino this is a must. Together with wireless network book and Processing book You can do anything...

  • Member #24499 / about 11 years ago / 2

    This book is a MUST for Arduino users and a GREAT reference for interfacing anything to your Arduino. The discussion point at the beginning of each chapter explains the interface idea then how to easily do it. Each chapter title is addressed as a "recipe" in this great "cookbook". I have four other Arduino books and this one can easily replace them all. The Arduino Cookbook is well written, easy to read, with great illustrations and exceptional code examples for the Arduino AND various software interface methods using Processing, HTML, Python, and more. The price might be higher because this is an O’Reilly publication. So don’t drive this weekend and the gas money saved will buy this book.

    • Member #273388 / about 10 years ago / 1

      hi could you tell me Can if the Arduino language is only for microcontrollers or if you can use the language for much larger devices. What is the language max limits?

  • Member #118891 / about 10 years ago / 1

    As a long time AVR guy, and very short time Arduino guy, this book is quite good. Two thumbs up!

  • WX5CW / about 11 years ago / 1

    I am glad that someone had the time and knowledge to sit down and put it all on paper!!

  • Salizar / about 11 years ago / 1

    This book looks pretty big but I would like to know how extensive this book goes. Is it more about projects or does this book dive into things like the timer interrupt service, using PORT level operations and the core basics of how the Arduino does serial communication. The projects I am working on I really do need to know how these work and if I'm laying down almost 40 bucks for a book I would like to know what I am getting.

    • M-Short / about 11 years ago / 1

      It is a pretty big book, after appendixes and everything its over 600 pages. The book doesn't really do projects, more of code snippets, explanations, and directions. The book has 1 chapter dedicated to "controller chip hardware", there is a section in there about hardware interrupts and timers, but not in depth. If you have any more questions email us at

  • When I first saw the thumbnail for this book, I thought it was very strange to have a "cookbook" with a picture of a gutted rabbit on the front.
    Turns out it's a mechanical rabbit.

    • onlysix / about 11 years ago / 1

      O'reilly books uses an animal on almost every book they publish, i usually reference them based on the animal, like when i need my Grep book i look for the frog.

      • scharkalvin / about 11 years ago / 1

        I don't think they have a book on LAMP, but if they did they should use THIS as the "mascot"

    • Liz Baumann / about 11 years ago / 1

      2011 does happen to be the Year of the Metal Rabbit.

Customer Reviews

No reviews yet.