Publisher's Note: Products purchased from Third Party sellers are not guaranteed by the publisher for quality, authenticity, or access to any online entitlements included with the product.An updated guide to programming your own Raspberry Pi projects
Learn to create inventive programs and fun games on your powerful Raspberry Piwith no programming experience required. This practical 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.
- Updated for Raspberry Pi 2
- 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
|Publisher:||McGraw-Hill Professional Publishing|
|Product dimensions:||8.90(w) x 6.00(h) x 0.50(d)|
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 Contents
Chapter 1. IntroductionWhat is the Raspberry Pi?
What can you do with a Raspberry Pi?
A Tour of the Raspberry Pi
Chapter 2. Getting StartedLinux
Chapter 3. Python BasicsWhat is a Programming Language?
Chapter 4. Strings, Lists and DictionariesString Theory
Summary of Functions
Chapter 5. Modules, Classes and MethodsModules
Chapter 6. Files and InternetFiles
Chapter 7. Graphical User InterfacesTkinter
Other GUI Widgets
Chapter 8. Games ProgrammingWhat is Pygame?
A Raspberry Game
Chapter 9. Interfacing HardwareGPIO Pin Connections
Direct connection to GPIO Pins
Arduino and Pi
Chapter 10. Prototyping Project (Clock)What You Need
Chapter 11. The RaspiRobotWhat 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