Arduino Cookbook Review
The Arduino has become a white-hot topic these days by granting the ability to allow anyone with a computer, a 30-dollar Arduino, and an incentive to route electrons through sensors and actuators and make them do interesting things. The latest book to make it to this topical pile-on is technologist Michael Margolis' Arduino Cookbook. Does it have the essential recipes to satisfy the discerning palettes of Arduino enthusiasts? Read on to find out.
Arduino Cookbook is a compilation of nearly 200 tips and tricks working with the hardware. Like most recipe books, there's little that's truly exclusive to the book. Most of the tips are examples or variations of those topics already posted on various Arduino enthusiast websites. Even so, the value that the author brings with this compilation is one of the most comprehensive, well organized, and up-to-date books on the wide world of Arduino-centric programming.
Like many of O'Reilly cookbooks, Arduino Cookbook is capable of standing on its own, but is optimized as an adjunct to introductory texts on the subject. As such, the most valuable reading experience will come to those who have already dabbled in constructing and running basic Arduino sketches and are ready for deeper explorations. Following the Problem/Solution/Discussion format, readers will go from the basics of setting up the Arduino development environment to low-level coding memory handling and manipulating registers, interrupts, and timers on the Arduino's controller chip hardware. In between, readers will learn more efficient ways to handle math and text manipulation, communicate over multiple serial connections, capture basic digital and analog input, read from a variety of sensors, and deliver visual, physical, and audio output with assistance from various Arduino add-on boards (known as 'shields' in Arduino speak). Even more interesting chapters on controlling external devices and displays, wired and wireless networking, as well as more advanced topics like consuming and creating Arduino libraries and the aforementioned Arduino hardware hacking tips conclude the base of the book. There are seven appendixes covering the basic electronic components often used with the Arduino's main brain (typically an ATmega328 microcontroller found in the most popular Arduino board, the Arduino Uno).
The book is loaded with Arduino sketch source code that can thankfully be freely downloaded from the book's website. Anyone with an Arduino and an Internet connection will be able to keep themselves occupied for days loading up these various programs (known as 'sketches' in Arduino speak). Some of my personal favorite recipes are "receiving serial data from two devices at the same time", "measuring volates more than 5V", "using an analog panel meter as a display", "controlling a digital camera" "adding external EEPROM memory" and "reducing battery drain". Readers are bound to discover their own favorites as well.
I wish I had access to the Arduino Cookbook a year ago when I dove head first into this fun component of what is becoming known as "The Internet of Things". For those just now getting their feet wet in the Arduino world, I would suggest a good introductory book like Arduino: A Quick Start Guide, by Maik Schmidt, followed up by Michael Margolis' Arduino Cookbook. Combined, these two titles will give readers enough information to build 90% of what is possible. The Arduino has become in my mind the 21st century electronic equivalent of the Erector Set, and the Arduino Cookbook is a handbook that any serious Arduino enthusiast should have by their side.
Title: Arduino Cookbook
Author: Michael Margolis
Publisher: O'Reilly Media
Price: $31.99 (Ebook), $44.99 (Print)