Raspberry Pi User Guide

( 6 )


The “unofficial official” guide to the Raspberry Pi, complete with creator insight

Raspberry Pi User Guide, 3rdEdition contains everything you need to know to get up and running with Raspberry Pi. This book is the go-to guide for Noobs who want to dive right in. This updated third edition covers the model B+ Raspberry Pi and its software, additional USB ports, and changes to the GPIO, including new information on Arduino and Minecraft on the Pi. You’ll find clear, step-by-step ...

See more details below
BN.com price
(Save 18%)$19.99 List Price

Pick Up In Store

Reserve and pick up in 60 minutes at your local store

Other sellers (Paperback)
  • All (4) from $31.07   
  • New (1) from $105.00   
  • Used (3) from $31.07   


The “unofficial official” guide to the Raspberry Pi, complete with creator insight

Raspberry Pi User Guide, 3rdEdition contains everything you need to know to get up and running with Raspberry Pi. This book is the go-to guide for Noobs who want to dive right in. This updated third edition covers the model B+ Raspberry Pi and its software, additional USB ports, and changes to the GPIO, including new information on Arduino and Minecraft on the Pi. You’ll find clear, step-by-step instruction for everything from software installation and configuration to customizing your Raspberry Pi with capability-expanding add-ons. Learn the basic Linux SysAdmin and flexible programming languages that allow you to make your Pi into whatever you want it to be.

The Raspberry Pi was created by the UK Non-profit Raspberry Pi Foundation to help get kids interested in programming. Affordable, portable, and utterly adorable, the Pi exceeded all expectations, introducing millions of people to programming since its creation. The Raspberry Pi User Guide, 3rd Edition helps you and your Pi get acquainted, with clear instruction in easy to understand language.

  • Install software, configure, and connect your Raspberry Pi to other devices
  • Master basic Linux System Admin to better understand nomenclature and conventions
  • Write basic productivity and multimedia programs in Scratch and Python
  • Extend capabilities with add-ons like Gertboard, Arduino, and more

The Raspberry Pi has become a full-fledged phenomenon, popular with tinkerers, hackers, experimenters, and inventors. If you want to get started but aren’t sure where to begin, Raspberry Pi User Guide, 3rd Edition contains everything you need.

Read More Show Less

Product Details

  • ISBN-13: 9781118795484
  • Publisher: Wiley
  • Publication date: 12/4/2013
  • Edition number: 2
  • Pages: 312
  • Sales rank: 358,338
  • Product dimensions: 7.30 (w) x 9.20 (h) x 0.60 (d)

Meet the Author

Eben Upton is a founder of the Raspberry Pi Foundation and serves as the CEO of Raspberry Pi (Trading), its commercial arm. In an earlier life he founded two mobile games companies and was Director of Studies for Computer Science at St John’s College, Cambridge. He holds a BA, a PhD and an MBA from the University of Cambridge.

Gareth Halfacree is a freelance technology journalist and the co-author of the Raspberry Pi User Guide alongside project co-founder Eben Upton. Gareth can often be seen reviewing, documenting or even contributing to projects, including GNU/Linux, LibreOffice, Fritzing and Arduino.

Read More Show Less

Table of Contents

Introduction 1

Programming Is Fun! 1

A Bit of History 3

So What Can You Do with the Raspberry Pi? 8

Part I: Connecting the Board

CHAPTER 1 Meet the Raspberry Pi 13

A Trip Around the Board 14

Model A 16

Model B 17

A History of Model B PCB Revisions 18

Revision 1 18

Revision 2 18

A Bit of Background 18

ARM versus x86 19

Windows versus Linux 20

CHAPTER 2 Getting Started with the Raspberry Pi 21

Connecting a Display 22

Composite Video 22

HDMI Video 23

DSI Video 24

Connecting Audio 24

Connecting a Keyboard and Mouse 25

Installing NOOBS on an SD Card 27

Connecting External Storage 28

Connecting the Network 29

Wired Networking 30

Wireless Networking 31

Connecting Power 32

Installing the Operating System 33

Installing Using NOOBS 33

Installing Manually 35

CHAPTER 3 Linux System Administration 41

Linux: An Overview 42

Linux Basics 44

Introducing Raspbian 45

About Raspbian’s Parent, Debian 49

Alternatives to Raspbian 49

Using External Storage Devices 50

Creating a New User Account 51

File System Layout 52

Logical Layout 53

Physical Layout 54

Installing and Uninstalling Software 55

Obtaining Software from the Pi Store 55

Obtaining Software from Elsewhere 57

Finding the Software You Want 58

Installing Software 59

Uninstalling Software 61

Upgrading Software 61

Shutting the Pi Down Safely 62

CHAPTER 4 Troubleshooting 63

Keyboard and Mouse Diagnostics 64

Power Diagnostics 65

Display Diagnostics 67

Boot Diagnostics 68

Network Diagnostics 68

The Emergency Kernel 71

CHAPTER 5 Network Configuration 73

Wired Networking 74

Wireless Networking 77

Installing Firmware 78

Connecting to a Wireless Network via wpa_gui 82

Connecting to a Wireless Network via the Terminal 85

CHAPTER 6 The Raspberry Pi Software Configuration Tool 93

Running the Tool 94

The Setup Options Screen 95

1 Expand Filesystem 95

2 Change User Password 96

3 Enable Boot to Desktop 96

4 Internationalisation Options 97

5 Enable Camera 99

6 Add to Rastrack 99

7 Overclock 100

8 Advanced Options 101

9 About raspi-config 105

CHAPTER 7 Advanced Raspberry Pi Configuration 107

Editing Configuration Files via NOOBS 108

Hardware Settings—configtxt 110

Modifying the Display 111

Boot Options 114

Overclocking the Raspberry Pi 114

Disabling L2 Cache 118

Enabling Test Mode 119

Memory Partitioning 119

Software Settings—cmdlinetxt 120

Part II: Building a Media Centre, Productivity Machine or Web Server

CHAPTER 8 The Pi as a Home Theatre PC 125

Playing Music at the Console 126

Dedicated HTPC with Raspbmc 128

Streaming Internet Media 129

Streaming Local Network Media 131

Configuring Raspbmc 133

CHAPTER 9 The Pi as a Productivity Machine 135

Using Cloud-Based Apps 136

Using LibreOffice 139

Image Editing with The Gimp 141

CHAPTER 10 The Pi as a Web Server 145

Installing a LAMP Stack 146

Installing WordPress 150

Part III: Programming with the Raspberry Pi

CHAPTER 11 An Introduction to Scratch 157

Introducing Scratch 158

Example 1: Hello World 159

Example 2: Animation and Sound 162

Example 3: A Simple Game 165

Robotics and Sensors 171

Sensing with the PicoBoard 171

Robotics with LEGO 171

Further Reading 172

CHAPTER 12 An Introduction to Python 173

Introducing Python 174

Example 1: Hello World 174

Example 2: Comments, Inputs, Variables and Loops 180

Example 3: Gaming with pygame 184

Example 4: Python and Networking 193

Further Reading 199

Part IV: Hardware Hacking

CHAPTER 13 Learning to Hack Hardware 203

Electronic Equipment 204

Reading Resistor Colour Codes 206

Sourcing Components 208

Online Sources 208

Offline Sources 209

Hobby Specialists 209

Moving Up From the Breadboard 210

A Brief Guide to Soldering 213

CHAPTER 14 The GPIO Port 219

Identifying Your Board Revision 220

GPIO Pinout Diagrams 220

GPIO Features 222

UART Serial Bus 222

I2C Bus 223

SPI Bus 223

Using the GPIO Port in Python 223

GPIO Output: Flashing an LED 224

GPIO Input: Reading a Button 228

CHAPTER 15 The Raspberry Pi Camera Module 233

Why Use the Camera Module? 234

Installing the Camera Module 235

Enabling Camera Mode 238

Capturing Stills 239

Recording Video 242

Command-Line Time-Lapse Photography 243

CHAPTER 16 Add-on Boards 249

Ciseco Slice of Pi 250

Adafruit Prototyping Pi Plate 254

Fen Logic Gertboard 257

Part V: Appendixes

APPENDIX A Python Recipes 265

Raspberry Snake (Chapter 12, Example 3) 266

IRC User List (Chapter 12, Example 4) 268

GPIO Input and Output (Chapter 14)270

APPENDIX B Camera Module Quick Reference 271

Shared Options 272

Raspistill Options 275

Raspivid Options 276

Raspiyuv Options 276

APPENDIX C HDMI Display Modes 277

Index 283

Read More Show Less

Customer Reviews

Average Rating 5
( 6 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 6 Customer Reviews
  • Anonymous

    Posted December 25, 2012



    1 out of 4 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Posted November 17, 2014

    Are you a new Pi user or curious hacker? If you are, this book i

    Are you a new Pi user or curious hacker? If you are, this book is for you. Authors Eben Upton and Gareth Halfacree, have done an outstanding job of writing a 3rd edition of a book that provides an introduction to the world of Raspberry Pi.

    Authors Upton and Halfacree, begin by showing you how to connect your Raspberry Pi to a display, keyboard and mouse; install an operating system; and, jump straight into using the Pi. Next, the authors present a quick primer on how to use the operating system. In addition, they look at some of the most common reasons for the Pi to misbehave and how to fix them. The authors also concentrate on whether you know that your network doesn’t have a Dynamic Host Configuration Protocol server (a system that tells the Pi and other devices on the network how they should connect) or if you want to use a USB wireless adapter with the Pi. Then, they continue by discussing why although raspi-config is designed to be safe, some settings (in particular, the overclock option) can leave your Raspberry Pi unable to boot. The authors then offer a word of warning: Changing the settings on config.txt and cmdline.txt from their defaults, can result in a Pi that doesn’t boot until the files are reverted, in the best case; and, that can physically damage the system, in the worst case. Next, they cover the most popular tasks for a Pi: That of a home theater PC, or HTPC. In addition, the authors show you how the Pi can be used as a day-to-day machine for office and school work, while not harming its usability as a platform for programming and experimentation, by using either locally installed applications or cloud-based services. They also explain why that in order to ensure a Web server’s maximum performance, you must switch the Pi’s memory partitioning to reserve just 16MB or 32MB for the GPU; and, not run a graphical user interface at the same time.
    Then, the authors discuss how the Raspberry Pi Foundation is working to get the Pi device adopted as an educational tool for all ages by using Scratch. Next, they cover the high-level language Python code; and, how it provides the Pi with commands in a manner that is quick to learn and easy to follow. The authors continue by looking at Minecraft: Which is now available for the Raspberry Pi, and brings with it educational elements that let interested parties learn through play. They then stress that before you can get started building circuits to use with the Pi’s GPIO port, you need some additional equipment and an understanding about some of the language surrounding the world of electronics. Next, the authors show you where the Raspberry Pi’s GPIO port is located: On the top-left of the printed circuit board, labeled P1. In addition, they cover the Raspberry Pi Camera Module: Which is the most compact way of adding the ability to record still images and video to your project. Finally, the authors take a peek at the add-on boards, which simply provide easier access to the Raspberry Pi’s GPIO pins.

    This excellent book explores a number of things you can do with your Raspberry Pi, from controlling hardware with Python, to using its as a media center, setting up camera projects, or building games in Scratch. Also, this great book shows how the Raspberry Pi exposes GPIO, so that you can get to work right away.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted June 8, 2014

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted June 8, 2014


    Comes to find Firekit. "Hello."

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted June 9, 2014


    Kills the bager

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted September 4, 2013

    Great Book Not just for Raspberry Pi, also any one just starting to learn Linux

    lots of command to get started learning Linux in here, tell you step by step how to do them and setup a lot of other thing in Linux as well as the Raspberry Pi

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 6 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)