Raspberry Pi For Dummies
Реклама. ООО «ЛитРес», ИНН: 7719571260.
Оглавление
McManus Sean. Raspberry Pi For Dummies
Introduction
About This Book
Why You Need This Book
Foolish Assumptions
Icons Used in This Book
Beyond the Book
Where to Go from Here
Part 1. Setting Up Your Raspberry Pi
Chapter 1. Introducing the Raspberry Pi
Getting Familiar with the Raspberry Pi
Figuring Out What You Can Do with a Raspberry Pi
Getting Your Hands on a Raspberry Pi
Determining What Else You Need
Chapter 2. Downloading the Operating System
Introducing Linux
Creating a NOOBS Card
Using Your NOOBS Card
Flashing an SD or MicroSD card
Chapter 3. Connecting Your Raspberry Pi
Inserting the SD Card
Connecting the Raspberry Pi Camera Module
Preparing Your Pi Zero or Zero W
Connecting a Monitor or TV
Connecting a USB Hub
Connecting a Keyboard and Mouse
Connecting Audio
Connecting to Your Router
Connecting the Power and Turning on the Raspberry Pi
Logging In
Configuring Your Raspberry Pi in Raspbian
Configuring Your Wi-Fi
Configuring Bluetooth Devices
Testing the Camera Module
Setting Up the Data Partition
Taking Your Next Steps with the Raspberry Pi
Part 2. Getting Started with Linux
Chapter 4. Using the Desktop Environment
Navigating the Desktop Environment
Using the Task Manager
Using File Manager
Browsing the Web
Sending and Receiving Email with Claws Mail
Using the Image Viewer
Using the Text Editor
Customizing the Desktop
Finding and Installing New Applications
Backing Up Your Data
Logging Out from PIXEL and Shutting Down
Chapter 5. Using the Linux Shell
Understanding the Prompt
Exploring Your Linux System
Understanding the Long Listing Format and Permissions
Slowing Down the Listing and Reading Files with the Less Command
Speeding Up Entering Commands
Using Redirection to Create Files
Creating Directories
Deleting Files
Using Wildcards to Select Multiple Files
Removing Directories
Copying and Renaming Files
Installing and Managing Software on Your Raspberry Pi
Managing User Accounts on Your Raspberry Pi
Learning More about Linux Commands
Customizing the Shell with Your Own Linux Commands
Shutting Down and Rebooting Your Raspberry Pi
Part 3. Using the Raspberry Pi for Both Work and Play
Chapter 6. Being Productive with the Raspberry Pi
Installing LibreOffice on Your Raspberry Pi
Working with LibreOffice on the Raspberry Pi
Chapter 7. Editing Photos on the Raspberry Pi with GIMP
Working with GIMP
Finding Out More about GIMP
Chapter 8. Playing Audio and Video on the Raspberry Pi
Setting Up Your Media Center
Navigating the Media Center
Adding Media
Playing Music
Playing Videos
Viewing Photos
Changing the Settings
Using a Remote Control
Turning Off Your Media Center
Playing Music in the Desktop Environment
Part 4. Programming the Raspberry Pi
Chapter 9. Introducing Programming with Scratch
Understanding What Programming Is
Working with Scratch
What's new in Scratch 2
Chapter 10. Programming an Arcade Game Using Scratch
Starting a New Scratch Project and Deleting Sprites
Changing the Background
Adding Sprites to Your Game
Drawing Sprites in Scratch
Naming Your Sprites
Controlling When Scripts Run
Using Random Numbers
Detecting When a Sprite Hits Another Sprite
Introducing Variables
Making Sprites Move Automatically
Fixing the Final Bug
Adding Scripts to the Stage
Duplicating Sprites
Playing Your Game
Adapting the Game’s Speed
Taking It Further with Scratch
Chapter 11. Writing Programs in Python
Working with Python
Creating the Times Tables Program
Creating the Chatbot Program
Chapter 12. Creating a Game with Python and Pygame Zero
Collecting Your Sounds and Images
Setting Up Your Folders
Creating and Running Your First Program
Exploring Pygame Zero Further
Chapter 13. Programming Minecraft with Python
Playing Minecraft
Preparing for Python
Using the Minecraft Module
Adapting the Program
Chapter 14. Making Music with Sonic Pi
Understanding the Sonic Pi Screen Layout
Playing Your First Notes
Using Note and Chord Names
Writing Shorter Programs
Composing Random Tunes Using Shuffle
Changing the Random Number Seed
Using List Names in Your Programs
Playing Random Notes
Experimenting with Live Loops
Using Samples
Adding Special Effects
Synchronizing with Your Drumbeat
Bringing It All Together
Next Steps with Sonic Pi
Part 5. Exploring Electronics with the Raspberry Pi
Chapter 15. Understanding Circuits
Discovering What a Circuit Is
Getting Familiar with the GPIO
Looking at Ready-Made Add-On Boards
Chapter 16. Taking Control of Your Pi’s Circuitry
Accessing Raspberry Pi’s GPIO Pins
Your First Circuit
Starting Out with a Dice Display
Pedestrian Crossing
Chapter 17. Lots of Multicolored LEDs
Making Colors
The Way Forward
Rainbow Invaders
Keepy Uppy
LEDs Galore
Chapter 18. Old McDonald's Farm and Other RFID Adventures
How RFID Work
Dressing Up a Paper Doll
Old McDonald's Farm
Part 6. The Part of Tens
Chapter 19. Ten Great Software Packages for the Raspberry Pi
Penguins Puzzle
FocusWriter
Mathematica
XInvaders 3D
Fraqtive
Tux Paint
Grisbi
Beneath a Steel Sky
Sense HAT Emulator
Brain Party
Chapter 20. Ten Inspiring Projects for the Raspberry Pi
One-Button Audiobook Player
Weather Station
Heart Rate Monitor
Electric Skateboard
T-Shirt Cannon
Panflute Hero
Magic Mirror
Pi in the Sky
Raspberry Turk
Sound Fighter
Appendix A. Troubleshooting and Configuring the Raspberry Pi
Troubleshooting the Raspberry Pi
Adjusting the Settings on Your Raspberry Pi
Fixing Audio Problems
Mounting External Storage Devices
Fixing Software Installation Issues
Troubleshooting Your Network Connection
Connecting Using SSH
About the Authors
Dedication
Author’s Acknowledgments
WILEY END USER LICENSE AGREEMENT
Отрывок из книги
The Raspberry Pi is at the forefront of the maker movement, where people make their own inventions using a mixture of traditional craft skills and modern coding and electronics knowledge. It's also given more and more people access to a computer that provides a gateway into programming, electronics, and the world of Linux – the technically powerful (and free) rival to Windows and Mac OS. As a supercheap computer, the Raspberry Pi is also being pressed into service in media centers and as a family computer for games, music, photo editing, and word processing.
Although the Raspberry Pi presents new opportunities to everyone, it can also be a daunting prospect. It comes as a bare circuit board, so to do anything with it, you need to add an operating system on an SD or microSD card and connect it up to a screen, mouse, and keyboard. To get started, you need to learn a few basics of Linux, or at least get acquainted with PIXEL, the graphical desktop. You might be a geek who relishes learning new technologies, or you might be someone who wants a new family computer to use with the children. In either case, Raspberry Pi For Dummies, 3rd Edition, helps you get started with your Raspberry Pi and teaches you about some of the many fun and inspiring things you can do with it.
.....
It also comes with Python (see Chapter 11), a professional programming language used by YouTube, Google, and Industrial Light & Magic (the special effects gurus for the Star Wars films), among many others.
It has GPIO pins on it that you can use to connect up your own circuits to the Raspberry Pi, so you can use your Raspberry Pi to control other devices and to receive and interpret signals from them. In Part 5, we show you how to build some electronic projects controlled by the Raspberry Pi.
.....