Raspberry Pi

Raspberry_Pi_Logo_svgBlueJ on the Raspberry Pi
(http://bluej.org/raspberrypi/)

BlueJ is an Integrated Development Environment (IDE) written in Java, designed for the teaching of java for beginners.
From version 3.14, BlueJ fully supports the Raspberry Pi, a credit card sized single board computer aimed at promoting the teaching of basic computer programming in schools. BlueJ is a Java development environment that allows development as well as program execution on the Pi.
BlueJ provides full access to hardware attached to the Raspberry Pi via the open source Pi4J library, from the the familiar Java SE language, including the new Java


Teach, Learn and Make with Raspberry Pi
(https://www.raspberrypi.org/)

The Raspberry Pi Foundation works to put the power of digital making into the hands of people all over the world, so they are capable of understanding and shaping our increasingly digital world, able to solve the problems that matter to them, and equipped for the jobs of the future.

We provide low-cost, high-performance computers that people use to learn, solve problems and have fun. We provide outreach and education to help more people access computing and digital making. We develop free resources to help people learn about computing and how to make things with computers, and train educators who can guide other people to learn.


InstructablesRaspberry Pi Projects
(http://www.instructables.com/id/Raspberry-Pi-Projects/)

Raspberry Pi is a dynamic microcontroller that is capable of just about anything a computer is. It runs with the Python programming language, and is a great way to learn about hardware hacking and coding. Check out these awesome Instructables to inspire your Raspberry Pi Project.


5 of the Best: Raspberry Pi Projects
(http://www.stuff.tv/features/5-best-raspberry-pi-projects)
We celebrate four years of the Raspberry Pi by looking back at some of its best capabilities.
The original Raspberry Pi first went on sale on 29 February, four years ago. The single-board computer was developed to promote the teaching of basic computer science in schools, but it immediately won over the hearts of gadgeteers and tech tinkerers alike.
Over the years, Pi enthusiasts have worked hard, finding increasingly clever uses for the credit card-sized computing marvel, turning it into all sorts since its launch.

As the fourth anniversary is upon us, it feels like the time is right to show you how to do some magical things with your own Raspberry Pi (for all those partial to a bit of DIY gadgetry).

These are our nine favourite projects that prove that this little computer isn’t just for school work and certainly isn’t just for kids…


raspberry pi projects raspberrypifeaturedGet Under the Crust of these 10 Fun and Easy Raspberry Pi Projects
(http://www.digitaltrends.com/computing/raspberry-pi-projects/)

Think the Raspberry Pi is underpowered? Here’s 10 projects that prove you wrong.

At this point the Raspberry Pi is a modern legend. This series of tiny, low-powered computers provides an inexpensive and relatively easy base for electronics projects – everything from a tiny web server to an actual spaceship. Here are some of the fascinating, weird, and wonderful ways that creative engineers and programmers have put the Raspberry Pi to use.


Richardson, M. and Wallace, S. (2013) Getting Started with Raspberry Pi, Make Projects, MakerMedia

A newer version of this book is available.

Download eBook PDF (PDF 13,263KB)

What can you do with the Raspberry Pi, a $35 computer the size of a credit card? All sorts of things! If you’re learning how to program, or looking to build new electronic projects, this hands-on guide will show you just how valuable this flexible little platform can be.

This book takes you step-by-step through many fun and educational possibilities. Take advantage of several preloaded programming languages. Use the Raspberry Pi with Arduino. Create Internet-connected projects. Play with multimedia. With Raspberry Pi, you can do all of this and more.

  • Get acquainted with hardware features on the Pi’s board
  • Learn enough Linux to move around the operating system
  • Pick up the basics of Python and Scratch—and start programming
  • Draw graphics, play sounds, and handle mouse events with the Pygame framework
  • Use the Pi’s input and output pins to do some hardware hacking
  • Discover how Arduino and the Raspberry Pi complement each other
  • Integrate USB webcams and other peripherals into your projects
  • Create your own Pi-based web server with Python

Upton, E. and Halfacree, G. (2012) Rasberry Pi User Guide, John Wiley and Sons, Ltd.

A more recent version of this book is available.

Download eBook PDF (PDF 6,078KB)

Downloads available from: http://eu.wiley.com/WileyCDA/WileyTitle/productCd-111846446X.html

Make the most out of the world’s first truly compact computer

It’s the size of a credit card, it can be charged like a smartphone, it runs on open-source Linux, and it holds the promise of bringing programming and playing to millions at low cost. And now you can learn how to use this amazing computer from its co-creator, Eben Upton, in Raspberry Pi User Guide. Cowritten with Gareth Halfacree, this guide gets you up and running on Raspberry Pi, whether you’re an educator, hacker, hobbyist, or kid. Learn how to connect your Pi to other hardware, install software, write basic programs, and set it up to run robots, multimedia centers, and more.

  • Gets you up and running on Raspberry Pi, a high-tech computer the size of a credit card
  • Helps educators teach students how to program
  • Covers connecting Raspberry Pi to other hardware, such as monitors and keyboards, how to install software, and how to configure Raspberry Pi
  • Shows you how to set up Raspberry Pi as a simple productivity computer, write basic programs in Python, connect to servos and sensors, and drive a robot or multimedia center

Adults, kids, and devoted hardware hackers, now that you’ve got a Raspberry Pi, get the very most out of it with Raspberry Pi User Guide.

The essential guide to getting started with Raspberry Pi computing and programming.

Originally conceived of as a fun, easy way for kids (and curious adults) to learn computer programming, the Raspberry Pi quickly evolved into a remarkably robust, credit-card-size computer that can be used for everything from playing HD videos and hacking around with hardware to learning to program! Co-authored by one of the creators of the Raspberry Pi, this book fills you in on everything you need to know to get up and running on your Raspberry Pi, in no time, including how to:

  • Connect to a keyboard, mouse, monitor and other peripherals
  • Install software
  • Master basic Linux System Admin
  • Configure your Raspberry Pi
  • Set-up your Raspberry Pi as a Productivity computer
  • Write programmes in Scratch and Python
  • Set up the Raspberry Pi to drive a multimedia centre

This is your complete guide to using and getting the most out of the world’s first, true compact computer.
Eben Upton is the co-creator of the Raspberry Pi board and the founder of the Raspberry Pi Foundation. Gareth Halfacree is a freelance technology journalist, open source advocate and erstwhile system administrator.

Table of Contents

Introduction  1

Programming is fun!  1

A bit of history   3

So what can you do with the Raspberry Pi?  8

Part I: Connecting the Board

CHAPTER 1 Meet the Raspberry Pi    11

ARM vsx86   12

Windows vsLinux  13

Getting Started with the Raspberry Pi  14

Connecting a Display    14

Composite Video    14

HDMI Video  15

DSI Video  16

Connecting Audio     16

Connecting a Keyboard and Mouse  17

Flashing the SD Card    19

Flashing from Linux    20

Flashing from OS X    21

Flashing from Windows   21

Connecting External Storage   22

Connecting the Network    23

Wired Networking    24

Wireless Networking    25

Connecting Power     26

CHAPTER 2 Linux System Administration   27

Linux: An Overview     28

Linux Basics   30

Introducing Debian  30

Using External Storage Devices   34

Creating a New User Account   36

File System Layout  37

Logical Layout  37

Physical Layout  39

Installing and Uninstalling Software  40

Finding Software     41

Installing Software     42

Uninstalling Software    43

Upgrading Software     44

CHAPTER 3 Troubleshooting 45

Keyboard and Mouse Diagnostics   46

Power Diagnostics  47

Display Diagnostics     49

Boot Diagnostics  50

Network Diagnostics     50

The Emergency Kernel     53

CHAPTER 4 Network Configuration    55

Wired Networking  56

Wireless Networking     59

No Encryption     68

WEP Encryption     68

WPA/WPA2 Encryption   69

Connecting to the Wireless Network 69

CHAPTER 5 Partition Management    71

Creating a New Partition    72

Resizing Existing Partitions    76

Automatic Resizing     76

Manual Resizing 77

Moving to a Bigger SD Card    81

Imaging from Linux     82

Imaging from OS X     83

Imaging from Windows    83

CHAPTER 6 Configuring the Raspberry Pi   85

Hardware Settings—config.txt   86

Modifying the Display    87

Boot Options  90

Overclocking the Raspberry Pi   91

Overclocking Settings    92

Overvoltage Settings    93

Disabling L2 Cache     94

Enabling Test Mode    95

Memory Partitioning—start.elf   96

Software Settings—cmdline.txt   97

Part II: Using the Pi as a Media Centre, Productivity Machine and Web Server

CHAPTER 7 The Pi as a Home Theatre PC   103

Playing Music at the Console   104

Dedicated HTPC with Rasbmc   106

Streaming Internet Media   108

Streaming Local Network Media  109

Configuring Rasbmc    111

CHAPTER 8 The Pi as a Productivity Machine  113

Using Cloud-Based Apps    114

Using OpenOffice.org    117

Image Editing with The Gimp   119

CHAPTER 9 The Pi as a Web Server    123

Installing a LAMP Stack    124

Installing WordPress    128

Part III: Programming and Hacking

CHAPTER 10 An Introduction to Scratch   135

Introducing Scratch    136

Example 1: Hello World    137

Example 2: Animation and Sound  140

Example 3: A Simple Game   143

Robotics and Sensors    149

Sensing with the PicoBoard   149

Robotics with LEGO    150

Further Reading  150

CHAPTER 11 An Introduction to Python   151

Introducing Python    152

Example 1: Hello World    152

Example 2: Comments, Inputs, Variables and Loops   158

Example 3: Gaming with pygame  162

Example 4: Python and Networking  171

Further Reading  178

CHAPTER 12 Hardware Hacking 179

Electronic Equipment    180

Reading Resistor Colour Codes   182

Sourcing Components    184

Online Sources 184

Offline Sources 185

Hobby Specialists    186

The GPIO Port  186

UART Serial Bus     188

I²C Bus   189

SPI Bus   189

Using the GPIO Port in Python  189

Installing the GPIO Python Library  190

GPIO Output: Flashing an LED  192

GPIO Input: Reading a Button  196

Moving Up From the Breadboard  200

A Brief Guide to Soldering   203

CHAPTER 13 Add-on Boards 209

Ciseco Slice of Pi 210

Adafruit Prototyping Pi Plate   214

Fen Logic Gertboard    217

Part IV: Appendixes

APPENDIX A Python Recipes 225

Raspberry Snake (Chapter 11, Example 3) 226

IRC User List (Chapter 11, Example 4)  228

GPIO Input and Output (Chapter 12) 230

APPENDIX B HDMI Display Modes    231


Robinson, A. and Cook, M. (2014) Raspberry Pi Projects, John Wiley and Sons Ltd.

Learn to build software and hardware projects featuring the Raspberry Pi!

Chapter 9 Circuit Diagram 255.38 KB Click to Download
Chapter 2, 9, 10, 12 Code Listings 10.03 KB Click to Download
Chapter 3 Code Listings 12.83 KB Click to Download
Chapter 4 Code Listings 5.48 KB Click to Download
Chapter 5 Code Listings 38.38 KB Click to Download
Chapter 6 Code Listings 343.52 KB Click to Download
Chapter 8 Code Listings 65.17 KB Click to Download
Chapter 11 Code Listings 5.90 KB Click to Download
Chapter 13 Code Listings 5.97 KB Click to Download
Chapter 14 Code Listings 87.96 KB Click to Download
Chapter 15 Code Listings 198.60 KB Click to Download
Chapter 16 Code Listings 6.06 KB Click to Download

Congratulations on becoming a proud owner of a Raspberry Pi! Following primers on getting your Pi up and running and programming with Python, the authors walk you through 16 fun projects of increasing sophistication that let you develop your Raspberry Pi skills. Among other things you will:

  • Write simple programs, including a tic–tac–toe game
  • Re–create vintage games similar to Pong and Pac–Man
  • Construct a networked alarm system with door sensors and webcams
  • Build Pi–controlled gadgets including a slot car racetrack and a door lock
  • Create a reaction timer and an electronic harmonograph
  • Construct a Facebook–enabled Etch A Sketch–type gadget and a Twittering toy

Raspberry Pi Projects is an excellent way to dig deeper into the capabilities of the Pi and to have great fun while doing it.

Table of Contents

  • Introduction  1
  • A History of Making   1
  • Consumer Computing   2
  • Why Everyone Should Learn About Computing   2
  • Enter the Raspberry Pi   3
  • About This Book    4
  • How to Use Th is Book   4
  • The Future 6

Part I: Getting Started with the Raspberry Pi

CHAPTER 1 Getting Your Raspberry Pi Up and Running   9

  • The Operating System  10
  • Connecting Your Raspberry Pi 16
  • The Boot Process    25
  • Starting the Graphical Desktop 26
  • Starting a Terminal under X 26
  • Troubleshooting    26
  • Let the Fun Begin!    28

CHAPTER 2 Introductory Software Project: The Insult Generator 29

  • Running Your First Python Program   30
  • Saving Your Program   33
  • Generating an Insult    36
  • Insult Your Friends by Name! 39
  • Create a Stream of Insults! 41
  • Putting It All Together  45

Part II: Software Projects

CHAPTER 3 Tic–Tac–Toe 49

  • Errors  50
  • Making a Start 51
  • A Two–Player Game    55
  • Getting the Computer to Play 59
  • Over to You 70

CHAPTER 4 Here’s the News    71

  • Early Teleprompters    72
  • The Pi Prompter   73
  • What You Need to Do  73
  • A Step Closer to a Usable Program    78
  • Your Final Pi Prompter Code    84
  • The Physical Setup for Your Prompter   89
  • Over to You 92

CHAPTER 5 Ping    93

  • Early Commercial Products 94
  • The Ping Game 94
  • Improving the Ping Game 99
  • A Single–Player Game 104
  • A Two–Player Game  111
  • Over to You    118

CHAPTER 6 Pie Man   121

  • The Pie Man Game   122
  • Gather Your Resources 123
  • Setting the Stage   127
  • The Game Action   133
  • Drawing the Screen   141
  • The Final Function   144
  • Over to You    150

CHAPTER 7 Minecraft Maze Maker   151

  • Installing Minecraft  152
  • Starting Minecraft 153
  • Playing Minecraft  154
  • Preparing for Python 156
  • Using the Minecraft Module    156
  • Over to You    174

Part III: Hardware Projects

CHAPTER 8 Colour Snap 177

  • Implementing the Game 178
  • The Software for Testing the Game  193
  • The Software for the Game    196
  • Over to You    202

CHAPTER 9 Test Your Reactions    203

  • Welcome to the Embedded World! 204
  • Obtaining Components 205
  • Setting up PiFace Digital 206
  • Connecting PiFace Digital 210
  • Using the Emulator   210
  • Interfacing with Python 211
  • The Reaction Timer   214
  • What Will You Interface? 226

CHAPTER 10 The Twittering Toy   227

  • Hacking the Toy   228
  • Making It Talk   232
  • Making It Move   235
  • Connecting to Twitter 239
  • Putting It All Together 245
  • Wrapping Up    248

CHAPTER 11 Disco Lights 251

  • Defining Your Sequence 252
  • Getting the Code to Do More    254
  • A Small Detour into Theory    256
  • Designing the Sequencer 257
  • Implementing the Sequencer    258
  • The Lights 265
  • Using Longer Strip Lights 268
  • Making the Lights Move 269
  • Designing the Circuit 270
  • Building the Circuit   273
  • Running the Circuit  273
  • Over to You    274

CHAPTER 12 Door Lock 275

  • The System Overview 276
  • Safety–Critical Systems 276
  • The Door Lock Hardware 277
  • The Initial High–Level Software Simulation   278
  • The Output Block  281
  • The Input Block   283
  • The Authentication Block 284
  • Unlocking Doors Without Touching  286
  • Testing the Program and Fitting the Lock   292
  • Networking Multiple Doors    293
  • Over to You    294
  • The Art of Programming 295

CHAPTER 13 Home Automation    297

  • The Internet Of Things 298
  • Project 1: How to Create a Motion Sensor and Door Switch   298
  • Project 2: How to Monitor Your Home with a Webcam    305
  • Project 3: How to Make a Temperature Gauge  312
  • Project 4: How to Send an E–mail Alert    317
  • Project 5: How to Send an E–mail Using a Wireless Remote   324
  • Over to You    331

CHAPTER 14 Computer–Controlled Slot Car Racing    333

  • Obtaining a Slot Car Racer 334
  • Hacking Your Slot Car Racer    334
  • Getting the Player Input 336
  • The Software    346
  • The Game 348
  • Over to You    354

CHAPTER 15 Facebook–Enabled Roto–Sketch 355

  • The Concept    356
  • Rotary Encoder Types 356
  • The Encoder Output  357
  • Posting to Facebook  366
  • The Final Roto–Sketch Program   369
  • Creating a Symmetrical Pattern   375
  • Over to You    381

CHAPTER 16 The Pendulum Pi, a Harmonograph    383

  • The Concept    385
  • The Hall Effect   385
  • Enter the Arduino  387
  • Putting It Together   388
  • Programming the Arduino 399
  • Programming the Pi  412
  • Using the Pendulum Pi 418
  • Over to You    419

CHAPTER 17 The Techno–Bird Box, a Wildlife Monitor   421

  • Building Invisible Light Beam Sensors 423
  • Mounting the Sensors 427
  • Recording Activity to a File    431
  • Processing the Data  442
  • Dealing with Sensor Noise 448
  • Drawing a Graph   454
  • Putting the Nest Box into Service   458
  • Over to You    458
  • The Possibilities Are Endless    460

Norris, N. (2014) Raspberry Pi Projects for the Evil Genius, McGraw-Hill Education

Download eBook PDF (PDF 14,868KB)
Download Source Code – Software Files (ZIP 10KB)
Download Source Code – Audio Files (ZIP 45,138KB)

A dozen fiendishly fun projects for the Raspberry Pi!

This wickedly inventive guide shows you how to create all kinds of entertaining and practical projects with Raspberry Pi operating system and programming environment. In Raspberry Pi Projects for the Evil Genius, you’ll learn how to build a Bluetooth-controlled robot, a weather station, home automation and security controllers, a universal remote, and even a minimalist website. You’ll also find out how to establish communication between Android devices and the RasPi.

Each fun, inexpensive Evil Genius project includes a detailed list of materials, sources for parts, schematics, and lots of clear, well-illustrated instructions for easy assembly. The larger workbook-style layout makes following the step-by-step instructions a breeze.

Build these and other devious devices:

  • LED blinker
  • MP3 player
  • Camera controller
  • Bluetooth robot
  • Earthquake detector
  • Home automation controller
  • Weather station
  • Home security controller
  • RFID door latch
  • Remote power controller
  • Radon detector

Table of contents

Ch 1. Introduction to the Raspberry Pi
Ch 2. LED Blinker Project
Ch 3. MP3 Player Project
Ch 4. Camera Controller
Ch 5. GPS Device
Ch 6. Earthquake Detector
Ch 7. Home Automation
Ch 8. Home Security Controller
Ch 9. NFC/RFID Reader
Ch 10. 1-Wire Weather Station
Ch 11. Local and Remote Logic Controller
Ch 12. Robotic Car – Part 1
Ch 13. Robotic Car – Part 2
Ch 14. Radon Detector
Ch 15. Serving up Time with an RTC and NTP


McGraith, M. (2016) Raspberry Pi 3 in East Steps, In Easy Steps Ltd

Download Source Code (ZIP 691KB)

The Raspberry Pi is an inexpensive programmable credit-card sized computer that plugs into your TV and a keyboard. It can be used for many of the things that your PC does, like spreadsheets, word-processing and playing games, but its real purpose is to inspire children (and adults) to learn how to program. Over five million Raspberry Pis have been sold worldwide, so far!

Raspberry Pi 3 in easy steps starts with the basic components you ll need, setting up the system and logging into the console. Then, in easy steps, it introduces you to the Raspbian operating system that is optimized for the Raspberry Pi. You’ll learn how to customize the look and feel of your system, how to navigate the file system, and how to use the powerful system shell to make things happen for you. The new GPIO interface is fully described, and the new NOOBS installer is also described for setup.

Raspberry Pi 3 in easy steps enables complete beginners to create their very own computer programs with the Scratch visual programming environment. It also instructs programming in the high-level (human-readable) Python programming language language, which is processed by the Python interpreter to produce results fast. Examples demonstrate how to use the included Python pygame module, to make your own games, and how to use the included ‘Tkinter module to create graphical windowed apps.

Raspberry Pi 3 in easy steps also illustrates how to control electrical input and output on the Raspberry Pi header from Python scripts, including lighting a lamp, adding more buttons and controlling projects. With the knowledge gained from this book the reader can confidently advance to any future electronic Raspberry Pi project or other explore other programming environments.

Covers the latest versions of Python.

Contents:

  1. Getting started
  2. Exploring the desktop
  3. Commanding the system
  4. Animating with Scratch
  5. Programming with Python
  6. Importing modules
  7. Producing games
  8. Developing windowed apps
  9. Driving header pins

Monk, S. (2014) Raspberry Pi Cookbook, O’Reilly Media Inc.

A more recent version is available

Download eBook PDF   (PDF 13,319KB)
Download Source Code (ZIP 27KB)

The world of Raspberry Pi is evolving quickly, with many new interface boards and software libraries becoming available all the time. In this cookbook, prolific hacker and author Simon Monk provides more than 200 practical recipes for running this tiny low-cost computer with Linux, programming it with Python, and hooking up sensors, motors, and other hardware—including Arduino.

You’ll also learn basic principles to help you use new technologies with Raspberry Pi as its ecosystem develops. Python and other code examples from the book are available on GitHub. This cookbook is ideal for programmers and hobbyists familiar with the Pi through resources such as Getting Started with Raspberry Pi (O’Reilly).

  • Set up and manage your Raspberry Pi
  • Connect the Pi to a network
  • Work with its Linux-based operating system
  • Use the Pi’s ready-made software
  • Program Raspberry Pi with Python
  • Control hardware through the GPIO connector
  • Use Raspberry Pi to run different types of motors
  • Work with switches, keypads, and other digital inputs
  • Hook up sensors for taking various measurements
  • Attach different displays, such as an LED matrix
  • Create dynamic projects with Raspberry Pi and Arduino

Raspberry Pi Cookbook Sampler Videos
http://razzpisampler.oreilly.com/
Make sure to check out 10 of the over 60 video recipes for this book


Barnes, Russell (2015) The Official Raspberry Pi Projects Book, Cbl Distribution Limited

Download eBook PDF (PDF 36,547KB)

The Official Raspberry Pi Projects book is out now with 200 pages of ideas, inspiration and guides to help you with your next Raspberry Pi project!

The 200-page Official Raspberry Pi Project Book is the ultimate guide for hackers and makers looking for inspiration, ideas and practical examples for their Raspberry Pi projects. Learn how to get started with your Raspberry Pi, read about dozens of incredible community-made projects and master new skills with essential guides and walkthroughs. The Official Raspberry Pi Projects book also contains never before printed material from the first five issues of The MagPi, the official Raspberry Pi magazine.

The Raspberry Pi is the world’s favourite credit card-sized PC and one of the best-selling computers ever made in the UK. As well as helping to change the way computing is taught in schools around the world, the Raspberry Pi has become the de facto tool for hacking and making cool things. This book shows you why…

  • How to get started with your Raspberry Pi
  • Dozens of inspirational community projects
  • Essential guides and amazing ideas
  • Expert reviews and buying advice

he Official Raspberry Pi Projects Book is freely licensed under
Creative Commons (BY-SA-NC 3.0).

You can download this eBook free now and forever, but buying in digital supports the Raspberry Pi Foundation’s charitable mission to democratise computing.


McManus, S. and Cook, M.  (2013) Raspberry Pi for Dummies, John Wiley and Sons, Inc.

A more recent version of this book is available.

Download eBook PDF (PDF 28,605KB)

Companion Web Site at: http://www.sean.co.uk/books/raspberry-pi-for-dummies/index.shtm

Embrace the exciting new technology of Raspberry Pi!

With the invention of the unique credit–card sized single–board computer, the Raspberry Pi, comes a new wave of hardware geeks, hackers, and hobbyists who are excited about the possibilities of the Raspberry Pi, and this is the perfect guide to get you started in this exhilarating new arena. With this fun and friendly book, you′ll quickly discover why the supply for the Pi cannot keep up with the demand! Veteran tech authors Sean McManus and Mike Cook show you how to download and install the operating system, use the installed applications, and much more.

  • Covers connecting the Pi to other devices such as a keyboard, mouse, monitor, and more
  • Teaches you basic Linux System Admin
  • Walks you through editing images, creating web pages, and playing music
  • Details how to program with Scratch and Python
  • Explores creating simple hardware projects

Raspberry Pi For Dummies makes computing as easy as pie.

Now discover the history of Raspberry Pi!

The Raspberry Pi sold a million units in its first year, and came from a previously unknown organisation, The Raspberry Pi Foundation. If you’ve ever wondered how it came into being, and what inspired its creation, Sean McManus, co-author of Raspberry Pi For Dummies, has the answer. He has set up a section on his website to share bonus content, which includes a short history of the Raspberry Pi. At Sean’s website, you can also read reviews of the book, see videos of its projects, and read several exclusive blog posts about the Raspberry Pi and its community.

Table of Contents

Introduction 1

Part I: Getting Started with Raspberry Pi 7

Chapter 1: Introducing the Raspberry Pi 9

Chapter 2: Downloading the Operating System 19

Chapter 3: Connecting Your Raspberry Pi 31

Part II: Getting Started with Linux 43

Chapter 4: Using the Desktop Environment 45

Chapter 5: Using the Linux Shell 71

Part III: Using the Raspberry Pi for Both Work and Play 107

Chapter 6: Being Productive with the Raspberry Pi 109

Chapter 7: Editing Photos on the Raspberry Pi with GIMP 121

Chapter 8: Building Your First Website with the Raspberry Pi 131

Chapter 9: Playing Audio and Video on the Raspberry Pi 159

Part IV: Programming the Raspberry Pi 171

Chapter 10: Introducing Programming with Scratch 173

Chapter 11: Programming an Arcade Game Using Scratch 189

Chapter 12: Writing Programs in Python 211

Chapter 13: Creating a Game with Python and Pygame 241

Part V: Exploring Electronics with the Raspberry Pi 259

Chapter 14: Understanding Circuits and Soldering 261

Chapter 15: Making Your First Project with the Raspberry Pi 281

Chapter 16: Putting the Raspberry Pi in Control 313

Chapter 17: The Raspberry Pi in an Analog World 337

Part VI: The Part of Tens 359

Chapter 18: Ten Great Software Packages for the Raspberry Pi 361

Chapter 19: Ten Inspiring Projects for the Raspberry Pi 371

Appendix A: Troubleshooting and Configuring the Raspberry Pi 377

Appendix B: The GPIO on the Raspberry Pi 391