Raspberry Pi User Guide
Реклама. ООО «ЛитРес», ИНН: 7719571260.
Оглавление
Eben Upton. Raspberry Pi User Guide
Introduction
Programming Is Fun!
A Bit of History
So What Can You Do with the Raspberry Pi?
Part I. The Board
Chapter 1. Meet the Raspberry Pi
A Trip Around the Board
Model A/B
Model A+/B+
Raspberry Pi 2
Raspberry Pi 3
Raspberry Pi Zero
A Bit of Background
Chapter 2. Getting Started with the Raspberry Pi
Connecting a Display
Connecting Audio
Connecting a Keyboard and Mouse
Installing NOOBS on an SD Card
Connecting External Storage
Connecting the Network
Connecting Power
Installing the Operating System
Connecting Bluetooth Devices
Chapter 3. Linux System Administration
Linux: An Overview
Linux Basics
Introducing Raspbian
Using External Storage Devices
Creating a New User Account
Installing and Uninstalling Software
Shutting the Pi Down Safely
Chapter 4. Troubleshooting
Keyboard and Mouse Diagnostics
Power Diagnostics
Display Diagnostics
Boot Diagnostics
Network Diagnostics
Chapter 5. Network Configuration
Wired Networking
Wireless Networking
Chapter 6. The Raspberry Pi Configuration Tool
Running the Tool
The System Tab
The Interfaces Tab
Performance
Localisation
Chapter 7. Advanced Raspberry Pi Configuration
Editing Configuration Files via NOOBS
Hardware Settings: config.txt
Disabling L2 Cache
Memory Partitioning
Software Settings: cmdline.txt
Part II. Building a Media Centre or Productivity Machine
Chapter 8. The Pi as a Home Theatre PC
Playing Music at the Console
Dedicated HTPC with OSMC
Chapter 9. The Pi as a Productivity Machine
Using Cloud-Based Apps
Using LibreOffice
Image Editing with the Gimp
Part III. Programming the Pi
Chapter 10. An Introduction to Scratch
Introducing Scratch
Example 1: Hello World
Example 2: Animation and Sound
Example 3: A Simple Game
Interfacing Scratch with Hardware
Further Reading
Chapter 11. An Introduction to Python
Introducing Python
Example 1: Hello World
Example 2: Comments, Inputs, Variables, and Loops
Example 3: Gaming with pygame
Example 4: Python and Networking
Further Reading
Chapter 12. Minecraft Pi Edition
Introducing Minecraft Pi Edition
Installing Minecraft
Running Minecraft
Exploration
Hacking Minecraft
Part IV. Hardware Hacking
Chapter 13. Learning to Hack Hardware
Electronic Equipment
Reading Resistor Colour Codes
Sourcing Components
Moving Up from the Breadboard
A Brief Guide to Soldering
Chapter 14. The GPIO Port
Identifying Your Board Revision
GPIO Pinout Diagrams
GPIO Features
Using the GPIO Port in Python
Soldering the Raspberry Pi Zero's GPIO Header
Chapter 15. The Raspberry Pi Camera Module
Why Use the Camera Module?
Choosing a Camera Module
Installing the Camera Module
Enabling Camera Mode
Capturing Stills
Recording Video
Command-Line Time-Lapse Photography
Chapter 16. Add-On Hardware
Official Raspberry Pi Case
Raspberry Pi 7" Touchscreen Display
Sense HAT
Part V. Appendixes
Appendix A. Python Recipes
Raspberry Snake (Chapter 11, Example 3)
IRC User List (Chapter 11, Example 4)
GPIO Input and Output (Chapter 14)
Appendix B. Raspberry Pi Camera Module Quick Reference
Shared Options
Raspistill Options
Raspivid Options
Appendix C. HDMI Display Modes
Отрывок из книги
“CHILDREN TODAY ARE digital natives”, said a man I got talking to at a fireworks party. “I don’t understand why you’re making this thing. My kids know more about setting up our PC than I do.”
I asked him if they could program, to which he replied: “Why would they want to? The computers do all the stuff they need for them already, don’t they? Isn’t that the point?”
.....
There had been discussions at the University Computer Lab about the general state of computer education, and when I left the Lab for a non-academic job in the industry, I noticed that I was seeing the same issues in young job applicants as I’d been seeing at the University. So I got together with my colleagues Dr Rob Mullins and Professor Alan Mycroft (two colleagues from the Computer Lab), Jack Lang (who lectures in entrepreneurship at the University), Pete Lomas (a hardware guru), and David Braben (a Cambridge games industry leading light with an invaluable address book), and over beers (and, in Jack’s case, cheese and wine), we set up the Raspberry Pi Foundation – a little charity with big ideas.
In my new role as a chip architect at Broadcom, a big semiconductor company, I had access to inexpensive but high-performing hardware produced by the company with the intention of being used in what were then very high-end mobile phones – the sort with the HD video and the 14-megapixel cameras. I was amazed by the difference between the chips you could buy for $10 as a small developer, and what you could buy as a cell-phone manufacturer for roughly the same amount of money: general purpose processing, 3D graphics, video, and memory bundled into a single BGA package the size of a fingernail. These microchips consume very little power, and have big capabilities. They are especially good at multimedia, and were already being used by set-top box companies to play high-definition video. A chip like this seemed the obvious next step for the shape the Raspberry Pi was taking, so I worked on taping out a low-cost variant that had an ARM microprocessor on board and could handle the processing grunt we needed.
.....