Raspberry Pi for Python Programmers Cookbook(Second Edition)
Tim Cox更新时间:2021-08-20 10:22:30
最新章节:Index封面
版权页
Credits
About the Author
About the Reviewer
www.PacktPub.com
eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Safety and using electronics
Sections
Conventions
Reader feedback
Customer support
Chapter 1. Getting Started with a Raspberry Pi Computer
Introduction
Connecting the Raspberry Pi
Using NOOBS to set up your Raspberry Pi SD card
Networking and connecting your Raspberry Pi to the Internet via the LAN connector
Using built-in Wi-Fi and Bluetooth on the Raspberry Pi
Configuring your network manually
Networking directly to a laptop or computer
Networking and connecting your Raspberry Pi to the Internet via a USB Wi-Fi dongle
Connecting to the Internet through a proxy server
Connecting remotely to the Raspberry Pi over the network using VNC
Connecting remotely to the Raspberry Pi over the network using SSH (and X11 Forwarding)
Sharing the home folder of the Raspberry Pi with SMB
Keeping the Raspberry Pi up to date
Chapter 2. Starting with Python Strings Files and Menus
Introduction
Working with text and strings
Using files and handling errors
Creating a boot-up menu
Creating a self-defining menu
Chapter 3. Using Python for Automation and Productivity
Introduction
Using Tkinter to create graphical user interfaces
Creating a graphical application – Start menu
Displaying photo information in an application
Organizing your photos automatically
Chapter 4. Creating Games and Graphics
Introduction
Using IDLE3 to debug your programs
Drawing lines using a mouse on Tkinter Canvas
Creating a bat and ball game
Creating an overhead scrolling game
Chapter 5. Creating 3D Graphics
Introduction
Starting with 3D coordinates and vertices
Creating and importing 3D models
Creating a 3D world to roam in
Building 3D maps and mazes
Chapter 6. Using Python to Drive Hardware
Introduction
Controlling an LED
Responding to a button
A controlled shutdown button
The GPIO keypad input
Multiplexed color LEDs
Writing messages using Persistence of Vision
Chapter 7. Sense and Display Real-World Data
Introduction
Using devices with the I2C bus
Reading analog data using an analog-to-digital converter
Logging and plotting data
Extending the Raspberry Pi GPIO with an I/O expander
Capturing data in an SQLite database
Viewing data from your own webserver
Sensing and sending data to online services
Chapter 8. Creating Projects with the Raspberry Pi Camera Module
Introduction
Getting started with the Raspberry Pi camera module
Using the camera with Python
Generating a time-lapse video
Creating a stop frame animation
Making a QR code reader
Discover and experiment with OpenCV
Color detection with OpenCV
Performing motion tracking with OpenCV
Chapter 9. Building Robots
Introduction
Building a Rover-Pi robot with forward driving motors
Using advanced motor control
Building a six-legged Pi-Bug robot
Controlling servos directly with Servoblaster
Using an Infra-Red Remote Control with your Raspberry Pi
Avoiding objects and obstacles
Getting a sense of direction
Chapter 10. Interfacing with Technology
Introduction
Automating your home with remote sockets
Appendix A. Hardware and Software List
Index
更新时间:2021-08-20 10:22:30