Raspberry Pi Blueprints
eBook - ePub

Raspberry Pi Blueprints

Dan Nixon

Share book
  1. 284 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Raspberry Pi Blueprints

Dan Nixon

Book details
Book preview
Table of contents
Citations

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Raspberry Pi Blueprints an online PDF/ePUB?
Yes, you can access Raspberry Pi Blueprints by Dan Nixon in PDF and/or ePUB format, as well as other popular books in Informatique & Programmation en Python. We have over one million books available in our catalogue for you to explore.

Information

Year
2015
ISBN
9781784392901

Raspberry Pi Blueprints


Table of Contents

Raspberry Pi Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Raspberry Pi Pirate Radio
What you will need
Setting up the Pi
Choosing a Linux distribution
Writing an SD card
Windows
Linux and Mac OS
Booting the Pi for the first time
Network scanning
Connecting to the Pi via SSH
Common Linux commands
The initial setup
Setting up the pirate radio
Transferring MP3 files to the Pi
Scripting a media player
Calling PiFM from Python
Searching for MP3 files
Getting input from a command line
Queuing the media files to be played
Using the media player script
Summary
2. Portable Speaker System
What you will need
Tools you will need
Setting up Logitech Media Server
Setting up the Pi as a Squeezebox client
Setting up Wi-Fi on the Pi
Running squeezelite as a daemon
Building the electronics
The amplifier circuit
Running the speaker system on battery power
Building the enclosure for the speaker system
Running Logitech Media Server on the Pi
Creating a backup image of an SD card
Automounting a USB storage device
Installing Logitech Media Server
Setting up the Pi as a Wi-Fi access point
Summary
3. Mini Retro Arcade Cabinet
Requirements
Setting up the input electronics
Building the cabinet
Setting up PiPlay
Using the buttons and joystick with PiPlay
Summary
4. GPS-enabled Time-lapse Recorder
What you will need
Setting up the hardware
The camera board
Connecting the camera module to the Pi
Setting up the Raspberry Pi camera
The GPS module
Setting up the capture software
Using the captures
Creating a time-lapse video
Exporting GPS data as CSV
Summary
5. Home Theater PC
What you will need
Setting up OpenELEC
The first boot and initial setup
Connecting the Pi to a wireless network
Uploading media files to the Pi
Windows
Linux
Shutting down the Pi
Setting up the LCD
Setting up the switches
Final assembly
Summary
6. Outdoor Weather Station
What you will need
Reverse engineering the Maplin sensors
Understanding the sensors
Wiring
Setting up your Arduino
Setting up the remaining sensors
DHT11/22
BMP180
The weather station web application
Deploying the app on the Pi
Taking readings from the sensors
Assembling the weather station
Using the web application
Summary
7. Home Security System
What you will need
The security system structure
Designing your security system
Web applications
Deploying our application
Configuring sensors and alarms
Interfacing sensors
The PIR motion sensors
Magnetic door sensors
The RF network
Setting up the Raspberry Pi
Setting up Arduino
Troubleshooting
Summary
8. Remote-operated Robotic Arm
What you will need
Drive electronics
Setting up the camera
Deploying web applications
The arm and chassis construction
Calibration
Chassis motors
Arm 2 and hand servos
The arm 1 servos
Troubleshooting
The video stream has a substantial delay
The servos make a loud humming noise
Control of the robot is lost
The arm jumps to new positions
Summary
9. Magic Mirror
What you will need
Tools you will need
Theory
The web application
Developing a new widget
The Python code
The Jinja page template
The JavaScript code
The Pi setup
Rotating the display
Deploying the web application
Setting up Chromium
Enclosure construction
Building the mirror without an enclosure
The Pi enclosure
Configuration
Widgets
Included widgets
Example configurations
bbc_ticker.conf
clock.conf
Styles
Troubleshooting
The web application fails with the 500 Internal Server Error
The display does not work
Summary
10. Bottle Xylophone
What you will need
Assembling a note bottle
Electronics
The web application
Configuration
Tuning
Testing
Troubleshooting
Notes are missed
Servos do not move correctly
Summary
Index

Raspberry Pi Blueprints

Copyright © 2015 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: March 2015
Production reference: 1200315
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78439-290-1
www.packtpub.com

Credits

Author
Dan Nixon
Reviewers
Soumen Chandra Laha
Maryala Srinivas
Commissioning Editor
Akram Hussain
Acquisition Editor
Meeta Rajani
Content Development Editor
Shubhang...

Table of contents