costs less than most video games, but can be used to learn coding, build robots, and create all kinds of weird and wonderful projects. The Raspberry Pi is. Pi (Trading) Ltd does not accept responsibility for any injuries, damage to equipment, or costs incurred from projects, tutorials or suggestions in. Practical Raspberry Pi Projects 2nd ED Raspberry Pi Projects For Dummies is designed for people who are looking for Linux is the staple Load more similar.
|Language:||English, Spanish, Japanese|
|Genre:||Fiction & Literature|
|ePub File Size:||19.75 MB|
|PDF File Size:||12.13 MB|
|Distribution:||Free* [*Sign up for free]|
Raspberry Pi® Projects For Dummies®. Visit musicmarkup.info raspberrypiprojects to view this book's cheat sheet. Table of Contents. Cover. The Official Raspberry Pi Projects Book volume 4. GOPIGO 3. A very simple robot kit for beginners, with plenty of . PDF online from the website. Here are. The Official Raspberry Pi Projects Book. WELCOME Raspberry Pi Project Book has something to . Beginners' board for physical computing.
This eLinux page lists many variations. Later revisions of the various Pi models are equipped with a couple of mounting holes, which you can use to mount the Pi. A certain amount of planning will be required, and you will need to have the right equipment to hand to make the conversion possible. We show you the best DIY cases to protect your Pi. Read More. There are many more ways in which you can put your Pi in a case — this is just the tip of a very sweet and pastry-capped iceberg! Whichever case solution you use, make sure that it is sturdy, will protect the Raspberry Pi from knocks, and offer the necessary airflow for keeping the processor cool.
One option is to download a PiDrive , a hard disk produced by Western Digital. USB keyboard and mouse: pretty vital if you plan on entering any text or using the configuration menus. After the device has been connected and configure, you can use the USB ports for other purposes such as additional storage or wireless networking , instead of entering text commands via SSH. It may be small, but it is just as prone to damage from static electricity and knocks and blows — not to mention extremes of temperature — as any other computer.
As such, you should remove all jewelry and static-attracting garments nylon and other man-made fibers, as well as wool , handle the device in a clean, dust-free area with a solid, non-carpeted floor and make sure that you have clean hands and have earthed yourself.
Once your Raspberry Pi is suitably protected in its box or case, you can then continue to use it much as you would any other device. However, starting up and shutting down can prove problematic particularly the latter — see section 5.
Instead, you will need to rely on a Linux distribution. It continues to run as Read More , a cleverly named Debian port configured specifically for the Pi. Other distros can be downloaded and installed on the Pi, but the most interesting of these is Android. The following steps are for setting up the software on Windows. Full instructions for these platforms are available online. Read More should help here.
With both downloaded, unzip Win32 Disk Imager and insert your card into the card reader. Run the utility and select the correct drive letter check in Windows Explorer and click the file icon to browse to the directory where you have downloaded your latest Raspbian build.
To start installation, click Write and wait. When the process is complete you will be notified. Your Pi is ready to go! A command line version of the configuration tool is also available. When it comes to networking, we assume you already have a router set up with an Internet connection and a spare port that you can plug the Raspberry Pi into. Other than those assumptions, we hope this book is approachable for every- one.
The Raspberry Pi is being adopted in classrooms and youth groups, and this book is a useful resource for teachers and students. The Raspberry Pi is also finding its way into many homes, where people of all ages from children to adult are using it for education and entertainment. Many Raspberry Pi users spend most of their time in the desktop environment, but others want to dig deeper into Linux, learning how to enter text commands to manage the computer and its files.
The book also shows you how to do this, so you can exploit the full power of Linux. Scratch is highly visual and ideal for making games and anima- tions. After that, you learn Python, a more powerful programing language that comes with the Raspberry Pi.
You learn the basics of electronics theory, how to use a soldering iron, and how the Raspberry Pi can be connected to your own electronics circuits. This section builds on your knowledge of Python to show you how to make two electronic games controlled by the Raspberry Pi, Marble Slalom, and Copycat.
The last chapter in this part shows you how to make an analog-to-digital converter that you can use for a wide range of your own electronics projects. This part contains concise guides to great software you can install on your Raspberry Pi and inspiring projects you can make with it.
This gives you solutions for the most common problems people experience, and some guidance on directly editing the configuration files. Some chapters build on knowledge gained in earlier chapters, especially the sections on Scratch, Python, and all of Part V. We understand, though, that some projects or topics might interest you more than others, and you might need help in some areas right now.
In this book, we use four such icons: The Tip icon highlights expert shortcuts or simple ideas that can make life easier for you. As you would on the road, slow down when you see a warning sign.
It high- lights an area where things could go wrong. You can download the files used in the website design, programming, and electronics projects there.
That saves you having to retype them, and also gives you a sound base you can build on for your own projects. Occasionally, we have updates to our technology books. If this book does have technical updates, they will be posted at www. Both of us maintain our own personal websites too, which contain some additional information on the Raspberry Pi.
Although most of the computing devices we use including phones, tablets, and games consoles are designed to stop us from tinkering with them, the Raspberry Pi is exactly the opposite. From the moment you see its shiny green circuit board, it invites you to prod it, play with it, and create with it.
It comes with the tools you need to start making your own software or programming , and you can connect your own electronic inventions to it. Dave Akerman www. Professor Simon Cox and his team at the University of Southampton connected 64 Raspberry Pi boards to build an experimental supercomputer, held together with Lego bricks.
In the supercomputer see Figure , the Raspberry Pis work together to solve a single problem. The project has been able to cut the cost of a supercomputer from millions of dollars to thousands or even hundreds of dollars, making supercomputing much more accessible to schools and students.
The Pi is also being used at the frontier of exploration. The FishPi project www. London Zoo is looking at using the Raspberry Pi in a device to detect and photograph animals in their natural habitats, called EyesPi.
Getting Started with Raspberry Pi Figure Courtesy of Simon Cox and Glenn Harris, University of Southampton Although those projects are grabbing headlines, another story is less visible but more important: Both of the authors of this book used computers in the s, 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 any- thing.
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.
Students applying to study computer science started to have less expe- rience of programming than students of the past did. It had to be able to do other interesting things too so that people were drawn to use it, and had to be robust enough to survive being pushed in and out of school bags hundreds of times.
Introducing the Raspberry Pi 11 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 , and sold half a million units by the end of the quarter. Early in , it reached the milestone of one million sales. In an age when most computing devices are sleek and shiny boxes, the spiky Pi, with tiny codes printed in white all over it, seems alien.
Figure Up close with the Raspberry Pi. There are two versions of the Raspberry Pi: Getting Started with Raspberry Pi The Raspberry Pi was made possible in part by the advances in mobile com- puter chips that have happened in recent years.
The GPU is powerful enough to be able to handle Blu-ray quality video playback. Instead of being cre- ated within the heavily guarded walls of a company, with its design treated as a trade secret, Linux is built by companies and expert volunteers working together. Anyone is free to inspect and modify the source code a bit like the recipe that makes it work.
When you switch it on, it has a text prompt see Chapter 5 , but you can use a graphical windows desktop to start and manage programs. You can use it for browsing the Internet see Chapter 4 , word processing and spreadsheets see Chapter 6 , or for editing photos see Chapter 7.
You can use it for play- ing back music or video see Chapter 9 , or for playing games. You can use the built-in software to build a website see Chapter 8. It comes with Scratch see Chapter 10 , which enables people of all ages to create their own animations and games, while learning some of the core concepts of computer programming along the way. In Part V, we show you how to build some electronic games con- trolled by the Raspberry Pi.
Determining Its Limitations For something that costs so little, the Raspberry Pi is amazingly powerful, but it does have some limitations. Although you probably use it as a desktop computer, its power is closer to a mobile device like a tablet than a modern desktop PC. Both the Pentium 2 PC and the original Xbox were fine machines, of course, for their time. If you already have another computer, the Raspberry Pi is unlikely to usurp it as your main machine. Both companies fund and manage the manufacture of the Raspberry Pi, market and sell it, and look after their customers.
They accept orders through their websites and are able to offer a number of the accessories you might also need. Second-hand Raspberry Pis can be bought on site www. The Raspberry Pi has a high definition video feed and uses an HDMI high definition multimedia interface connection for it. A lot of cheap cables are just cables, when what you need is a device that converts the signal from HDMI format to VGA, not one that just fits into the sockets on the screen and your Raspberry Pi.
Introducing the Raspberry Pi 15 old television in the garage, you can also press it into service for your Raspberry Pi. When we tried this, it worked but the text lacked definition, which made it difficult to read. If a TV is your only option, see Appendix A for advice on tweaking the settings to get the clearest possible picture. And secondly, you should use a USB hub because it provides external power to your devices and minimizes the likelihood of experiencing problems using your Raspberry Pi.
You probably have some SD cards that you use for your digital camera, although you might need to get a higher capacity one. SD cards have differ- ent class numbers that indicate how fast you can copy information to and from them.
Many PCs today have a slot for SD cards so you can easily copy photos from your camera to your computer. Alternatively, you can download an SD card that has the recommended version of Linux already on it for use with the Raspberry Pi. A SD card preloaded with the Raspberry Pi operating system. USB keys also known as flash drives or memory sticks are fairly cheap and high capacity now a 64GB USB key is readily afford- able , which makes them an ideal complement to your Raspberry Pi. If you want lots of storage, perhaps so you can use your music or video collection with the Raspberry Pi, you can connect an external hard drive to it over USB.
The Raspberry Pi has a standard audio out socket, compatible with headphones and PC speakers that use a 3. You can plug your headphones directly into it, or use the audio jack to connect to speakers, a stereo, or a TV.
The Raspberry Pi uses a Micro USB connector for its power supply, and is theoretically compatible with a lot of mobile phone and tablet chargers. Introducing the Raspberry Pi 17 mouse from working. You can download plastic cases on site www. These cases typically come as simple kits for you to assemble. The Pibow www. You can go without or make your own see Chapter 3. Whatever case you go with, make sure you can still access the GPIO pins so you can experiment with connecting your Pi to electronic circuits and try the projects in Part V of this book.
The Pibow Raspberry Pi case. You can get these cables from an electrical components retailer and might be able to download them at the same time as you download your Raspberry Pi. Any other cables you need for example to connect to PC speakers or a USB hub should come with those devices.
The Raspberry Pi has been designed to be used with whatever accessories you having lying around to minimize the cost of getting started with it but, in practice, not all devices are compatible.
In particular, incompatible USB hubs, keyboards, and mice can cause problems that are hard to diagnose. A list of compatible and incompatible devices is maintained at http: In any case, you should set a little bit of money aside to spend on accessories. The Raspberry Pi is a cheap device, but downloading a keyboard, mouse, USB hub, SD cards, and cables can easily double or triple your costs, and you might have to resort to that if what you have on hand turns out not to be compatible.
With it, you can make your own cartoons and games and discover some of the concepts that professional programmers use every day. Scratch is designed to be approachable for people of all ages. The visual interface makes it easy to see what you can do at any time without having to remember any strange codes, and you can rapidly achieve great results.
Scratch comes with a library of images and sounds, so it only takes a few minutes to write your first Scratch program. In this chapter, we introduce you to Scratch so you can start to experiment with it.
In Chapter 11, we show you how to use Scratch to make a simple arcade game. A program is a repeatable set of instructions to make a computer do something, such as play a game.
Those instructions can be extremely complicated because they have to describe what the computer should do in detail. Even a simple bouncing-ball game requires instructions for drawing the ball, moving it in different directions, detecting when it hits something, and then changing its direction to make it bounce. Programming is the art and science of creating programs.
You can create programs in lots of different ways, and Scratch is just one of them.
Scratch and Python are both programming languages, different ways of writing instructions for the computer. Different programming languages are best suited for different tasks. Using Python to create games takes longer, but it is more powerful than Scratch and gives you much more flexibility in the type of things you can get the computer to do.
Starting Scratch You access Scratch from the desktop environment, so switch on your Raspberry Pi and then use startx to access it see Chapter 4 for a guide to using the desktop environment. To start Scratch, either double-click its icon on the desktop which shows the head of a smiley orange cat , or select it from your Programs menu in the bottom left of the screen.
You can find Scratch in the Programming folder. Understanding the Scratch Screen Layout Scratch divides the screen into four main areas, as you can see in Figure In the top right is the Stage, where you can see your game or animation take shape. The screen layout when you first start Scratch. See http: The bottom right area is your Sprite List.
You can think of sprites as the characters in your game. You create a Scratch program by snapping together blocks, which are short instructions. On the left, you can see the Blocks Palette, which currently shows the Motion blocks, which include instructions to move 10 steps, rotate, go to a particular grid reference, and point in a particular direction.
The tall middle panel is the Scripts Area. This is where the magic happens! You assemble your program in this space, by dragging blocks into it from the left. Programming the Raspberry Pi You can use two buttons in the top right indicated in Figure to toggle the size of the Stage between full and small. Imaginative play strengthens cognitive and social development in children. And in Lifelong Kindergarten, MIT professor Mitchel Resnick argues that schools, and institutions, should be organized more like playful Kindergarten classrooms, and less like automated learning factories.
He and his team created Scratch, the block-based, visual programming tool and online community for budding programmers of all ages.
Building on his experiences with the Scratch project and community, Resnick explores how playing, sharing, imagining, and inventing promotes critical thinking, problem-solving, and community sharing—all essential skills for learning and working in the 21st Century.
Resnick's book brims with stories of children programming all manner of elaborate projects—games, animations, and visual stories—all driven by passion and purpose. And readers will recognize an overlap with open source ideas and principles. For example, the online Scratch community promotes the sharing and remixing of student project source code—think GitHub for kids.
Lifelong Kindergarten is packed with ideas for educators and teachers. However, forward-looking leaders keen to optimize their teams for maximum creativity and innovation will discover inspiration in the wisdom of children. Python Crash Course by Eric Matthes I found myself easily following this fast-paced introduction to Python programming. This book will have you writing your own programs very quickly. Information is clearly presented in "byte-size" chunks and the book is full of examples and "Try-it-Yourself" sections after each concept introduction.