Raspberry Pi User Guide

( 2 )


Raspberry Pi User Guide contains everything the reader needs to know to get up and running on the Raspberry Pi. Written by Gareth Halfacree and Eben Upton, the creator of Raspberry Pi, the book shows how to:

  • Connect the Raspberry Pi to other devices – keyboard, mouse, ...
See more details below
BN.com price
(Save 9%)$19.99 List Price

Pick Up In Store

Reserve and pick up in 60 minutes at your local store

Other sellers (Paperback)
  • All (3) from $31.17   
  • New (2) from $31.17   
  • Used (1) from $94.99   


Raspberry Pi User Guide contains everything the reader needs to know to get up and running on the Raspberry Pi. Written by Gareth Halfacree and Eben Upton, the creator of Raspberry Pi, the book shows how to:

  • Connect the Raspberry Pi to other devices – keyboard, mouse, monitor
  • Install the necessary software
  • Learn basic Linux System Admin in order to understand files systems etc
  • Configure the Raspberry Pi
  • Set-up the Raspberry Pi as a simple Productivity computer
  • Write basic programmes in Python
  • Connect to external devices such as servos and sensors
  • Set up the Raspberry Pi to drive a multimedia centre or robotics unit

Raspberry Pi User Guide will have the Raspberry Pi Foundation’s seal of approval, and will be the ideal companion when starting out using the Raspberry Pi board.

Read More Show Less

Product Details

  • ISBN-13: 9781118464465
  • Publisher: Wiley, John & Sons, Incorporated
  • Publication date: 10/16/2012
  • Edition number: 1
  • Pages: 262
  • Sales rank: 375,775
  • Product dimensions: 7.30 (w) x 9.20 (h) x 0.60 (d)

Meet 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.

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 11

ARM vsx86 12

Windows vsLinux 13

Getting Started with the Raspberry Pi 14

Connecting a Display 14

Composite Video 14

HDMI Video 15

DSI Video 16

Connecting Audio 16

Connecting a Keyboard and Mouse 17

Flashing the SD Card 19

Flashing from Linux 20

Flashing from OS X 21

Flashing from Windows 21

Connecting External Storage 22

Connecting the Network 23

Wired Networking 24

Wireless Networking 25

Connecting Power 26

CHAPTER 2 Linux System Administration 27

Linux: An Overview 28

Linux Basics 30

Introducing Debian 30

Using External Storage Devices 34

Creating a New User Account 36

File System Layout 37

Logical Layout 37

Physical Layout 39

Installing and Uninstalling Software 40

Finding Software 41

Installing Software 42

Uninstalling Software 43

Upgrading Software 44

CHAPTER 3 Troubleshooting 45

Keyboard and Mouse Diagnostics 46

Power Diagnostics 47

Display Diagnostics 49

Boot Diagnostics 50

Network Diagnostics 50

The Emergency Kernel 53

CHAPTER 4 Network Configuration 55

Wired Networking 56

Wireless Networking 59

No Encryption 68

WEP Encryption 68

WPA/WPA2 Encryption 69

Connecting to the Wireless Network 69

CHAPTER 5 Partition Management 71

Creating a New Partition 72

Resizing Existing Partitions 76

Automatic Resizing 76

Manual Resizing 77

Moving to a Bigger SD Card 81

Imaging from Linux 82

Imaging from OS X 83

Imaging from Windows 83

CHAPTER 6 Configuring the Raspberry Pi 85

Hardware Settings—config.txt 86

Modifying the Display 87

Boot Options 90

Overclocking the Raspberry Pi 91

Overclocking Settings 92

Overvoltage Settings 93

Disabling L2 Cache 94

Enabling Test Mode 95

Memory Partitioning—start.elf 96

Software Settings—cmdline.txt 97

Part II: Using the Pi as a Media Centre, Productivity Machine and Web Server

CHAPTER 7 The Pi as a Home Theatre PC 103

Playing Music at the Console 104

Dedicated HTPC with Rasbmc 106

Streaming Internet Media 108

Streaming Local Network Media 109

Configuring Rasbmc 111

CHAPTER 8 The Pi as a Productivity Machine 113

Using Cloud-Based Apps 114

Using OpenOffice.org 117

Image Editing with The Gimp 119

CHAPTER 9 The Pi as a Web Server 123

Installing a LAMP Stack 124

Installing WordPress 128

Part III: Programming and Hacking

CHAPTER 10 An Introduction to Scratch 135

Introducing Scratch 136

Example 1: Hello World 137

Example 2: Animation and Sound 140

Example 3: A Simple Game 143

Robotics and Sensors 149

Sensing with the PicoBoard 149

Robotics with LEGO 150

Further Reading 150

CHAPTER 11 An Introduction to Python 151

Introducing Python 152

Example 1: Hello World 152

Example 2: Comments, Inputs, Variables and Loops 158

Example 3: Gaming with pygame 162

Example 4: Python and Networking 171

Further Reading 178

CHAPTER 12 Hardware Hacking 179

Electronic Equipment 180

Reading Resistor Colour Codes 182

Sourcing Components 184

Online Sources 184

Offline Sources 185

Hobby Specialists 186

The GPIO Port 186

UART Serial Bus 188

I²C Bus 189

SPI Bus 189

Using the GPIO Port in Python 189

Installing the GPIO Python Library 190

GPIO Output: Flashing an LED 192

GPIO Input: Reading a Button 196

Moving Up From the Breadboard 200

A Brief Guide to Soldering 203

CHAPTER 13 Add-on Boards 209

Ciseco Slice of Pi 210

Adafruit Prototyping Pi Plate 214

Fen Logic Gertboard 217

Part IV: Appendixes

APPENDIX A Python Recipes 225

Raspberry Snake (Chapter 11, Example 3) 226

IRC User List (Chapter 11, Example 4) 228

GPIO Input and Output (Chapter 12) 230

APPENDIX B HDMI Display Modes 231

Index 237

Read More Show Less

Customer Reviews

Average Rating 5
( 2 )
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 2 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
  • 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 2 Customer Reviews

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