售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Title Page
Copyright
Wearable-Tech Projects with the Raspberry Pi Zero
Credits
About the Author
About the Reviewer
www.PacktPub.com
Why subscribe?
Customer Feedback
Preface
What this book covers
What you will need
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
About the Raspberry Pi
What we will cover
A little history
The bill of parts
Installing our software
Using Etcher to copy our image
Connecting to GPIO headers
Hammer headers
Solder headers
Getting your equipment ready
Headless access
Enabling SSH access
Setting up your Wi-Fi network
Connecting to your Pi
SSH from Windows
SSH from macOS
SSH from Linux
Final setup
Changing your password
Changing the hour hostname
Installing basic software
Basic electronics
Wiring up the electronics
Writing the Python program
Breaking down the program
Summary
Scrolling LED Badge
What we will cover
The bill of parts
Putting the hardware together
Wiring up the Scroll pHAT HD
Wiring up the Pi
Attaching the Pi and the Scroll pHAT HD
Installing and writing the software
Testing our Scoll pHAT HD
Our scrolling badge program
Making our program start automatically
Creating our systemd service definition
Finalizing our hardware setup
Wiring an off switch to our Pi Zero
Write our shutdown program
Making our shutdown program run automatically
Putting it all together
Installing the Pi Zero into its case
Making our Scroll pHAT HD badge
Summary
Sewable LEDs in Clothing
What We Will Cover
The bill of parts
Modifying our item of clothing
Our hidden pocket
Adding our sewable LEDs
Connecting our Pi Zero
Writing our Python program
Testing our LEDs
Our final LED program
Making our program start automatically
Summary
A Motion-Reactive LED Cap
What we will cover
The bill of parts
Connecting our hardware
Connecting our accelerometer
Testing our accelerometer
Connecting our Blinkt
Testing Blinkt
Modifying our cap
Writing our program
Understanding our accelerometer readings
What did we just do?
Making our program start automatically
Summary
A Tweet-Activated LED T-Shirt
What we will cover
The bill of parts
Creating our personal t-shirt design
Adding our LEDs to our fabric
Testing our LEDs
Writing our main Python program
Preparing your Twitter account
Installing the Python libraries
Our first Python Tweet
Our final program
Connecting our Pi Zero to the internet
Making our program start automatically
Finalizing the garment modifications
Summary
An LED Laptop Bag
What we will cover
The bill of parts
Creating our electrical circuit
Controlling our LED strip with Python
Adding our LED strip to the bag
Writing our main Python program
Making our program start automatically
Summary
Creating Your Own Pedometer
What we will cover
The bill of parts
How a pedometer works
Setting up our hardware
Counting steps with Python
Graphing our steps
Creating our main program
Making our program run automatically
Summary
Creating Your Own Heart Rate Monitor
What we will cover
The bill of parts
Setting up our hardware
Reading our heart rate
Making our program run automatically
Summary
Creating Your Own GPS Tracker
What we will cover
The bill of parts
Setting up our hardware
Configuring our Pi Zero to connect to the hardware
Reading our GPS data
Creating KML files
Uploading KML files to Google Maps and Earth
Uploading KML files to Google Maps
Uploading KML files to Google Earth
Creating our final program
Making our program run automatically
Testing our GPS tracker
Summary
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜