2nd Edition. — O’Reilly Media, 2016. — 510 p. — ISBN10: 1491939109.
Code only.
The book.
Launched in 2011, the Raspberry Pi has found a role both as a very low-cost Linux-based computer and as a platform for embedded computing. It has proven popular with educators and hobbyists alike.
Since the first edition of this book, several million more Raspberry Pis have been sold and a number of new models of Raspberry Pi have been produced. Some models—like the models B+, A+, and Pi 2 model B+—improve the specification of this device, culminating in the Raspberry Pi 2 with quad-core processor and the Raspberry Pi Compute model, which provide the Raspberry Pi as a plugin board that can become part of a larger system.
This edition has been thoroughly updated to encompass the new models of Raspberry Pi, as well as the many changes and improvements to its Raspbian operating system.
This edition contains a new chapter on computer vision and a chapter of recipes on making Internet of Things projects with your Raspberry Pi.
This book is designed in such a way that you can read it linearly as you would a regular book, or access recipes at random. You can search the table of contents or index for the recipe that you want and then jump right to it. If the recipe requires you to know about other things, it will refer you to other recipes, rather like a cookbook might refer you to base sauces before showing you how to cook something fancier.
The world of Raspberry Pi moves quickly. With a large, active community, new interface boards and software libraries are being developed all the time. In addition to examples that use specific interface boards or software, the book also covers basic principles so that you can have a better understanding of how to use new technologies that come along as the Raspberry Pi ecosystem develops.
As you would expect, a large body of code (mostly Python programs) accompanies the book. These programs are all open source and available on GitHub. You’ll find a link to them at the Raspberry Pi Cookbook website.