Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Preface
What Can You Do with It?
Raspberry Pi for Makers
Linux and Raspberry Pi
What Others Have Done with It
Conventions Used in This Book
Using Code Examples
Safari® Books Online
How to Contact Us
Acknowledgments
1. Getting Up and Running
A Tour of the Boards
The Proper Peripherals
The Case
Choose Your Distribution
Flash the SD Card
For Advanced Users: Create Your Own Disk Image
Booting Up
Configuring Your Pi
Shutting Down
Running Headless
Troubleshooting
Going Further
2. Getting Around Linux on the Raspberry Pi
Using the Command Line
Files and the Filesystem
More Linux Commands
Processes
Sudo and Permissions
The Network
/etc
Setting the Date and Time
Installing New Software
Sound in Linux
Upgrading Your Firmware
Going Further
3. Specialized Distributions
Distributions for Home Theater
Distributions for Music
Hardware Hacking with Occidentalis
Retrocomputing and Retrogaming
Other Useful Distributions
Going Further
4. Python on the Pi
Hello, Python
A Bit More Python
Objects and Modules
Even More Modules
Launching Other Programs from Python
Troubleshooting Errors
Going Further
5. Pygame for Animation and Multimedia
Hello, Pygame
Pygame Surfaces
Drawing on Surfaces
Handling Events and Inputs
Sprites
Playing Sound
Playing Video
Going Further
6. Scratch on the Pi
Hello, Scratch
The Stage
Two More Things to Know about Sprites
A Bigger Example: Astral Trespassers
Scratch and the Real World
Sharing Your Programs
Going Further
7. Arduino and the Pi
Installing Arduino in Raspbian
Finding the Serial Port
Talking in Serial
Using Firmata
Going Further
8. Basic Input and Output
Using Inputs and Outputs
Digital Output: Lighting Up an LED
Beginner’s Guide to Breadboarding
Digital Input: Reading a Button
Project: Cron Lamp Timer
Scripting Commands
Connecting a Lamp
Scheduling Commands with cron
More About Cron
Going Further
9. Programming Inputs and Outputs with Python
Installing and Testing GPIO in Python
Blinking an LED
Reading a Button
Project: Simple Soundboard
Going Further
10. Analog Input and Output
Output: Converting Digital to Analog
Test Driving PWM
Taking PWM Further
Input: Converting Analog to Digital
Variable Resistors
Voltage Divider Circuit
Force-Sensitive Resistor
Going Further
11. Working with Cameras
Connecting and Testing the Camera Module
Project: Making a GIF
Capturing Video
Testing USB Webcams
Installing and Testing SimpleCV
Additional Steps for the Raspberry Pi Camera Module
Displaying an Image
Modifying an Image
Accessing the Webcam
Face Detection
Project: Raspberry Pi Photobooth
Going Further
12. Python and the Internet
Download Data from a Web Server
Fetching the Weather Forecast
Serving Pi (Be a Web Server)
Flask Basics
Connecting the Web to the Real World
Project: WebLamp
Going Further
A. Writing an SD Card Image
Writing an SD Card from OS X
Writing an SD Card from Windows
Writing an SD Card from Linux
Index
← Prev
Back
Next →
← Prev
Back
Next →