Skip to main content

Teach Yourself VISUALLY Raspberry Pi

Teach Yourself VISUALLY Raspberry Pi

Richard Wentk

ISBN: 978-1-118-76819-8

Feb 2014

320 pages

Select type: Paperback

Product not available for purchase


Full-color, step-by-step guidance for learning to use Raspberry Pi!

Raspberry Pi is an inexpensive, single-board computer that serves as an introductory board for students and developing computer professionals. This image-driven, visual guide shows you how the Raspberry Pi can be easily used as a stand-alone computer, a media center, a web server, and much more. Vivid, full-color images bring Raspberry Pi projects to life, while well-illustrated circuit diagrams and step-by-step practical advice cover everything from working with the included software to branching out into typical but more complex endeavors.

  • Covers interesting topics for students and aspiring computer professionals
  • Demonstrates how to create custom projects, work with the Raspberry OS, install other operating systems, get the most out of the Raspberry Pi, and much more
  • Encourages users to study and tinker with the Raspberry Pi

Teach Yourself VISUALLY Raspberry Pi is an ideal resource for anyone who learns better with visual instruction and puts them well on their way to making the most of this low-cost computer.

Chapter 1 Getting Started with Raspberry Pi

Introducing Raspberry Pi 4

Take a Tour of Raspberry Pi 5

Choose Accessories 6

Choose and Use a Case 8

Connect a Monitor 10

Connect USB Accessories 12

Connect Power and Boot 14

Chapter 2 Selecting an Operating System

Understanding OS Options 18

Prepare an SD Card 20

Copy NOOBS to an SD card 22

Select and Install Raspbian Wheezy 24

Back Up an SD Card 26

Get Started with BerryBoot 28

Chapter 3 Setting Up Raspbian

Set a Password 32

Select a Keyboard Layout 34

Select a Time Zone 36

Manage Memory and SD Card Options 38

Set Up Overclocking 40

Connect to the Internet 42

Revise the Configuration 43

Update the Operating System 44

Launch the Desktop 46

Shut Down the Pi 47

Chapter 4 Working with Applications

Introducing Raspberry Pi Apps 50

Set Up Wi-Fi 52

View Web Pages 54

Work with Files in File Manager 56

Edit Text with Leafpad 58

Configure the Desktop 60

Configure the Launch Panel 62

Chapter 5 Working with the Command Line

Introducing Linux 66

Using the Command Line 68

Become the Superuser 69

Understanding the File System 70

Navigate and List Directories 72

Create a Directory 74

Delete Files and Directories 75

View a File 76

Find a File or Command 77

Copy, Move, and Rename Files 78

Work with File Permissions 80

Using the Command Line History 82

Chapter 6 Understanding Advanced Commands

Understanding Advanced Linux 86

Using the Nano Editor 88

Set Up Autologin 90

Download and Install Applications 92

Configure an Application 94

Redirect Screen Output to a File 96

Combine Commands with a Pipe 97

Process Text with grep and sed 98

Create a Simple Script 100

Run a Command at Set Times 102

Chapter 7 Networking Raspberry Pi

Understanding Networking 106

Set a Static IP Address 108

Set Up ssh 110

Using ssh for Remote Command Line Access 111

Set Up Remote Access with VNC 112

Share Files with Samba 114

Set Up a Simple Web Server 116

Create a Simple Web Page 118

Install PHP 119

Create a Smart Web Page 120

Send E-Mails 122

Get Started with curl and wget 124

Put Your Pi on the Internet 126

Chapter 8 Getting Started with Sound and Video

Understanding Media on the Pi 130

Set Monitor Resolution and Overscan 132

Set Up Audio 134

Play Video with omxplayer 136

License Extra Video Formats 138

Connect a USB Media Drive 140

Chapter 9 Programming with Scratch

Understanding Scratch 144

Import a Costume 146

Switch a Costume with Blocks 148

Create a Loop 150

Move a Sprite 152

Add a Bounce 154

Check for Collisions 156

Respond to the Mouse and Keyboard 158

Edit a Costume 160

Change the Stage Background 162

Play Sounds 164

Work with Variables 166

Using the Pen 168

Chapter 10 Getting Started with Python

Introducing Python 172

Launch IDLE 174

Work with Numbers 176

Create Variables 178

Get Started with Strings 180

Split Strings 182

Pick Words from Strings 184

Convert Strings and Numbers 186

Work with Files 188

Create and Run a Python Script 190

Chapter 11 Organizing Information with Python

Get Started with Lists 194

Using List Methods 196

Explore Tuples 198

Work with Dictionaries 200

Understanding Repeats and Decisions 202

Make Decisions 204

Work with Loops and Repeats 206

Understanding Functions and Objects 208

Create a Function 210

Define a Class 212

Using a Class 214

Load Modules 216

Work with pickle 218

Using the Debugger 220

Chapter 12 Getting Started with Pygame

Introducing Pygame 224

Create a Window 226

Close a Window 228

Load a Background Image 230

Read the Mouse 232

Respond to Keyboard Events 234

Scan the Keyboard 236

Create a Timed Loop 238

Chapter 13 Creating Graphics with Pygame

Understanding Graphics and Animation 242

Understanding Sprites and Images 244

Get Started with Surfaces 246

Define Colors 248

Draw Shapes 250

Animate an Object 252

Bounce a Shape 254

Draw Text with Fonts 256

Load and Show an Image 258

Create a Sprite Class 260

Check for Sprite Collisions 262

Create a Breakout Game 264

Share Your Games 268

Chapter 14 Adding Custom Hardware

Understanding Electronics 272

Using a Digital Multimeter 274

Set Up GPIO Control Software 276

Control an LED with a Button 278

Connect a Digital Temperature Sensor 280

Log Sensor Readings to a File 282

Graph Readings on a Web Page 284

Connect a Real-Time Clock 286

Create a Python Webcam 288

Control a Relay 290

Learn to Solder 292

Create a Circuit on Stripboard 294

Understanding Further Options 296

Index 298

Chapter 7
Chapter 10
Chapter 11
Chapter 12
Chapter 13
Chapter 14