CANCEL
Subscription
0
Your Cart
(0 item)
You have no products in your basket yet
Save more on your purchases!
Buy 3-4 products and each title is $7.99
Buy 5+ products and each title is $4.99
Savings automatically calculated. No voucher code required.
Checkout
Account
Sign in
New User?
Create Account
Your Account
Your Orders
Change country
United States
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
South Africa
Thailand
Ukraine
Switzerland
Slovakia
Luxembourg
Hungary
Romania
Denmark
Ireland
Estonia
Belgium
Italy
Finland
Cyprus
Lithuania
Latvia
Malta
Netherlands
Portugal
Slovenia
Sweden
Argentina
Colombia
Ecuador
Indonesia
Mexico
New Zealand
Norway
South Korea
Taiwan
Turkey
Czechia
Austria
Greece
Isle of Man
Bulgaria
Japan
Philippines
Poland
Singapore
Egypt
Chile
Malaysia
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
SALE ENDS IN
0
Days
:
00
Hours
:
00
Minutes
:
00
Seconds
GO TO
TOP
You're reading from
Raspberry Pi cookbook for Python programmers
The Raspberry Pi Cookbook has over 50 tailor-made recipes for programmers to get the most out of Raspberry Pi using Python to unleash its huge potential.
Product type
Paperback
Published in
Apr 2014
Publisher
ISBN-13
9781849696623
Length
402 pages
Edition
1st Edition
Languages
Python
Tools
Raspberry Pi
Concepts
Single Board Computers
Table of Contents
(18) Chapters
Raspberry Pi Cookbook for Python Programmers
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Getting Started with a Raspberry Pi Computer
FREE CHAPTER
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
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
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
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
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
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
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
7. Sense and Display Real-world Data
Introduction
Using devices with the IC bus
Reading analog data using an analog-to-digital converter
Logging and plotting data
Extending the Raspberry Pi GPIO with an I/O expander
Sensing and sending data to online services
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
9. Building Robots
Introduction
Building a Rover-Pi robot with forward driving motors
Using advanced motor control
Building a six-legged Pi-Bug robot
Avoiding objects and obstacles
Getting a sense of direction
10. Interfacing with Technology
Introduction
Automating your home with remote sockets
Using SPI to control an LED matrix
Communicating using a serial interface
Controlling the Raspberry Pi over Bluetooth
Controlling USB devices
Hardware and Software List
Introduction
General component sources
Hardware list
Software list
Index
Appendix A. Hardware and Software List
In this chapter, we will cover:
General component sources
Hardware list
Software list
The rest of the chapter is locked
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Start free trial
Previous Section
Section 1 of 5
Next Section
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Sign up now
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Start free trial
Renews at
$15.99/month
. Cancel anytime
Build Your Future-Ready Stack!
Every eBook is
$9.99
- master what's next.
SHOP NOW
Personalised recommendations for you
Based on your interests and search pattern
Mastering Embedded Linux Development
Read more
This comprehensive guide is aimed at those who want to take the leap from low-power microcontrollers to high-speed system-on-chips that can efficiently run Linux. Look no further, this book has everything you need to start your journey.
Read more
May 2025
23h 40m
The Embedded Linux Security Handbook
Read more
This book will guide you through every step of the development process, from design to building, testing, validation, and ultimately supporting the appliance's lifecycle to strengthen the security of your embedded Linux systems.
Read more
Apr 2025
9h 16m