售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Learning BeagleBone Python Programming
Table of Contents
Learning BeagleBone Python Programming
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
Errata
Piracy
Questions
1. Before We Begin
An overview of BeagleBone
General purpose input/output
Analog-to-digital converter
Pulse width modulation
Universal asynchronous receiver/transmitter
Serial peripheral interface
Inter-Integrated Circuit
Tools and additional hardware
The BeagleBone design
Board comparison
Helpful resources
Summary
2. Getting Started
Initial setup
Updating your Debian image
Connecting to your BeagleBone
The Cloud9 IDE
SSH
Connecting to the Internet
Ethernet
Network forwarding
Using the serial console
Updating your software
The PyBBIO library
The Adafruit_BBIO library
Summary
3. Digital Outputs
GPIO modules
Kernel drivers
Pin multiplexing
Interactive GPIO
Calculating resistor values for LEDs
Driving higher currents from GPIO pins
Blink
Taking advantage of the OS
Multiprocessing
Running at startup
Summary
4. PWM and ADC Subsystems
PWM
Fading an LED
Servo motors
ADC
Voltage divider
Voltage follower
Your first robot
Summary
5. User Input
Buttons
Pull-up/pull-down resistors
Polling
Interrupts
Potentiometers
Summary
6. Program Output
LED displays
LED bar graphs
7-segment displays
The LED matrix
SMTP
Character LCD
Summary
7. Serial Communication
Serial communication
UART
I2C
SPI
Summary
8. Interfacing with External Devices
Accelerometers
Hooking it up
Reading data
Writing a module
Using interrupts
Summary
9. Using the Network
TCP/IP
HTTP
IoT Services
Phant
dweet.io
Freeboard
Summary
10. A Practical Example
Weather station
Connecting to the Internet
Weather alerts
Summary
A. The BeagleBone Black Pinout
B. Disabling HDMI
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜