Raspberry Pi

Sean McManus, 1973-

Book - 2021

A how-to manual for the Raspberry Pi computer. Learn how to set up LInux, learn about circuits, dip into Scratch and Python coding, or program Minecraft. With this edition, you'll discover the Raspberry Pi 400, Scratch 3, and the latest games and add-ons.

Saved in:

2nd Floor Show me where

004.16/McManus
1 / 1 copies available
Location Call Number   Status
2nd Floor 004.16/McManus Checked In
Subjects
Genres
Handbooks and manuals
Published
Hoboken, NJ : John Wiley & Sons, Inc [2021]
Language
English
Main Author
Sean McManus, 1973- (author)
Other Authors
Mike Cook (author)
Edition
4th Edition
Physical Description
xv, 488 pages : illustrations ; 24 cm
Bibliography
Includes index.
ISBN
9781119796824
  • Introduction
  • About 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
  • Introducing the Raspberry Pi Range
  • Raspberry Pi 4 Model B
  • Raspberry Pi 400
  • Raspberry Pi 3 Model A+
  • Raspberry Pi Zero
  • Older models
  • Figuring Out What You Can Do with a Raspberry Pi
  • Getting Your Hands on a Raspberry Pi
  • Determining What Else You Need
  • Essentials
  • Optional extras
  • Chapter 2. Downloading the Operating System
  • Introducing Linux
  • Imaging a microSD Card for Your Raspberry Pi
  • Choosing the Right Operating System for Your Raspberry Pi
  • Chapter 3. Connecting Your Raspberry Pi
  • Connecting Your Raspberry Pi
  • Setting Up Your Raspberry Pi
  • Configuring Your Raspberry Pi in Raspberry Pi OS
  • Changing Your Wi-Fi Settings
  • Configuring Bluetooth Devices
  • Connecting the Raspberry Pi Camera Module
  • Connecting the camera on a Pi Zero
  • Connecting the camera on other Raspberry Pi models
  • Testing the Camera Module
  • Connecting Using SSH
  • Connecting Using VNC
  • Part 2. Getting Started with Linux
  • Chapter 4. Using the Desktop Environment
  • Navigating the Raspberry Pi Desktop
  • Using the Applications menu
  • Running applications that are not on the menu
  • Resizing and closing application windows
  • Using the Task Manager
  • Using File Manager
  • Navigating File Manager
  • Copying and moving files and folders
  • Selecting multiple files and folders
  • Creating new folders and blank files
  • Deleting files and folders
  • Sorting files
  • Exploring your Raspberry Pi
  • Browsing the Web with Chromium
  • Searching within web pages
  • Using tabbed browsing
  • Adding and using bookmarks
  • Protecting your privacy
  • Sending and Receiving Email with Claws Mail
  • Using the Image Viewer
  • Using the Text Editor
  • Configuring Printers
  • Customizing the Desktop
  • Playing the Games
  • Finding and Installing New Applications
  • Backing Up Your Data
  • Logging Out and Shutting Down
  • Chapter 5. Using the Linux Shell
  • Understanding the Prompt
  • Exploring Your Linux System
  • Listing files and directories
  • Changing directories
  • Changing to the parent directory
  • Understanding the directory tree
  • Using relative and absolute paths
  • Checking file types
  • Investigating more advanced listing options
  • 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
  • Finding Files on Your Raspberry Pi
  • Installing and Managing Software on Your Raspberry Pi
  • Updating the cache
  • Finding the package name
  • Installing software
  • Running software
  • Upgrading the software
  • Removing software and freeing up space
  • Finding out what's installed
  • 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
  • Saving your work
  • Writing letters in LibreOffice Writer
  • Managing your budget in LibreOffice Calc
  • Creating presentations in LibreOffice Impress
  • Creating a party invitation with LibreOffice Draw
  • Chapter 7. Editing Photos on the Raspberry Pi with GIMP
  • Working with GIMP
  • Understanding the GIMP screen layout
  • Resizing an image in GIMP
  • Cropping your photo
  • Rotating and flipping your photo
  • Adjusting the colors
  • Fixing imperfections
  • Converting images between different formats
  • 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
  • Adding music
  • Adding videos
  • Adding pictures
  • Streaming media
  • Enjoying Your 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
  • Understanding the Scratch screen layout
  • Making your sprite move
  • Creating scripts
  • Changing your sprite's appearance
  • Adding sounds and music
  • Using the Wait block to slow down your sprite
  • Using extensions in Scratch
  • Saving your work
  • Chapter 10. Programming an Arcade Game Using Scratch
  • Starting a New Scratch Project and Deleting Sprites
  • Changing the Backdrop
  • Adding Sprites to Your Game
  • Drawing Sprites in Scratch
  • Naming Your Sprites
  • Controlling When Scripts Run
  • Using the green flag to start scripts
  • Using the Forever Control block
  • Enabling keyboard control of a sprite
  • Enabling a sprite to control another sprite
  • 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 Difficulty
  • Taking It Further with Scratch
  • Chapter 11. Writing Programs in Python
  • Working with Python
  • Entering your first Python commands
  • Using the shell to calculate sums
  • Creating the Times Tables Program
  • Creating and running your first Python program
  • Using variables
  • Accepting user input
  • Printing words, variables, and numbers together
  • Using for loops to repeat
  • Creating the Chatbot Program
  • Introducing lists
  • Using lists to make a random chat program
  • Adding a while loop
  • Using a loop to force a reply from the user
  • Using dictionaries
  • Creating your own functions
  • Creating the dictionary look-up function
  • Creating the main conversation loop
  • Final thoughts on Chatbot
  • The final 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
  • Detecting mouse clicks
  • Animating your actors
  • Using random numbers
  • Adding more clouds
  • Making the clouds regenerate
  • Enabling multiple clouds to be clicked
  • Adding the timer
  • Adjusting the game difficulty
  • The final game listing
  • Exploring Pygame Zero Further
  • Chapter 13. Programming Minecraft with Python
  • Playing Minecraft
  • Moving around
  • Making and breaking things
  • Preparing for Python
  • Using the Minecraft Module
  • Understanding coordinates in Minecraft
  • Repositioning the player
  • Adding blocks
  • Stopping the player from changing the world
  • Setting the maze parameters
  • Laying the foundations
  • Placing the maze walls
  • Understanding the maze algorithm
  • Setting up the variables and lists
  • Creating the functions
  • Creating the main loop
  • Adding a ceiling
  • Positioning the player
  • The final code
  • 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
  • Playing Timed Patterns
  • 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
  • Understanding the nature of electricity
  • Determining how a component needs to be treated
  • Getting Familiar with the GPIO
  • Putting the general purpose in GPIO
  • Understanding what GPlOs do
  • Putting an output pin to practical use
  • Using GPIOs as inputs
  • Learning which end is hot: Getting to grips with a soldering iron
  • Making a soldered joint
  • Looking at Ready-Made Add-On Boards
  • The Sense HAT
  • The Trill sensors
  • The LED SHIM
  • Other boards
  • Chapter 14. Taking Control of Your Pi's Circuitry
  • Accessing Raspberry Pi's GPIO Pins
  • Soldering the GPIO pins onto Pi Zero or Pi ZeroW
  • Getting at all the pins with one connector
  • Connecting things together
  • Your First Circuit
  • Bringing your LED to life
  • Using Scratch 3.0
  • Control the flashing speed with an input
  • Using Python
  • Using GPIO ZERO
  • Starting Out with a Dice Display
  • A dice display
  • The project
  • The numbers
  • The display
  • Taking it further
  • Pedestrian Crossing
  • The Pedestrian Crossing hardware
  • The Pedestrian Crossing software
  • Taking it further
  • Chapter 17. Lots of Multicolored LEDs
  • Making Colors
  • Using diffusers
  • Making more colors
  • The Way Forward
  • Bit-banging the APA102C protocol
  • Creating a class
  • Rainbow Invaders
  • Keepy Uppy
  • LEDs Galore
  • Current limits
  • Signals and memory
  • Display update
  • Getting more LEDs
  • Chapter 18. Old McDonald's Farm and Other RFID Adventures
  • How RFID Work
  • A MIFARE card's structure
  • A simple RFID jukebox
  • A better RFID jukebox
  • Taking it further
  • Dressing Up a Paper Doll
  • Runway time
  • Old McDonald's Farm
  • Making sound samples
  • Making the graphics
  • Part 6. The Part of Tens
  • Chapter 19. Ten Great Software Packages for the Raspberry Pi
  • Penguins Puzzle
  • FocusWriter
  • Mathematica
  • Fraqtive
  • Tux Paint
  • Grisbi
  • Beneath a Steel Sky
  • Brain Party
  • Pure Data
  • Inkscape
  • Chapter 20. Ten Inspiring Projects for the Raspberry Pi
  • One-Button Audiobook Player
  • Heartbeat Monitor
  • Smart Fridge
  • The Next Verse
  • Electric Skateboard
  • T-Shirt Cannon
  • Magic Mirror
  • Pi in the Sky
  • Raspberry Turk
  • Sound Fighter
  • Chapter 21. Ten Great Add-Ons for the Raspberry Pi
  • Picade
  • CamJam EduKit 3
  • Piano HAT
  • Rainbow HAT
  • Display-O-Tron HAT
  • Flick
  • Unicorn HAT HD
  • Inky pHAT
  • Pirate Audio
  • Witty Pi
  • Appendix: Troubleshooting and Configuring the Raspberry Pi
  • Index