Arduino Cookbook

Author: Michael Margolis
Publisher: O'Reilly, 2011
Pages: 660
ISBN: 978-0596802479
Aimed at: D-I-Y hardware enthusiasts
Rating: 5
Pros: Wide range of projects
Cons: Mostly module-based construction
Reviewed by: Harry Fairhead

The Arduino can be the core of a complicated overall system of parts. Why invent the wheel each time you need to create a subsystem that does a particular task. This is where a cookbook might help.

This is a very nice cookbook for both the hardware and the software it contributes via the recipes. It starts off with a brief introduction to the Arduino and to the programming language. Many of the recipes in the first three chapters are very simple and unless you are a complete beginner you can probably skip them. Chapter 4 deals with using the serial connection and covers sending and working with data on the PC.




Chapter 5 is where the real hardware side starts to take the upper hand with a look at simple digital and analog switching - debouncing, timing a switch and so on. Chapter 6 is about using sensors including vibration, sound temperature, RFID tags and so on. Some of the sensors are more unusual - a PC mouse, GPS, Gyroscope, acceleration, game pad and so on. Chapter 7 is a fairly standard survey of output devices ranging from arrays of LEDs to 7 segment display and even an analog panel meter. To find out about using full LCD displays and bigger, such as using a TV set, you have to wait for Chapter 11.

Chapter 8 deals with "physical output" and mainly covers motors and servos. The motor control is mostly using off the shelf bridge controller. Chapter 9 is about audio output and explains how to synthesise tone and how to work with WAV files and MIDI devices. Chapter 10 is on infra red remote controls including learning command sequences and making a programmable remote to control a digital camera. Chapter 12 jumps back to a mostly software subject - using time and dates.

Chapters 13, 14 and 15 are all about communications. I2C and SPI for interchip communication. Wireless communication using a ZigBee and LAN communication using an Ethernet shield. Much of the chapter on using the LAN is about implementing standard protocols such as DCHP and DNS but later you get to create a web server on the Arduino and send Twitter messages.

Chapters 16 and 17 are about advanced software - using modifying and creating libraries and dealing with memory and the build process. The final chapter looks at advanced hardware - mainly working with the micro-controller registers directly.

This covers such a wide range of topics that it has to have something for everyone. It doesn't often get down to the component level. Connecting up LEDs and calculating current limiting resistors is about as far as it goes with the occasional single transistor thrown in for good luck. But working with prebuilt modules is how most of electronics is these days and it isn't a bad way to build systems based on the Arduino quickly and cheaply. If nothing else the cookbook provides an excellent list of modules that you can use to get a job done.

Highly recommended.


The Phoenix Project

Author: Gene Kin, Kevin Behr and George Spafford
Publisher:  IT Revolution Press
Pages: 583
ISBN: 9781942788294
Print: 1942788290
Kindle: B078Y98RG8
Audience: Anyone in IT
Rating: 4.5
Reviewer: Sanjay Kanade


With the subtitle "A Novel about IT, DevOps, and Helping Your  [ ... ]

Access 2019 Bible

Author: Michael Alexander and Dick Kusleika
Publisher: Wiley
Pages: 1136
ISBN: 978-1119514756
Print: 1119514754
Kindle: B07J1WJ1ZK
Audience: Access users and developers
Rating: 4.7
Reviewer: Kay Ewbank

This brick of a book has been updated for Access 2019, and while it isn't specifically aimed at deve [ ... ]

More Reviews

Last Updated ( Monday, 02 January 2012 )