Raspberry Pi Essentials

Get up and running with the Raspberry Pi to develop captivating projects

Raspberry Pi Essentials

Essentials
Jack Creasey

Get up and running with the Raspberry Pi to develop captivating projects
$23.99
$29.99
RRP $23.99
RRP $29.99
eBook
Print + eBook

Instantly access this course right now and get the skills you need in 2017

With unlimited access to a constantly growing library of over 4,000 eBooks and Videos, a subscription to Mapt gives you everything you need to get that next promotion or to land that dream job. Cancel anytime.

Free Sample

Book Details

ISBN 139781784396398
Paperback212 pages

Book Description

The Raspberry Pi is an inexpensive, single-board computer system about the size of a deck of cards. This computer can be configured to use a standard-size keyboard, monitor, and mouse.

The book begins by teaching you how to build and configure a Raspberry Pi development environment.

Next, you will get acquainted with concepts such as connecting USB peripherals for video and image capture, and high-quality audio. Using GPIO peripherals, you will drive LEDs and sense switches and connect SMBUS-controlled peripherals. Over the course of eight chapters, you will gain experience with desktop tools, the shell command line, and Python scripts.

This book includes hands-on projects that involve building a talking clock, creating a camera-based movement detection system, developing an Internet radio, building an RC-servo control program, configuring remote access to a Raspberry Pi, and building a line-following robot.

Table of Contents

Chapter 1: Getting Started with Raspberry Pi
Let's get started
Unboxing the Raspberry Pi
Local display, keyboard, mouse, or remote headless access
Selecting a screen
Getting your SD Card ready
Booting the Raspberry Pi for the first time
A quick tour of the desktop
Instructions for downloading all project files
Summary
Chapter 2: Configuring the Raspberry Pi Desktop and Software
Hardware and software networking configuration
Configuring the Raspberry Pi desktop and software
Desktop and file manager accelerators
Project 1 – Building a talking clock with a Bash script
Building a talking clock with Python 3
Summary
Chapter 3: Raspberry Pi and Cameras
Connecting cameras to the Raspberry Pi
PiCam and PiNoIR
Webcams
Project architecture for the Raspberry Pi security camera
Features and limitations of the cameras
Project 1 – Running raspivid as a background service
Project 1a – Creating a Bash script to drive raspivid
Project 1b – Creating a movement detector with a USB camera
Project 2 – Combining the webcam movement detector and the PiCam camera
Project 3 – Creating a simple Python GUI for the security application
Summary
Chapter 4: Raspberry Pi Audio Input and Output
Audio quality and bandwidth
Audio capability on the Raspberry Pi
Understanding the ALSA configuration
Configuring the Raspberry Pi to support high-quality sound
Project 1 – Installing an advanced audio playback application
Building an Internet radio based on VLC and Raspberry Pi
Project 2a – Running VLC in the background for the Internet radio
Project 2b – Designing a playlist file for the Internet radio
Project 2c – Parsing the playlist file for the Internet radio
Project 2d – Implementing a Python text interface to VLC
Project 3 – Implementing a TKinter GUI for the Internet radio
Recording sound files on the Pi
Summary
Chapter 5: Port Input and Output on the Raspberry Pi
Understanding Raspberry Pi digital input and output ports
Driving LEDs as output indicators
TKinter LED demo
TKinter switch demo
Adding a physical switch interface to the Internet radio
Project 1 – Add a switch interface to the Internet radio
Summary
Chapter 6: Driving I2C Peripherals on the Raspberry Pi
Getting started with I2C
Project 1 – Python control of a PWM board driving RC servo motors
Summary
Chapter 7: Going Mobile with Raspberry Pi
Remote access to the Raspberry Pi
Remote access from Linux and OSX
Testing your remote session from a PC or Mac
Battery power systems
Project 1 – Selecting a project battery capacity
Summary
Chapter 8: Creating a Raspberry Pi Line-following Robot
Implementing a line-following robot
Line-following robot architecture
Implementing rbuttons.py
Implementing rwheel.py
Implementing navigate.py
Steering algorithm
Time to build the mobile system
Line-following robot
Summary

What You Will Learn

  • Build your own full-fledged Raspberry Pi hardware and install the Raspbian OS
  • Configure the Raspberry Pi development environment and get acquainted with OS configuration and tools
  • Build a camera-based project using PiCam and USB cameras
  • Build and configure a stereo audio system using VLC
  • Explore the Raspberry Pi GPIO to connect to the outside world
  • Utilize and explore extensive I2C interface support built into the Raspberry Pi to enhance your system
  • Configure remote access and battery power for a mobile Raspberry Pi
  • Build a fully functional Raspberry Pi line-following robot using PiCam

Authors

Table of Contents

Chapter 1: Getting Started with Raspberry Pi
Let's get started
Unboxing the Raspberry Pi
Local display, keyboard, mouse, or remote headless access
Selecting a screen
Getting your SD Card ready
Booting the Raspberry Pi for the first time
A quick tour of the desktop
Instructions for downloading all project files
Summary
Chapter 2: Configuring the Raspberry Pi Desktop and Software
Hardware and software networking configuration
Configuring the Raspberry Pi desktop and software
Desktop and file manager accelerators
Project 1 – Building a talking clock with a Bash script
Building a talking clock with Python 3
Summary
Chapter 3: Raspberry Pi and Cameras
Connecting cameras to the Raspberry Pi
PiCam and PiNoIR
Webcams
Project architecture for the Raspberry Pi security camera
Features and limitations of the cameras
Project 1 – Running raspivid as a background service
Project 1a – Creating a Bash script to drive raspivid
Project 1b – Creating a movement detector with a USB camera
Project 2 – Combining the webcam movement detector and the PiCam camera
Project 3 – Creating a simple Python GUI for the security application
Summary
Chapter 4: Raspberry Pi Audio Input and Output
Audio quality and bandwidth
Audio capability on the Raspberry Pi
Understanding the ALSA configuration
Configuring the Raspberry Pi to support high-quality sound
Project 1 – Installing an advanced audio playback application
Building an Internet radio based on VLC and Raspberry Pi
Project 2a – Running VLC in the background for the Internet radio
Project 2b – Designing a playlist file for the Internet radio
Project 2c – Parsing the playlist file for the Internet radio
Project 2d – Implementing a Python text interface to VLC
Project 3 – Implementing a TKinter GUI for the Internet radio
Recording sound files on the Pi
Summary
Chapter 5: Port Input and Output on the Raspberry Pi
Understanding Raspberry Pi digital input and output ports
Driving LEDs as output indicators
TKinter LED demo
TKinter switch demo
Adding a physical switch interface to the Internet radio
Project 1 – Add a switch interface to the Internet radio
Summary
Chapter 6: Driving I2C Peripherals on the Raspberry Pi
Getting started with I2C
Project 1 – Python control of a PWM board driving RC servo motors
Summary
Chapter 7: Going Mobile with Raspberry Pi
Remote access to the Raspberry Pi
Remote access from Linux and OSX
Testing your remote session from a PC or Mac
Battery power systems
Project 1 – Selecting a project battery capacity
Summary
Chapter 8: Creating a Raspberry Pi Line-following Robot
Implementing a line-following robot
Line-following robot architecture
Implementing rbuttons.py
Implementing rwheel.py
Implementing navigate.py
Steering algorithm
Time to build the mobile system
Line-following robot
Summary

Book Details

ISBN 139781784396398
Paperback212 pages
Read More

Read More Reviews