Getting Started With Raspberry Pi, 3rd Edition

Book description

This book takes you step-by-step through many fun and educational possibilities. Take advantage of several preloaded programming languages. Use the Raspberry Pi with Arduino. Create Internet-connected projects. Play with multimedia. With Raspberry Pi, you can do all of this and more.

Publisher resources

View/Submit Errata

Table of contents

  1. Preface
    1. Raspberry Pi Foundation
    2. What Can You Do with It?
    3. Raspberry Pi for Makers
    4. Linux and Raspberry Pi
    5. What Others Have Done with Raspberry Pi
    6. Conventions Used in This Book
    7. Safari® Books Online
    8. How to Contact Us
    9. Acknowledgments
  2. 1. Getting Up and Running
    1. A Tour of the Boards
    2. The Proper Peripherals
    3. The Case
    4. Choose Your Distribution
    5. Flash the SD Card
      1. For Advanced Users: Create Your Own Disk Image
    6. Booting Up
    7. Configuring Your Pi
    8. Getting Online
    9. Shutting Down
      1. Running Headless
    10. Troubleshooting
    11. Going Further
  3. 2. Getting Around Linux on the Raspberry Pi
    1. Using the Command Line
      1. Files and the Filesystem
    2. More Linux Commands
      1. Processes
      2. Sudo and Permissions
      3. The Network
    3. /etc
    4. Setting the Date and Time
    5. Installing New Software
    6. Sound in Linux
    7. Upgrading Your Firmware
    8. Going Further
  4. 3. Other Operating Systems and Linux Distributions
    1. Distributions for Home Theater
    2. Distributions for Music
    3. Retrocomputing and Retrogaming
    4. Internet of Things
    5. Other Useful Distributions
    6. Going Further
  5. 4. Python on the Pi
    1. Hello, Python
    2. A Bit More Python
    3. Objects and Modules
    4. Even More Modules
    5. Launching Other Programs from Python
    6. Troubleshooting Errors
    7. Going Further
  6. 5. Arduino and the Pi
    1. Installing Arduino in Raspbian
      1. Finding the Serial Port
    2. Talking in Serial
    3. Using Firmata
    4. Going Further
  7. 6. Basic Input and Output
    1. Using Inputs and Outputs
      1. Digital Output: Lighting Up an LED
      2. Digital Input: Reading a Button
    2. Project: Cron Lamp Timer
      1. Scripting Commands
      2. Connecting a Lamp
      3. Scheduling Commands with cron
    3. Going Further
  8. 7. Programming Inputs and Outputs with Python
    1. Testing GPIO in Python
    2. Blinking an LED
    3. Reading a Button
    4. Project: Simple Soundboard
    5. Going Further
  9. 8. Analog Input and Output
    1. Output: Converting Digital to Analog
      1. Test-Driving PWM
      2. Taking PWM Further
    2. Input: Converting Analog to Digital
      1. Variable Resistors
    3. Going Further
  10. 9. Working with Cameras
    1. Connecting and Testing the Camera Module
      1. Project: Making a GIF
      2. Capturing Video
    2. Testing USB Webcams
    3. Installing and Testing SimpleCV
      1. Additional Steps for the Raspberry Pi Camera Module
    4. Displaying an Image
    5. Modifying an Image
    6. Accessing the Camera
    7. Face Detection
    8. Project: Raspberry Pi Photobooth
    9. Going Further
  11. 10. Python and the Internet
    1. Download Data from a Web Server
      1. Fetching the Weather Forecast
    2. Serving Pi (Be a Web Server)
      1. Flask Basics
    3. Connecting the Web to the Real World
    4. Project: WebLamp
    5. Going Further
  12. A. Writing an SD Card Image
    1. Writing an SD Card from OS X
    2. Writing an SD Card from Windows
    3. Writing an SD Card from Linux
  13. Index

Product information

  • Title: Getting Started With Raspberry Pi, 3rd Edition
  • Author(s): Shawn Wallace, Matt Richardson
  • Release date: July 2016
  • Publisher(s): Make: Community
  • ISBN: 9781680452464