- Save 25% each on Qualifying items offered by Pacific Coast Book Sellers when you purchase 1 or more. Here's how (restrictions apply)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Raspberry Pi User Guide 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
The Amazon Book Review
Author interviews, book reviews, editors picks, and more. Read it now
Frequently bought together
Customers who viewed this item also viewed
Special offers and product promotions
From the Back Cover
The essential guide to getting started with Raspberry Pi computing and programming
Originally conceived of as a fun, easy way for kids (and curious adults) to learn computer programming, the Raspberry Pi quickly evolved into a remarkably robust, credit-card-size computer that can be used for everything from playing HD videos and hacking around with hardware to learning to program!
Co-authored by one of the creators of the Raspberry Pi, this book fills you in on everything you need to know to get up and running on your Raspberry Pi, in no time, including how to:
- Connect to a keyboard, mouse, monitor and other peripherals
- Install software
- Master basic Linux System Admin
- Configure your Raspberry Pi
- Set-up your Raspberry Pi as a Productivity computer
- Write programmes in Scratch and Python
- Set up the Raspberry Pi to drive a multimedia centre
This is your complete guide to using and getting the most out of the world’s first, true compact computer.
Eben Upton is theco- creator of the Raspberry Pi board and the founder of the Raspberry Pi Foundation. Gareth Halfacree is a freelance technology journalist, open source advocate and erstwhile sysadmin.
About the Author
Eben Upton is the co-creator of the Raspberry Pi board and the founder of the Raspberry foundation.
Gareth Halfacree is a freelance technology journalist, open source advocate and erstwhile sysadmin.
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
The book properly starts with a short, but fascinating, history of how the Raspberry Pi came to be, starting as an idealist concept and a much simpler (and much less capable) breadboard prototype half a dozen years ago, compared with the real deal. As Eben recounts it, the Foundation gradually realized that they had accidentally and unintentionally promised a $25 ~ $35 computer to over 100,000 very expectant and enthusiastic fans, a bit more than the couple of hundred boards they had originally thought they would just give away to prospective students applying to Cambridge University's computer science curriculum. In less than a year, the Pi went from being just-another seemingly great idea that had a very uncertain but potentially great future, to an astoundingly successful reality, with several hundred thousand manufactured and delivered so far, to what are by all accounts highly-satisfied customers.
The book then gets down to the nitty-gritty of how to connect the board to the necessary (and not included) power supply, USB keyboard and optional mouse, HDMI display, and optional wired Ethernet and audio system hardware. Instructions are also provided for creating a bootable SD memory card on a Linux/Windows/Mac desktop or laptop computer that contains the recommended Debian Linux operating system and user files. A subsequent entire chapter describes the basics of the Linux OS, how to administer the system at a fundamental level and, most importantly, how to obtain the most up-to-date version of the OS, which will require a wired Ethernet connection. WiFi networking is possible with the Pi, but not fully detailed in this chapter - it is discussed in more depth in the network configuration chapter. Another full chapter describes how to troubleshoot the keyboard and mouse, power issues, boot-up problems, and network connection gremlins.
The chapters in the second part of the book discuss wired and wireless network configuration, SD card storage partition management, configuring the Pi hardware via config.txt, start.elf, and cmdline.txt boot-time files. Then, additional chapters describe how to set up the Pi as a Home Theatre PC (HTPC) for playing music and video from files or over the Internet, to use it as a productivity using freeware such as OpenOffice and the Gimp image editor, configuring the Pi as a web server using a Linux/Apache/MySQL/PHP (LAMP) software stack, and installing WordPress to create your own blogging server.
In the third part of the book, the authors get down to what the Pi was originally developed for: teaching software programming. The first examples demonstrate how to use the very child-friendly MIT Scratch to create the canonical Hello World program, in addition to simple animation and sound, game, and robotics sensor programs. The lessons then shift to the much more capable and more complex Python language, showing another Hello World example, then how to handle comments, inputs, variables, and loops. It ends with how to use the pygame code library to develop much more sophisticated games than can be accomplished with Scratch.
Additional chapters cover hardware interfacing with the Pi board via the built-in General Purpose Input/Output (GPIO) port to access the Universal Asynchronous Receiver-Transmitter (UART) serial bus, Inter-Integrated Circuit (I²C) bus, and the Serial Peripheral Interface (SPI) bus. How to access the GPIO port via Python is discussed in detail, complete with code examples for how to flash an LED and read whether a pushbutton is being pressed. A valuable brief guide to soldering is included for budding hardware hackers, followed by descriptions of the Ciseco Slice of Pi, Adafruit Prototyping Pi Plate, and Gert van Loo's wonderful Fen Logic Gertboard. The book ends with appendices containing Python code examples (also available by download from the publisher's web site) and the HDMI display modes that can be set via the boot-up configuration files.
The book reads very well for beginners who are the target audience, and none-too-soon. The geeks have been spewing techno-jargon on the RaspberryPi.org forums and eLinux.org wiki for many, many months, even well before the Pi was even available to the general public. The best thing about the book is that it brings together in one place all of the information that novices need to know in a form that can actually be understood by mere mortals. The fact that it's written by the principal designer of the Pi with education experience and a published personal computing author and journalist goes a long way to making that possible. Other tech authors might be too tempted to jump off into the deep end of the technical pool more quickly than would be warranted.
I was particularly impressed with Chapter 12: "Hardware Hacking", for its very complete and clear descriptions of the Pi GPIO port, add-on hardware options, and how to wire everything together and program the Pi to interact with an LED and a pushbutton. Especially appreciated is the several pages dedicated to both on-line and retail sources for the add-on components, including solderless prototyping breadboards and the individual parts such as LEDs, resistors, pushbuttons, etc. A couple of pages are also spent just to describe how to read the colo(u)r codes on resistors, and a complete list of the tools and materials needed to perform soldering are provided as part of the soldering guide. Another whole page provides the details on how to calculate the proper resistor values to limit the current flowing through an LED for various voltages - this kind of detail often slips through the cracks in such books.
The full Kindle e-book cost me a "whopping" whole $6.60 and I'm a 1970s era veteran of when men were men and computers were made of iron. So, I'm definitely not in the target audience, but even I found enough tiny new details that I'd still missed despite reading tens of thousands of forum and wiki posts, that the price of the e-book has to be the best bargain in tech writing that I can think of in an extremely large number of years. As I understand it, the Raspberry Pi Foundation benefits from the profits for the book, as it does from sales of each Pi board. As far as I'm concerned, they could have charged ten times the price for the book and it would still be a complete bargain. I haven't checked every single detail in the book, yet, but, I didn't see any glaring errors. Yet, I'm one of those people to whom even any misspelling stands out like a geek on the runway at a Paris fashion show, and I don't mean at the airport. Those who know me at all are aware of my persnickety nature, and I really tried to find problems in this book, but I have to say that's a pretty tall order.
No one has any excuse now for not learning computer science fundamentals with a Pi, thanks to this book. Just go spend about $50 for this book and a Pi and you'll be much better off than consuming the equivalent cost in a week's worth of froo-froo caffeine beverages - five very broad smilies from this admitted SillyCon Valley curmudgeon!
It gives excellent starter tips on what's what, from hooking up the Pi and your options in doing so to configuring Debian on the Pi, shell basics, a light intro to Python, basic soldering techniques, resistor identification (only needed for a hardware hack of course, the Pi comes ready-built), and some details of piggy-back boards that open up the world of the programmable GPIO pins (which is where the Pi becomes more than a tiny desktop computer).
It's not a thick volume, but it packs a whole lot of useful stuff for the newbie between the covers. I've fired up more than my share of Linux boxes and I already know how to solder but there was a wealth of stuff in here I can use even so, especially the info in the piggyback boards. I may not know all the options out there as of today, the world of tech development being what it is, but I now know what questions to ask about the stuff I might want to use with my Pi.
There is nothing in here that you couldn't find online, but I prefer a book for those times when I want to use my commute for education and give my eyes a rest from the computer screens I look at all day. Also, the book gathers all the topics that are likely to prove useful in one place, and serves as a basis for further on-line research.
Whatever topics the author covers, he covers in extreme depth. This is not a "you could do this, or you could do that" kind of book. For example, when he talks about using the Pi's GPIO (general-purpose I/O) pins, he covers everything from how to read resistor codes to how to make lights flash, motors turn, and much more. He includes a very extensive list of add-on boards that make it easier to talk to every device imaginable.
This book is a treasure trove of information on ALMOST all uses one might want to do with a Raspberry Pi. If I could only memorize all the info in here, I'd feel very justified in calling myself a Pi guru.
There is only one reason I didn't give the book five stars: The section on programming the Pi is weak. The author only talks about two programming languages: Scratch (useful only for game designers) and Python.
Originally, Python was supposed to be the ONLY programming language for the Pi, but it is an interpretive language, which to me means "slow." Most of the folks I know, who are writinc software for the ARM in general, or the Pi in particular, are using the GNU toolset, which comes with Raspbian and includes C and C++ compilers, an assembler and linker, and the source-level debugger, gdb.
This book doesn't mention GNU, C, or C++ at all, which I consider to be a very large oversight.
If you want to know everything you ever wanted to know about the Raspberry Pi, EXCEPT how to program it in C, C++, or assembler, you can't go wrong with this book. For that one topic, you'll have to go somewhere else.