售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
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
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜