book review

Arduino Cookbook on its way!

Posted by arkadian on January 16, 2011
Arduino, Processing, Reviews / Comments Off

A Safari Online subscription was one of the best things I took on in 2010. As part of the service, subscribers can access early drafts of Oreilly books. Yesterday, I had a quick look at the upcoming “Arduino Cookbook” and I here is my review.

I really like the Oreilly “Cookbook” series. With most programming books, it seems that the authors assume zero knowledge from their audience and start with variables, for loops, functions and classes etc etc… With the “Cookbook” series, the editors assume a more advanced audience and give solutions to real-life problems. For me, this is great for two reasons: first of all, due to my busy schedule and short attention span, I like being able to read 5-10 pages and feeling I’ve actually learnt something. The second reason is that these books, by giving us “recipes”, i.e. solutions to real-life problems, effectively teach us how to solve problems.

Now, the questions are “how the new Arduino Cookbook compares to other arduino books” and “is it a worthy member of the Cookbook series”?


Overall, I have to say, I was very impressed. The authors opted to start with simple recipies on problems most rookies stumble upon, but at around page 100 things start getting interesting, with recipies that interface Arduino and Processing, a very good section on lcds, plus everything you may decide to connect an arduino to, from various sensors to servos, gps receivers etc.

The book is true to its Cookbook roots and gives practical advice on problems that arduino users will have at some point to deal with. I found numerous recipies on problems I had come across in the past and had spent hours on forums trying to figure out solutions.

Another good point about this book is that it’s using the new Arduino Uno.

Is this the best Arduino book to date? Yes. It’s better than “Practical Arduino” when it comes to quantity and quality of examples and more useful in the long term than Masimo Banzi’s “Getting Started with Arduino” which is a very basic intro to the subject. Should it be the first book on Arduino one should buy? No. This is a “cookbook” and expects some understanding of the subject. I still thing Tom Igoe’s book “Making Things Talk: Practical Methods for Connecting Physical Objects” is the best and most inspiring intro to the subject, but the Arduino Cookbook goes further when it comes to practical advice and knowledge that can be transfered to many different projects. It does stick to its “Cookbook” roots!

With the arrival of the iPad, I have stopped buying real books, as the ebooks are cheaper and the Safari Online subscription service is great. The Arduino Cookbook will be one of the few real books I will personally buy this year as I think it’s a book worth having on my library.

Tags: , ,

Nice tutorials and book on Python

Posted by arkadian on April 24, 2010
Python / Comments Off

You can find a lot of tutorials on Python, but these is a pretty good one (actually 7) from Nick Parlante from GoogleDevelopers on youTube – here is the link to the first one: http://www.youtube.com/watch?v=tKTZoB2Vjuk. This is a really a great tutorial for beginners.

The book I’m using as my main python textbook (and would definitely recommend) is “Core Python Programming” from Wesley J. Chun:
http://www.amazon.co.uk/dp/0132269937 .
The book website is here: http://corepython.com/

Tags: , ,

Arduino Programming Notebook on Lulu.com

Posted by admin on August 05, 2009
Arduino / Comments Off

Brian Evans has published a book on Arduino on Lulu.com, which is available either as a free pdf download or a real paperback for £3.72 + postage. Arduino Programming Notebook – Direct link

This is book (or “notebook” as Brian calls it, as it is only 36 pages long) is a very short introduction to Adruino. It covers all the basics and it’s really all you need in order to get started if you know another programming language.

Most of the information on this book is also available online on the arduino.cc website, but it’s always worth having a printout handy, in case you want to look something up pretty quickly.

Tags: , ,

Processing & Arduino book reviews

Posted by admin on June 14, 2009
Arduino, Processing / 1 Comment

During the past 12 months, I have gone through a few books on Arduino and Processing. In this post, I’m going to give you my thoughts on these books.

Arduino & Processing Books

I’ll go through the books in the order I read them, which is not unfortunately the same as the order I should have read them. You’ll soon understand why.

.

Making Things Talk (Tom Igoe)

Making Things Talk

This is the first book I got and it really got me hooked into the Arduino world. Before that book, I was comfortable building computers from scratch and I did own a soldering iron, but the truth is that I hadn’t used for years. After reading this one, I ordered a few arduino boards, resistors, capasitors, sensors, servo motors and spent a fair amount of time building things.

This book really inspires you to start building things. It starts with the basics but it quickly moves to advanced concepts, techniques and projects. Every chapter includes a few projects that introduce gradually new layers of complexity. I’m always happy to grab this book and have yet another look at some of its great examples.

It’s not fair to call this book a book on Arduino, because it’s so much more than that. For me, it was not only an introduction to hardware and device hacking but also an introduction to Processing.

Prior to reading this book, I had read a lot about the Arduino board online, but this book proves that, sometimes a good book offers you more than you can find online, no matter how much time you spend searching.

If you are even thinking on using an arduino, you should buy this book.

.

Getting Started with Arduino (Massimo Banzi, co-founder of Arduino)

Getting Started With Arduino

This book, from Massimo Banzi, the co-founder of Arduino, was really the book I should have read first, before even going through the Arduino website. The book is only just over 100 pages long and it really serves as a very brief introduction of the Arduino platform. I bought it from a bookshop (rather than Amazon) and I knew beforehand that I may already know almost everything this book could offer. And I was almost right. Thinking back, I should have probably spent the £10 on another issue of the Make magazine.

.

Visualizing Data (Ben Fry)

Visualizing Data

After reading the book “Making Things Talk” I realised that Processing was a very powerful yet easy to learn programming environment. Most of the other books, treat Processing as a platform for artists, which (at that time) put me off buying them. My line of work involves a lot of data analysis; when I stumbled upon this book, I thought it could help me learn about this programming environment in a way that it could be beneficial for my work.

I soon realised that this book assumes a good working knowledge of Processing, which, at the time, I didn’t have. I put it aside, and started going through “Learning Processing” and “Processing” (see below). After a few weeks, I felt confident about going back to it.

With the right background knowledge of Processing, this book clearly demonstrates that Processing is a great programming environment when it comes to creating ways of visualising data.

I have started applying some of the techniques I’ve learnt from this book at work; we have replaced some huge excel files (approx 150MB each, due to the formatting and the formulas) with a bunch of Processing sketches I wrote. Visually, the results are superior to what we used to get by printing the excel files and it now takes us 8 minutes to complete a task that used to take us about 40 minutes to complete in excel…

I give Ben Fry full marks for this book. It’s well written and to the point and the examples clearly show how Processing makes Excel look inadequate when it comes to present information visually.

.

Processing (Casey Reas & Ben Fry)

Processing

This is the best reference book on Processing. It’s written in an unusual way, in the sense that it includes interviews (not necessarily about Processing) with various artists. At the beginning, I found strange that the authors had decided to include such interviews in their book, the but, in end, I ended up enjoying reading them.

The book is well written and a must-have if you are serious about learning Processing. The theory is presented in “layers”, in other words that each chapter only gives you what you are ready to learn (based on your level) and nothing more; this is great if you use it as a textbook, but it may make your life more difficult if you try to use it as a reference.

One thing that I believe needs more work in this book (which thankfully was covered well in Fry’s book “Visualizing Data”) was the chapter on time and date.

.

Learning Processing (Daniel Shiffman)

Learning Processing

The subtitle of this book is “A Beginner’s Guide to Programming Images, Animation and Interaction”, which is right on the money. This is really a beginner’s textbook and feels a lot more like your typical programmer’s book. There aren’t any interviews with artists, but there are exercises and projects in each chapter.

This is probably a good book to use as a textbook, but as I had already gone through “Processing”, I found myself turning the pages faster than I normal.

.

Algorithms For Visual Design using the Processing Language (Kostas Terzidis)

Algorithms For Visual Design (Kostas Terzidis)

This book was the latest book I got and was recommended to me by Amazon’s clever algorithm (which picked up the fact that I was collecting books on Processing). The first thing I noticed about the book what that the quality of the paper was low. Now, I know I shouldn’t be judging the books by their covers (or the quality of their pages) and the paper was probably recycled (which is something I should be supporting), but it did disappoint me a little.

The book is written by someone who knows more Java than Processing. This is generally a good thing, I thought, until I hit the chapter on GUI design… Instead of explaining how to create nice, colourful and fully customisable buttons using nothing but Processing code, this book only explains how to add the simple standard grey buttons you see everywhere. I felt that was a major omission.

To be fair, the book does have very chapters on Motion, Image processing and 3D with a lot of examples and theory to back them. Another pleasant surprise was the chapter on Physical Computing: in 25 pages the author gives a very good summary of the Arduino platform (probably better than the “Getting Started with Arduino” book!).

.

Conclusion…

the Summary

From the books I listed above, if I had to keep three of them, I would keep “Making Things Talk”, “Processing” and “Visualizing Data”, as I feel these cover more than enough the topics I’m interested in.

Tags: , ,