Sean McManus

Raspberry Pi For Dummies


Скачать книгу

you quickly find what you might have missed. We also include some signposts to future chapters, so you can skip ahead to a later chapter if it provides the quickest answer for you.

      If you haven’t set up your Pi yet, start with Part 1. If you have your Pi up and running, Part 2 shows you how to use the software on it. Part 3 covers productivity, creativity, and entertainment software. To flex your programming muscles, perhaps for the first time, read Part 4. You can learn Scratch, Python, or Sonic Pi here, and feel free to start with any one of those languages. The Python chapters provide a good foundation for Part 5, where you can start building your own electronics projects.

      Setting Up Your Raspberry Pi

      Get to know the Raspberry Pi and what other equipment you will need to be able to use it.

      Download the Linux operating system and prepare a microSD card for use on your Raspberry Pi.

      Connect your Raspberry Pi to the power, keyboard, mouse, and screen.

      Install and test the Raspberry Pi Camera Module.

      Change the settings on your Raspberry Pi.

      Introducing the Raspberry Pi

      IN THIS CHAPTER

      

Getting up close and personal with the Raspberry Pi

      

Taking stock of your Raspberry Pi

      

Purchasing your very own Raspberry Pi

      

Figuring out what else you need

      The Raspberry Pi is perhaps the most inspiring computer available today. Although most of the computing devices being used (including phones, tablets, and game consoles) are designed to stop people from tinkering with them, the Raspberry Pi is exactly the opposite. It invites you to prod it, play with it, and create with it. It comes with the tools you need to start creating your own software (or programming), and you can connect your own electronic inventions to it. Some models are cheap enough that breaking them won’t break the bank, so you can experiment with confidence.

      Lots of people are fired up about the Raspberry Pi’s potential, and they’re discovering exciting new ways to use it. Dave Akerman (www.daveakerman.com) and friends attached one to a weather balloon and sent it nearly 40 kilometers high to take pictures of the Earth from near space using a webcam. (You can read about Dave’s ballooning project in Chapter 20.)

Photo depicts two of the Raspberry Pi boards used in the University of Southampton’s supercomputer, with the rest of the supercomputer in the background.

      Courtesy of Simon Cox and Glenn Harris, University of Southampton.

      FIGURE 1-1: Two of the Raspberry Pi boards used in the University of Southampton’s supercomputer, with the rest of the supercomputer in the background.

      The Pi is also being used to make fitness gadgets, gaming devices, electric skateboards, and much more, as you discover in Chapter 20.

      Although those projects are grabbing headlines, another story is less visible but more important: the thousands of people of all ages who are taking their first steps in computer science, thanks to the Raspberry Pi.

      Both of the authors of this book used computers in the 1980s, when the notion of a home computer first became a reality. Back then, computers were less friendly than they are today. When you switched them on, you were faced with a flashing cursor and had to type something in to get it to do anything. As a result, though, a whole generation grew up knowing at least a little bit about how to give the computer commands, and how to create programs for it. As computers started to use mice and windows, people didn’t need those skills any more, and they lost touch with them.

      That idea started a six-year journey that led to the Raspberry Pi you probably have on your desk you as you read this book. It was released in February 2012, and sold half a million units by the end of the quarter. By July 2017, there were more than 14 million Raspberry Pis in homes, schools, and workplaces, 10 million of them made in the UK. More than 30 million Raspberry Pi computers have now been sold. It is, by a large margin, the best-selling British computer of all time.

      Over the years, the Raspberry Pi has evolved, increasing its memory, improving its performance, and adding features. So which one should you get? Here’s an overview designed to help you decide.

      Raspberry Pi 4 Model B

      The Raspberry Pi 4 is the latest Raspberry Pi board. It features the following:

       Up to 8GB of memory

       Four USB ports (two USB 2 ports and two higher-speed USB 3 ports)

       Built-in Wi-Fi and Bluetooth and a Gigabit Ethernet port for a wired Internet or network connection

       A