An updated guide to programming your own Raspberry Pi projects Learn to create inventive programs and fun games on your powerful Raspberry Pi—with no programming experience required. This practical TAB book has been revised to fully cover the new Raspberry Pi 2, including upgrades to the Raspbian operating system. Discover how to configure hardware and software, write Python scripts, create user-friendly GUIs, and control external electronics. DIY projects include a hangman game, RGB LED controller, digital clock, and RasPiRobot complete with an ultrasonic rangefinder.
- Set up your Raspberry Pi and explore its features
- Navigate files, folders, and menus
- Write Python programs using the IDLE editor
- Use strings, lists, functions, and dictionaries
- Work with modules, classes, and methods
- Create user-friendly games using Pygame
- Build intuitive user interfaces with Tkinter
- Attach external electronics through the GPIO port
- Add powerful Web features to your projects
|Sold by:||Barnes & Noble|
|File size:||12 MB|
|Note:||This product may take a few minutes to download.|
About the Author
Dr. Simon Monk has a bachelor’s degree in cybernetics and computer science and a Ph.D. in software engineering. He is now a full-time writer and has authored numerous books, including Programming Arduino, 30 Arduino Projects for the Evil Genius, Hacking Electronics, and Fritzing for Inventors. Dr. Monk also runs the website monk.makes.com, which features his own products.
Table of ContentsChapter 1. Introduction What is the Raspberry Pi?
What can you do with a Raspberry Pi?
A Tour of the Raspberry Pi
Chapter 2. Getting Started Linux
Chapter 3. Python Basics What is a Programming Language?
Chapter 4. Strings, Lists and Dictionaries String Theory
Summary of Functions
Chapter 5. Modules, Classes and Methods Modules
Chapter 6. Files and Internet Files
Chapter 7. Graphical User Interfaces Tkinter
Other GUI Widgets
Chapter 8. Games Programming What is Pygame?
A Raspberry Game
Chapter 9. Interfacing Hardware GPIO Pin Connections
Direct connection to GPIO Pins
Arduino and Pi
Chapter 10. Prototyping Project (Clock) What You Need
Chapter 11. The RaspiRobot What You Need
Phase 1. A Basic Rover
Phase 2. Adding a Rangefinder and Screen
Chapter 12. What Next? Linux Resources
Raspberry Pi Specific Resources
Other Programming Languages
Applications and Projects