Copyright
Brief Table of Contents
Table of Contents
Preface
Acknowledgments
About this book
1. Getting started
Chapter 1. Meet Raspberry Pi
What is the Raspberry Pi?
Exploring your Raspberry Pi’s parts: hardware
Giving your Pi a cozy home: Pi cases
The brain of your Pi: system on a chip
Connecting a keyboard and mouse: USB ports
Storing memories: your Pi gets a memory card
Connecting a TV or monitor: HDMI port
Other ports and connections
Powering your Pi: microUSB power port
It’s alive! Plugging in the Pi
Getting your Pi running: software
Installing the Raspbian operating system
Configuring the operating system: making it yours
Saving your configuration and rebooting
Getting around: learning Raspbian
Finding and opening applications on your Raspberry Pi
Your files and folders
Writing code
Fruit Picker Extra: shopping at the Pi Store
Challenge
Scavenger hunt
Summary
Chapter 2. Exploring Python
Playing with Python
Discovering Python’s mathematical operators
Adding and subtracting
Multiplying and dividing
Figuring out whole numbers and remainders
Exponents
Square roots
Challenge: stacking Pis!
Storing information using variables
Creating variables and assigning values
Displaying variable values
Storing strings in variables
Changing the value of variables
Displaying text on a screen
Using the print function