售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Raspberry Pi LED Blueprints
Table of Contents
Raspberry Pi LED 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
Errata
Piracy
Questions
1. Getting Started with LED Programming through Raspberry Pi GPIO
Setting up Raspberry Pi
Introducing Raspberry Pi GPIO
Blinking LEDs
Turning an LED on/off using a push button
Changing color through an RGB LED
Summary
2. Make Your Own Countdown Timer
Introducing a 7-segment display
Introducing a shift register
Driving a 7-segment display using a shift register
Working with a 4-digit 7-segment display
Building a countdown timer
Summary
3. Make Your Own Digital Clock Display
Introducing a 4-digit 7-segment display for a digital clock
Introducing an I2C OLED graphic display
Enabling I2C on Raspberry Pi
The I2C library for Python
Displaying numbers and characters
Building a digital clock using an I2C OLED graphic display
Summary
4. LED Dot Matrix
Introducing LED dot matrix display (8 x 8 LEDs)
Introducing an LED dot matrix driver
Enabling Raspberry Pi SPI
Deploying a matrix 7219 driver
Displaying a random number on the LED dot matrix display
Displaying a random character on the LED dot matrix display
Building a ball reflection game
Cascading LED dot matrix modules
Summary
5. Building Your Own Traffic Light Controller
Introducing a traffic light controller
Designing a traffic light controller
Controlling AC/DC lamps using channel relay modules
Expanding Raspberry Pi GPIO
Building a traffic light controller
Cascading traffic light controllers
Summary
6. Building Your Own Light Controller-based Bluetooth
Introducing Bluetooth
Working with Bluetooth using Raspberry Pi
Setting up a Bluetooth USB
Turning on/off Bluetooth
Enabling discoverable
Scanning for Bluetooth Devices
Introducing iBeacon
Bluetooth programming on Android
Building a remote light controller-based Bluetooth
Wiring
Building a program for Raspberry Pi
Building a Bluetooth app for Android
Testing
Summary
7. Making Your Own Controlled Lamps Through Internet Network
Connecting the Raspberry Pi to a network
Connecting to a wired network
Connecting to a wireless network
Introducing Node.js
Controlling LEDs and lamps using Node.js
Building a simple web server using Node.js
Building RESTful using Node.js
Controlling LEDs through RESTful
Building a PhoneGap application for Android
Connecting PhoneGap Android to Raspberry Pi through RESTful
Summary
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜