Raspberry Pi User Guide, 3rd Edition

Book description

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

Raspberry Pi User Guide, 3rd Edition 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.

    Table of contents

      1. Introduction
        1. Programming Is Fun!
        2. A Bit of History
        3. So What Can You Do with the Raspberry Pi?
      2. Part I
        1. Chapter 1: Meet the Raspberry Pi
          1. A Trip Around the Board
          2. Model A
          3. Model B
          4. Model B+
          5. A History of Model B PCB Revisions
            1. Revision 1
            2. Revision 2
            3. Model B+
          6. A Bit of Background
            1. ARM versus x86
            2. Windows versus Linux
        2. Chapter 2: Getting Started with the Raspberry Pi
          1. Connecting a Display
            1. Composite Video
            2. HDMI Video
            3. DSI Video
          2. Connecting Audio
          3. Connecting a Keyboard and Mouse
          4. Installing NOOBS on an SD Card
          5. Connecting External Storage
          6. Connecting the Network
            1. Wired Networking
            2. Wireless Networking
          7. Connecting Power
          8. Installing the Operating System
            1. Installing Using NOOBS
            2. Installing Manually
        3. Chapter 3: Linux System Administration
          1. Linux: An Overview
          2. Linux Basics
          3. Introducing Raspbian
            1. About Raspbian’s Parent, Debian
            2. Alternatives to Raspbian
          4. Using External Storage Devices
          5. Creating a New User Account
            1. File System Layout
            2. Logical Layout
            3. Physical Layout
          6. Installing and Uninstalling Software
            1. Obtaining Software from the Pi Store
            2. Obtaining Software from Elsewhere
            3. Finding the Software You Want
            4. Installing Software
            5. Uninstalling Software
            6. Upgrading Software
          7. Shutting the Pi Down Safely
        4. Chapter 4: Troubleshooting
          1. Keyboard and Mouse Diagnostics
          2. Power Diagnostics
          3. Display Diagnostics
          4. Boot Diagnostics
          5. Network Diagnostics
          6. The Emergency Kernel
        5. Chapter 5: Network Configuration
          1. Wired Networking
          2. Wireless Networking
            1. Installing Firmware
            2. Connecting to a Wireless Network via wpa_gui
            3. Connecting to a Wireless Network via the Terminal
        6. Chapter 6: The Raspberry Pi Software Configuration Tool
          1. Running the Tool
          2. The Setup Options Screen
            1. 1 Expand Filesystem
            2. 2 Change User Password
            3. 3 Enable Boot to Desktop/Scratch
            4. 4 Internationalisation Options
            5. 5 Enable Camera
            6. 6 Add to Rastrack
            7. 7 Overclock
            8. 8 Advanced Options
            9. 9 About raspi-config
        7. Chapter 7: Advanced Raspberry Pi Configuration
          1. Editing Configuration Files via NOOBS
          2. Hardware Settings—config.txt
            1. Modifying the Display
            2. Boot Options
            3. Overclocking the Raspberry Pi
          3. Disabling L2 Cache
            1. Enabling Test Mode
          4. Memory Partitioning
          5. Software Settings—cmdline.txt
      3. Part II
        1. Chapter 8: The Pi as a Home Theatre PC
          1. Playing Music at the Console
          2. Dedicated HTPC with Raspbmc
            1. Streaming Internet Media
            2. Streaming Local Network Media
            3. Configuring Raspbmc
        2. Chapter 9: The Pi as a Productivity Machine
          1. Using Cloud-Based Apps
          2. Using LibreOffice
          3. Image Editing with the Gimp
        3. Chapter 10: The Pi as a Web Server
          1. Installing a LAMP Stack
          2. Installing WordPress
      4. Part III
        1. Chapter 11: An Introduction to Scratch
          1. Introducing Scratch
          2. Example 1: Hello World
          3. Example 2: Animation and Sound
          4. Example 3: A Simple Game
          5. Robotics and Sensors
            1. Sensing with the PicoBoard
            2. Robotics with LEGO
          6. Further Reading
        2. Chapter 12: An Introduction to Python
          1. Introducing Python
          2. Example 1: Hello World
          3. Example 2: Comments, Inputs, Variables and Loops
          4. Example 3: Gaming with pygame
          5. Example 4: Python and Networking
          6. Further Reading
        3. Chapter 13: Minecraft Pi Edition
          1. Introducing Minecraft Pi Edition
          2. Installing Minecraft
          3. Running Minecraft
          4. Exploration
          5. Hacking Minecraft
      5. Part IV
        1. Chapter 14: Learning to Hack Hardware
          1. Electronic Equipment
          2. Reading Resistor Colour Codes
          3. Sourcing Components
            1. Online Sources
            2. Offline Sources
            3. Hobby Specialists
          4. Moving Up from the Breadboard
          5. A Brief Guide to Soldering
        2. Chapter 15: The GPIO Port
          1. Identifying Your Board Revision
          2. GPIO Pinout Diagrams
          3. GPIO Features
            1. UART Serial Bus
            2. I²C Bus
            3. SPI Bus
          4. Using the GPIO Port in Python
            1. GPIO Output: Flashing an LED
            2. GPIO Input: Reading a Button
        3. Chapter 16: The Raspberry Pi Camera Module
          1. Why Use the Camera Module?
          2. Installing the Camera Module
          3. Enabling Camera Mode
          4. Capturing Stills
          5. Recording Video
          6. Command-Line Time-Lapse Photography
        4. Chapter 17: Add-On Boards
          1. Ciseco Slice of Pi
          2. Adafruit Prototyping Pi Plate
          3. Fen Logic Gertboard
      6. Part V
        1. Appendix A: Python Recipes
          1. Raspberry Snake (Chapter 12, Example 3)
          2. IRC User List (Chapter 12, Example 4)
          3. GPIO Input and Output (Chapter 15)
        2. Appendix B: Raspberry Pi Camera Module Quick Reference
          1. Shared Options
          2. Raspistill Options
          3. Raspivid Options
          4. Raspiyuv Options
        3. Appendix C: HDMI Display Modes

    Product information

    • Title: Raspberry Pi User Guide, 3rd Edition
    • Author(s): Eben Upton, Gareth Halfacree
    • Release date: September 2014
    • Publisher(s): Wiley
    • ISBN: 9781118921661