گسترش رایانهٔ رزبری پای شما: ذخیرهسازی، چاپ، لوازم جانبی و اتصالات شبکه برای رزبری پای شما
Expanding Your Raspberry Pi : Storage, Printing, Peripherals, and Network Connections for Your Raspberry Pi
معرفی کتاب «گسترش رایانهٔ رزبری پای شما: ذخیرهسازی، چاپ، لوازم جانبی و اتصالات شبکه برای رزبری پای شما» (با عنوان لاتین Expanding Your Raspberry Pi : Storage, Printing, Peripherals, and Network Connections for Your Raspberry Pi) نوشتهٔ Mark Edward Soper، منتشرشده توسط نشر Apress : Imprint : Apress در سال 2017. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است.
Contents at a Glance 4 Contents 5 About the Author 13 About the Technical Reviewer 14 Chapter 1: Raspberry Pi System Anatomy 15 Model Overview 15 Common Features 16 Model A vs. Model B Boards 16 Model A Family 17 Model A 17 Model A+ 17 Model B Family 19 Model B (First Generation) 19 Model B+, Pi 2, and Pi 3 20 Zero 23 v1.2 vs. v.1.3 24 Pi Zero W 24 CPU and RAM 24 System-on-a-Chip (SoC) 24 CPU, RAM, and SoC Features 25 Ports 26 Board-Level Connectors 27 Integrated Network Features 27 Power Supplies 29 Summary 29 Chapter 2: The Distro Bunch 30 Raspbian 30 Raspbian with PIXEL Fast Facts 31 Raspbian Lite Fast Facts 33 Other Linux Distros Available with NOOBS 34 LibreELEC_R Pi 2 Overview and Fast Facts 34 Lakka_R Pi 2 Overview and Fast Facts 35 OSMC_P2 Overview and Fast Facts 36 RISC OS Overview and Fast Facts 37 Windows 10 IoT Core Overview and Fast Facts 38 Other Linux Distros Available with PINN 39 Arch Linux ARM 39 RetroPie 40 Using NOOBS 40 Installing an OS with NOOBS 40 Restarting NOOBS 41 Using PINN: An Alternative to NOOBS 43 Using BerryBoot 46 Installing BerryBoot 46 Installing an OS with BerryBoot 47 More Options for BerryBoot 50 Loading an OS with BerryBoot 51 Other Linux Distros for Raspberry Pi 51 FreeBSD 51 NetBSD 51 Fedora and CentOS 52 OpenWRT 52 Choosing the Best Distro for the Task 52 Creating Your Media 52 Windows 53 OSX (MacOS) 55 Linux 55 Summary 55 Chapter 3: Adding Mass Storage 56 Recommended Memory Card Types 56 Expanding a Partition on a Flash Memory Card 58 Determining the Current Partition Size (Parted) 59 Expanding the Partition Using Parted 60 Expanding the Partition with RootFS-Expand (CentOS) 60 Expanding the Partition Used by RISC OS 61 Connecting a USB Flash Drive or Memory Card 61 Mounting a Drive for Read/Write Access 63 Partitioning a Flash Memory Card or USB Drive 63 Formatting a Drive with ext4 File System 66 Adding and Using an External Hard Drive 66 Adding and Using a WDLabs Pi Drive 67 Wireless Drives 71 Troubleshooting 71 Incorrectly Formatted Media 71 Not Enough Power 72 Drive Can’t Be Mounted in Read/Write Mode 72 Summary 72 Chapter 4: Connecting to a Workgroup Network 73 Distro and Raspberry Pi Configuration 73 Connecting to a Windows Share with PIXEL 73 Connecting to a Windows Share from the Command Line with smbclient 76 Connecting to Different Workgroups 77 Connecting to an OSX (MacOS) Share from Raspbian PIXEL 77 Using Wireless Drives 79 Connecting to a SanDisk Connect Wireless Flash Drive 80 Connecting to a Seagate Wireless Plus Drive 81 Printing to a Network Printer 83 Configuring CUPS 84 Setting Printer Defaults 86 Testing Your Printer 87 Scanning with a Network Scanner 87 Raspberry Pi Linux Samba Server Configuration 87 Creating Local Users 88 Creating a Network User 89 Configuring smb.conf 89 Logging into the Raspberry Pi 91 Connecting to Raspberry Pi from an Android Device 92 Connecting to Raspberry Pi from an iOS Device 94 Troubleshooting 95 Summary 95 Chapter 5: Sharing an Internet Connection 96 Hardware Used in This Chapter 96 Configuring the Pi for Sharing (Hardware) 97 Configuring the Pi for Sharing (Software) 97 Planning the Network Configuration 98 Sharing a Wired Connection Using a Wireless Adapter 100 Sharing a Wireless Connection Using an Ethernet Port and Switch 104 Troubleshooting 109 Summary 109 Chapter 6: Setting Up a Print and Scan Server 110 Hardware Used in This Chapter 110 Connecting via USB 111 Selecting a Distro 111 Manual Connections to a Wireless Network 112 Installing and Using CUPS 114 Adding Users to the Print Administration Group 114 Configuring CUPS for Remote Administration 115 Logging into CUPS Remotely 115 Selecting and Configuring a Printer with CUPS 116 Installing Printer Drivers 118 Installing and Configuring Samba 119 Connecting to a Samba Print Server with Windows 120 Connecting to a Samba Print Server with MacOS (OSX) 124 Installing and Configuring SANE 126 Configuring SANE as a Server 127 Connecting to SANE from Windows 128 Connecting to SANE from MacOS (OSX) 129 Headless Boot 129 Connecting via SSH Using Windows 129 Troubleshooting 131 Summary 132 Chapter 7: Imaging and Video 133 Hardware Used in This Chapter 133 Connecting a Camera to the Camera Port 133 Swapping Cables for a Raspberry Pi Zero 135 Enabling the Camera Port 137 Using Raspivid to Capture Video 139 Raspivid Options and Examples 139 Playing Videos with OMXplayer 142 Converting Recordings with MP4Box 142 Using Raspistill to Take Photos 143 Taking Time-Lapse Photos with Raspistill 144 Viewing Raspistill Photo Metadata 145 Controlling the Raspberry Pi Camera with Python 146 Controlling Your Raspberry Pi Camera with Android or iOS 148 Using RaspiCAM Remote for Android 148 Using BerryCam for iOS 150 Using a Webcam with a Raspberry Pi 153 Using Fswebcam 153 Capturing Video or Stills Using Guvcview 154 Using RaspiCAM Remote with a Webcam 155 Connecting to an Image Scanner 156 Installing SANE with PIXEL, Other Linux GUIs 157 Using Simple Scan 158 Using Xscan 160 Troubleshooting 163 Raspberry Pi Camera Issues 163 Camera App Issues 164 Network Issues 164 Webcam Issues 164 Scanner Issues 164 Summary 165 Chapter 8: Media Serving 166 Hardware Used in This Chapter 166 Selecting a Distro 166 BerryBoot, WD PiDrive, and Media Serving 167 Using LibreELEC 170 Adding Media Files 172 Connecting to a PLEX Server with RasPlex 175 Troubleshooting 177 Network Settings 177 Audio Playback 177 Summary 177 Chapter 9: GPIO Anatomy and Applications 178 Hardware Used in This Chapter 178 What Can You Do with GPIO? 178 GPIO Pinouts 179 UART 179 I2C 179 SPI 179 Raspberry Pi GPIO Pin Numbering Schemes 180 BOARD 180 BCM 181 wiringPi 181 Programming the GPIO Interface 182 Using a Gertboard 182 Using a PiFace Control and Display Board 184 Using a Breadboard 187 Troubleshooting 192 Summary 192 Chapter 10: Taking Your Raspberry Pi on the Road 194 Power Usage 194 Configuring the Raspberry Pi for Minimal Power Consumption 195 Disabling HDMI 196 Disabling Onboard LEDs 196 Enabling Login and Control via TTY 197 Disabling USB Hub and Ethernet 199 Choosing a Power Source 200 Estimated Battery Runtimes 200 Car Chargers and Raspberry Pi 202 Using Intelligent Power Management Peripherals 203 MoPi Mobile Power for Raspberry Pi 203 LiFePO4wered/Pi 3 204 Sleepy Pi and Sleepy Pi 2 205 Comparing Power Management Products for Raspberry Pi 206 Troubleshooting 206 Summary 207 Index 208 Gain a deeper understanding of how Raspberry Pi works to get the results you want right in the palm of your hand. This book helps you understand the right connections and software to drive your Raspberry Pi into opening the worlds of programming, electronic experiments, system control, digital imaging, and the Internet of Things to you. You'll discover how to expand your Pi’s storage for bigger programs, use its onboard connections to interface with cameras and control devices, printers and scanners. You'll also see how to share information with Windows and Apple computers and mobile devices, and use it away from AC power. You’ll be able to turn any HDTV into a media player; stream and share files from desktop and mobile devices; use your Pi for image capture via camera or scanner; and more! Expanding Your Raspberry Pi is your guide to doing almost anything a bigger computer can do – if you’re ready for the challenge. What You'll Learn • Connect, use, and manage mass storage devices for greater versatility • Link with desktop, laptop, and mobile devices using the Pi’s built-in Wi-Fi and Bluetooth features • Share resources from your Pi with desktop and mobile devices • Capture video and still photos with your Pi Who This Book Is For Network administrators: Connect Raspberry Pi devices to other devices on a wired or wireless network for media streaming, file serving, or print serving Teachers: Use Raspberry Pi to teach students how to connect different types of computers and operating systems with each other. IT workers: Use Raspberry Pi with your existing printers, scanners, webcams, and home network
دانلود کتاب گسترش رایانهٔ رزبری پای شما: ذخیرهسازی، چاپ، لوازم جانبی و اتصالات شبکه برای رزبری پای شما