售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Programming the BeagleBone
Table of Contents
Programming the BeagleBone
Credits
About the Author
Acknowledgment
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. Cloud9 IDE
BeagleBone hardware
BeagleBone White (BBW)
BeagleBone Black (BBB)
BeagleBone Green (BBG)
Installing Debian image on SD card
Setting up BeagleBone
Direct connection to monitor and keyboard
Ethernet over USB
Troubleshooting
Ethernet port or USB Wi-Fi adapter
Troubleshooting
VNC
Troubleshooting
Serial Connection
The bone101 page
Cloud9 IDE
Hello World program
Explanation
Summary
2. Blinking Onboard LEDs
Digital I/O
Digital I/O functions - pinMode() and digitalWrite()
Program to turn onboard LED ON and OFF
Program explanation
Quick program to blink onboard LED
Program explanation
Program execution
Make our program better
Program explanation
Dancing LEDs
Program explanation
Dancing LEDs in both directions
Program explanation
Summary
3. Blinking External LEDs
What is GPIO?
BeagleBone GPIO map
Blinking external LED circuit setup
Circuit analysis
Program to blink external LED
Explanation
Troubleshooting
Dancing external LEDs circuit setup
Circuit analysis
Program to dance external LEDs in both directions
Explanation
Summary
4. Controlling LED Using a Push Button
Reading from digital components
Push button circuit setup
Circuit analysis
Program to read from push button
Explanation
Reading via interrupts
Push button LED circuit setup
Circuit analysis
Program to control LED by push button
Explanation
Summary
5. Reading from Analog Sensors
Analog I/O
Reading from analog components
TMP36 temperature sensor circuit setup
Circuit analysis
Program to print temperature
Explanation
LDR circuit setup
Circuit analysis
Program to check light intensity
Explanation
Summary
6. PWM – Writing Analog Information
What is PWM?
BeagleBone's PWM
Writing on analog components
Fading LED circuit setup
Program to fade in and fade out LED
Explanation
Micro servo motor circuit setup
Program to control a micro servo motor
Explanation
Summary
7. Internet of Things with BeagleBone
Why the Internet of Things?
What is the Internet of Things?
Program for creating new Node.js HTTP server
HTML code
JavaScript code
Explanation
Troubleshooting
Program to control an LED through web browser
HTML code
Explanation
JavaScript code
Explanation
Controlling a servo motor through LAN
HTML code
JavaScript code
Sending an e-mail on over-temperature
Explanation
Troubleshooting
What's next?
Summary
8. Physical Computing in Python
Python programming in BeagleBone
Adafruit BBIO library
Program to blink external LEDs
Explanation
Program to dance external LEDs
Explanation
Program to read from push button
Explanation
Detecting button state using interrupt
Explanation
Program to print temperature
Explanation
A Program to check light intensity
Explanation
Program to fade in and fade out LED
Explanation
Program to control micro servo motor
Explanation
Summary
9. UART, I2C, and SPI Programming
Bus and bus protocols
What is UART?
Program to read/write on UART
Explanation
Troubleshooting
I2C protocol
Program to read from ADXL345 sensor
Explanation
Troubleshooting
SPI protocol
Program to write display text on Nokia 5110 LCD
Explanation
Summary
10. Internet of Things using Python
Flask web application framework
Installation
A program to display temperature remotely
Explanation
Troubleshooting
A program to control an LED through a web browser
Explanation
A RESTful web app to control servo motor
Explanation
A program to trigger an e-mail alert on over-temperature
Explanation
Troubleshooting
Upload server data on cloud and visualize
Explanation
What's next?
Security
Summary
A. GPIO Control in Bash
Explanation
Troubleshooting
B. BeagleBone Capes
C. Pinmux and the Device Tree
What is Pinmux?
What is the device tree?
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜