BN.com Gift Guide

Raspberry Pi User Guide

( 6 )

Overview

The essential guide to getting started with the Raspberry Pi ?

The Raspberry Pi has been a success beyond the dream of its creators. Their goal, to encourage a new generation of computer programmers who understand how computers work, is well under way.

Raspberry Pi User Guide 2e is the newest edition of the runaway bestseller written by the Pi?s co-creator, Eben Upton, and tech writer Gareth Halfacree. It ...

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

Pick Up In Store

Reserve and pick up in 60 minutes at your local store

Other sellers (Paperback)
  • All (8) from $11.80   
  • New (1) from $41.73   
  • Used (7) from $11.80   

Overview

The essential guide to getting started with the Raspberry Pi ®

The Raspberry Pi has been a success beyond the dream of its creators. Their goal, to encourage a new generation of computer programmers who understand how computers work, is well under way.

Raspberry Pi User Guide 2e is the newest edition of the runaway bestseller written by the Pi’s co-creator, Eben Upton, and tech writer Gareth Halfacree. It contains everything you need to know to get the Pi up and running, including how to:

  • Connect a keyboard, mouse, monitor and other peripherals
  • Install software and configure your Raspberry Pi
  • Master basic Linux system administration
  • Set up your Raspberry Pi as a productivity machine, multimedia centre, or web server
  • Write programmes in Scratch and Python
  • Use the GPIO port and add-on boards to connect your Raspberry Pi for use in electronics projects

Updated to cover the release of the Camera Board, the introduction of the Pi Store, NOOBS and much more, Raspberry Pi User Guide 2nd edition is the perfect companion for getting the most out of the computing phenomenon, the Raspberry Pi.

Eben Upton is the co-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.

Read More Show Less

Product Details

  • ISBN-13: 9781118795484
  • Publisher: Wiley
  • Publication date: 12/4/2013
  • Edition number: 2
  • Pages: 312
  • Sales rank: 449,166
  • 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 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

(6)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

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

Reminder:

  • - 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

    YAY

    YAY

    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

    Stormpaw

    Comes to find Firekit. "Hello."

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

    Posted June 9, 2014

    Firepelt

    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)