Arduino Cookbook and over one million other books are available for Amazon Kindle. Learn more

Sell Us Your Item
For a $7.88 Gift Card
Trade in
Have one to sell? Sell yours here
Start reading Arduino Cookbook on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

Arduino Cookbook [Paperback]

Michael Margolis
4.5 out of 5 stars  See all reviews (30 customer reviews)


Available from these sellers.


Formats

Amazon Price New from Used from
Kindle Edition $17.27  
Paperback --  
Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now
There is a newer edition of this item:
Arduino Cookbook Arduino Cookbook 4.7 out of 5 stars (59)
$28.04
In Stock.

Book Description

March 31, 2011

Create your own toys, remote controllers, alarms, detectors, robots, and many other projects with the Arduino device. This simple microcontroller board 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


Editorial Reviews

About the Author

Michael Margolis is a technologist in the field of real time computing with expertise in developing and delivering hardware and software for interacting with the environment. He has over 30 years of experience in a wide range of relevant technologies, working with Sony, Microsoft, Lucent/Bell Labs, and most recently as Chief Technical Officer with Avaya.


Product Details

  • Paperback: 662 pages
  • Publisher: O'Reilly Media; 1 edition (March 31, 2011)
  • Language: English
  • ISBN-10: 0596802471
  • ISBN-13: 978-0596802479
  • Product Dimensions: 7 x 1.3 x 9.2 inches
  • Shipping Weight: 2.4 pounds
  • Average Customer Review: 4.5 out of 5 stars  See all reviews (30 customer reviews)
  • Amazon Best Sellers Rank: #167,271 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

4.5 out of 5 stars
(30)
4.5 out of 5 stars
Most Helpful Customer Reviews
122 of 132 people found the following review helpful
2.0 out of 5 stars Only for beginners August 4, 2011
Format:Paperback|Amazon Verified Purchase
This is the first time I have ever considered returning a book to Amazon. I purchased this book based on the great reviews and a brief glance through the online preview pages. However, once I received the book I realized that it is not at all what I am looking for.

If you are new to programming, this book may be great. If you already know how to program but want to learn about the Arduino, this is NOT the book for you.

For example, chapters 1-3 discuss basic such as for loops (section 2.14) and the sqrt() function (section 3.8). This book works hard to avoid "advanced" subjects such as pointers and printf. Even in "Chapter 17: Advanced Coding and Memory Handling", there is barely any mention of heap and stack (SRAM) versus static (flash) memory. Sure, Ch.17 mentions the keyword PROGMEM but for any further details, the reader is referred to [...]. I don't need a general discussion of memory management, I bought this book hoping for information on the specific features and quirks of Arduino.

Want to learn about Arduino sleep modes? "18.10: Reducing Battery Drain" might seem like a good recipe. Don't bother though, all it does is reprint the most basic example of using the freely available Narcoleptic library from code.google.com. There is no mention of various Arduino sleep levels, how they may affect your code and what they do to the internal timers.

Let's pick a more basic example, how about a real-time clock? There is absolutely no discussion of the hardware side of a real-time clock. On the software side, there are a couple simple examples on using the standard C time library. It's a bit misleading to see "#include <Time.h>" in recipe 12.4 (note the <> brackets). Yes, <time.h> is a standard C library.
... Read more ›
Was this review helpful to you?
25 of 28 people found the following review helpful
Format:Paperback
This Comprehensive Sourcebook represents a novel and much needed addition to the Arduino literature. Up until now many tutorials have been introduced which allow a hobbyist new to physical computing, to duplicate a range of experiments that will gradually increase his/her knowledge of the Arduino hardware, software library and IDE and show examples of interfacing to a variety of devices. This revolutionary sourcebook is most useful for the hobbyist who has gone beyond reproducing other people's experiments and now needs a easy-to-consult guide to any hardware, software, interfacing or communication problem s/he is likely to encounter in designing his own practical application (or advanced experiment with the Arduino. Fully-fleshed out explanations of the IDE and Software Library, constructing your own routines and libraries, device i/o with Digital, Analog and A/C line Connected Devices, as well as almost any type of Communication (Bluetooth, Zigbee, Ethernet or HTTP protocols). The detailed table of contents, clear illustrations and extensive index of this reference make finding the piece of Arduino lore you seek a pleasure.

This is the book for an Arduino, or other Physical Computing hobbyist who has gone beyond following other people's instruction and who now seeks a useful and comprehensive reference that will serve for years to come in a variety of Intermediate and Advanced Projects.

--Ira Laefsky
IT & HCI Researcher and Consultant Formerly on the Senior Staff of Arthur D. Little, Inc. and Digital Equipment Corporation
A Participant in the Philly Hackerspace--Hive 76
Was this review helpful to you?
13 of 13 people found the following review helpful
4.0 out of 5 stars Arduino Cookbook - Great Arduino Recipes April 6, 2011
Format:Paperback|Amazon Verified Purchase
This is an awesome tutorial, idea starter, and has a lot of background material to bring you up to speed, quickly. Unfortunately, in the Kindle (ebook) version, there are several illustration mix ups. Swapped images, duplicates, etc. Hopefully that will be fixed in the next edition, or slipstreamed into current production. Still a very good value!

4-25-11 Update - O'Reilly sent me a updated version. Hoping Amazon starts sending it out as well.
Was this review helpful to you?
12 of 13 people found the following review helpful
5.0 out of 5 stars A Great Book April 7, 2011
Format:Paperback|Amazon Verified Purchase
I had to wait a long time for this book, but it was worth it. It is well written, broad in its topics and is a very useful reference. I only wish I had this when I branched out beyond the basic Arduino.

If I had two books that I would recommend for Arduino enthusiasts, my choices would be the The Arduino Cookbook and Beginning Arduino by M. Roberts. They are all you really need to solve many of the problems you might have.

The Arduino Cookbook should be on your prime Arduino reference and idea base. You can't go wrong getting it!
Was this review helpful to you?
5 of 5 people found the following review helpful
5.0 out of 5 stars Superb -- Wide range of topics, complete examples April 30, 2011
By Pelagic
Format:Paperback|Amazon Verified Purchase
Margolis' book gives us an exceptionally broad coverage of Arduino projects with complete and workable programming examples that are explained in a direct and matter-of-fact style. For these reasons alone, it's the most useful -- and most easily comprehended -- book on programming I've read in a long time.

His explanations of the code and hardware setups are the best I've seen.

For example, take the latter chapters on timers and interrupts. I had downloaded the 400-500 page Atmel datasheets and spent many hours unsuccessfully trying to understand how to use these features -- to no success. Margolis gives us a clear overview of their operation and explains the essential aspects of using them, with practical code examples that you can copy for your projects. He tells us what we need to know to get the job done, explaining every essential fact, and omits obfuscating details, of which there are many.

In contrast, the datasheets covers them down to gate and register levels, about 50-60 pages of detail, without any helpful advice on what-is/what-isn't important and nothing about how it all comes together in the big picture of a working code example. I've never read a description of timers and interrupts for any CPU that was as clear, helpful, complete and to the point as what he provides.

It's actually a pleasure to read ALL his chapters. In over 600 pages there's no wasted motion or missing ingredients. The number of topics/projects is shocking -- that one person could master it all and write so clearly and completely about them.

Every chapter works both as a reference for the topic at hand and has useful, fully workable, code and circuit layout examples. I'm not going to list the 18 chapter titles here as they are available elsewhere.
... Read more ›
Was this review helpful to you?
Most Recent Customer Reviews
5.0 out of 5 stars A must have book.
This is one of the most useful books I have in my tech library.
It is not a beginners introduction to basic programming concepts. Read more
Published 2 months ago by jamcan
5.0 out of 5 stars A Great Resource
This book contains just about every example you would need as a budding Arduino programmer. There are notes about pitfalls as well. Read more
Published 3 months ago by David F. Amos
5.0 out of 5 stars it's great thanks
it's great thanks, blah, blah. it's great thanks, blah, blah. it's great thanks, blah, blah.it's great thanks, blah, blah
Cool!
Published 4 months ago by lissajous
5.0 out of 5 stars Book for ALL users and learners
I believe this book is well written for just about anyone who wants to know more about the Arduino and its functions.
Published 5 months ago by Drewmaster74
4.0 out of 5 stars Great book, I just wish I had bought the hard copy, not the Kindle...
I have learned now that there are some things that are not so great on the Kindle. This is one of them. Read more
Published 5 months ago by Mike Solomon
5.0 out of 5 stars One-stop-shoping for Arduino Info
When you first begin hacking with Arduino, as I recently have, you will most likely spend the first few weeks scouring the Internet for information. Read more
Published 9 months ago by Joshua M. Marinacci
5.0 out of 5 stars The Arduino Cookbook: A Tool for our Times
Michael Margolis' book is exactly like a cookbook for people who know what they want technology to do for them, but don't know how to do it (yet). Read more
Published 14 months ago by William Hooper
5.0 out of 5 stars The Master Sketch
I've read the book cover to cover twice. There is a tremendous amount of material and all expertly presented. Read more
Published 16 months ago by John Wolf
4.0 out of 5 stars Get Second Edition instead
I am attaching this note as a review to the First Edition of Arduino Cookbook, published in March 2011. Read more
Published 17 months ago by Mark Colan
5.0 out of 5 stars The deeper I go, the better this book gets
I've been using this as a true cookbook -- for solutions to specific challenges. Meanwhile, I also go to the introductory chapters when I find myself in over my head on a... Read more
Published 17 months ago by J. Darnell
Search Customer Reviews
Only search this product's reviews


Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Listmania!


So You'd Like to...


Create a guide


Look for Similar Items by Category