Details

Raspberry Pi User Guide


Raspberry Pi User Guide


3. Aufl.

von: Eben Upton, Gareth Halfacree

14,99 €

Verlag: Wiley
Format: PDF
Veröffentl.: 25.08.2014
ISBN/EAN: 9781118921685
Sprache: englisch
Anzahl Seiten: 312

DRM-geschütztes eBook, Sie benötigen z.B. Adobe Digital Editions und eine Adobe ID zum Lesen.

Beschreibungen

<p><b>The “unofficial official” guide to the Raspberry Pi, complete with creator insight</b></p> <p><i>Raspberry Pi User Guide, 3<sup>rd</sup>Edition</i> contains everything you need to know to get up and running with Raspberry Pi. This book is the go-to guide for Noobs who want to dive right in. This updated third edition covers the model B+ Raspberry Pi and its software, additional USB ports, and changes to the GPIO, including new information on Arduino and Minecraft on the Pi. You’ll find clear, step-by-step instruction for everything from software installation and configuration to customizing your Raspberry Pi with capability-expanding add-ons. Learn the basic Linux SysAdmin and flexible programming languages that allow you to make your Pi into whatever you want it to be.</p> <p>The Raspberry Pi was created by the UK Non-profit Raspberry Pi Foundation to help get kids interested in programming. Affordable, portable, and utterly adorable, the Pi exceeded all expectations, introducing millions of people to programming since its creation. The <i>Raspberry Pi User Guide, 3<sup>rd</sup> Edition</i> helps you and your Pi get acquainted, with clear instruction in easy to understand language.</p> <ul> <li>Install software, configure, and connect your Raspberry Pi to other devices</li> <li>Master basic Linux System Admin to better understand nomenclature and conventions</li> <li>Write basic productivity and multimedia programs in Scratch and Python</li> </ul> <ul> <li>Extend capabilities with add-ons like Gertboard, Arduino, and more</li> </ul> <p>The Raspberry Pi has become a full-fledged phenomenon, popular with tinkerers, hackers, experimenters, and inventors. If you want to get started but aren’t sure where to begin, <i>Raspberry Pi User Guide, 3<sup>rd</sup> Edition</i> contains everything you need. </p>
<p>Introduction 1</p> <p><b>Part I</b></p> <p><b>CHAPTER 1 Meet the Raspberry Pi 13</b></p> <p>A Trip Around the Board 13</p> <p>Model A 15</p> <p>Model B 16</p> <p>Model B+ 16</p> <p>A History of Model B PCB Revisions 18</p> <p>Revision 1 18</p> <p>Revision 2 18</p> <p>Model B+ 18</p> <p>A Bit of Background 19</p> <p>ARM versus x86 19</p> <p>Windows versus Linux 20</p> <p><b>CHAPTER 2 Getting Started with the Raspberry Pi 23</b></p> <p>Connecting a Display 24</p> <p>Composite Video 24</p> <p>HDMI Video 25</p> <p>DSI Video 26</p> <p>Connecting Audio 26</p> <p>Connecting a Keyboard and Mouse 27</p> <p>Installing NOOBS on an SD Card 29</p> <p>Connecting External Storage 30</p> <p>Connecting the Network 31</p> <p>Wired Networking 32</p> <p>Wireless Networking 33</p> <p>Connecting Power 35</p> <p>Installing the Operating System 36</p> <p>Installing Using NOOBS 36</p> <p>Installing Manually 38</p> <p>Flashing from Linux 39</p> <p>Flashing from OS X 40</p> <p>Flashing from Windows 40</p> <p><b>CHAPTER 3 Linux System Administration 43</b></p> <p>Linux: An Overview 43</p> <p>Linux Basics 45</p> <p>Introducing Raspbian 46</p> <p>About Raspbian’s Parent, Debian 51</p> <p>Alternatives to Raspbian. 51</p> <p>Using External Storage Devices 52</p> <p>Creating a New User Account 54</p> <p>File System Layout 55</p> <p>Logical Layout 55</p> <p>Physical Layout 57</p> <p>Installing and Uninstalling Software 57</p> <p>Obtaining Software from the Pi Store 57</p> <p>Obtaining Software from Elsewhere 59</p> <p>Finding the Software You Want 61</p> <p>Installing Software 62</p> <p>Uninstalling Software 63</p> <p>Upgrading Software 63</p> <p>Shutting the Pi Down Safely 64</p> <p><b>CHAPTER 4 Troubleshooting 65</b></p> <p>Keyboard and Mouse Diagnostics 65</p> <p>Power Diagnostics 66</p> <p>Display Diagnostics 68</p> <p>Boot Diagnostics 68</p> <p>Network Diagnostics 69</p> <p>The Emergency Kernel 72</p> <p><b>CHAPTER 5 Network Configuration 75</b></p> <p>Wired Networking 75</p> <p>Wireless Networking 78</p> <p>Installing Firmware 79</p> <p>Connecting to a Wireless Network via wpa_gui 82</p> <p>Connecting to a Wireless Network via the Terminal 85</p> <p>No Encryption 90</p> <p>WEP Encryption 90</p> <p>WPA/WPA2 Encryption 90</p> <p>Connecting to the Wireless Network 91</p> <p><b>CHAPTER 6 The Raspberry Pi Software Configuration Tool 93</b></p> <p>Running the Tool 94</p> <p>The Setup Options Screen 94</p> <p>1 Expand Filesystem 95</p> <p>2 Change User Password. 95</p> <p>3 Enable Boot to Desktop/Scratch 96</p> <p>4 Internationalisation Options 96</p> <p>I1 Change Locale. 97</p> <p>I2 Change Timezone 97</p> <p>I3 Change Keyboard Layout 98</p> <p>5 Enable Camera 98</p> <p>6 Add to Rastrack 98</p> <p>7 Overclock 99</p> <p>8 Advanced Options .100</p> <p>A1 Overscan .101</p> <p>A2 Hostname .101</p> <p>A3 Memory Split .102</p> <p>A4 SSH .103</p> <p>A5 SPI .103</p> <p>A6 Audio .103</p> <p>A7 Update .103</p> <p>9 About raspi-config .104</p> <p><b>CHAPTER 7 Advanced Raspberry Pi Configuration 105</b></p> <p>Editing Configuration Files via NOOBS .105</p> <p>Hardware Settings—config.txt .107</p> <p>Modifying the Display .108</p> <p>Boot Options .111</p> <p>Overclocking the Raspberry Pi .112</p> <p>Overclocking Settings .113</p> <p>Overvoltage Settings .114</p> <p>Disabling L2 Cache .115</p> <p>Enabling Test Mode .116</p> <p>Memory Partitioning .117</p> <p>Software Settings—cmdline.txt .117</p> <p><b>Part II</b></p> <p><b>CHAPTER 8 The Pi as a Home Theatre PC 123</b></p> <p>Playing Music at the Console .123</p> <p>Dedicated HTPC with Raspbmc .126</p> <p>Streaming Internet Media .127</p> <p>Streaming Local Network Media .129</p> <p>Configuring Raspbmc .131</p> <p><b>CHAPTER 9 The Pi as a Productivity Machine 133</b></p> <p>Using Cloud-Based Apps .134</p> <p>Using LibreOffice .136</p> <p>Image Editing with the Gimp .138</p> <p><b>CHAPTER 10 The Pi as a Web Server 141</b></p> <p>Installing a LAMP Stack .142</p> <p>Installing WordPress .145</p> <p><b>Part III</b></p> <p><b>CHAPTER 11 An Introduction to Scratch 153</b></p> <p>Introducing Scratch .153</p> <p>Example 1: Hello World .154</p> <p>Example 2: Animation and Sound .158</p> <p>Example 3: A Simple Game .161</p> <p>Robotics and Sensors .167</p> <p>Sensing with the PicoBoard .167</p> <p>Robotics with LEGO .167</p> <p>Further Reading .168</p> <p><b>CHAPTER 12 An Introduction to Python 169</b></p> <p>Introducing Python .169</p> <p>Example 1: Hello World .170</p> <p>Example 2: Comments, Inputs, Variables and Loops .175</p> <p>Example 3: Gaming with pygame .179</p> <p>Example 4: Python and Networking .188</p> <p>Further Reading .194</p> <p><b>CHAPTER 13 Minecraft Pi Edition 195</b></p> <p>Introducing Minecraft Pi Edition .195</p> <p>Installing Minecraft .196</p> <p>Running Minecraft .197</p> <p>Exploration .199</p> <p>Hacking Minecraft .200</p> <p><b>Part IV</b></p> <p><b>CHAPTER 14 Learning to Hack Hardware 207</b></p> <p>Electronic Equipment .208</p> <p>Reading Resistor Colour Codes .210</p> <p>Sourcing Components .210</p> <p>Online Sources .211</p> <p>Offline Sources .212</p> <p>Hobby Specialists .213</p> <p>Moving Up from the Breadboard .214</p> <p>A Brief Guide to Soldering .217</p> <p><b>CHAPTER 15 The GPIO Port 223</b></p> <p>Identifying Your Board Revision .223</p> <p>GPIO Pinout Diagrams .224</p> <p>GPIO Features .226</p> <p>UART Serial Bus .227</p> <p>I²C Bus .227</p> <p>SPI Bus .228</p> <p>Using the GPIO Port in Python .228</p> <p>GPIO Output: Flashing an LED .228</p> <p>GPIO Input: Reading a Button .233</p> <p><b>CHAPTER 16 The Raspberry Pi Camera Module 237</b></p> <p>Why Use the Camera Module? .238</p> <p>Installing the Camera Module .239</p> <p>Enabling Camera Mode .242</p> <p>Capturing Stills .244</p> <p>Recording Video .246</p> <p>Command-Line Time-Lapse Photography .247</p> <p><b>CHAPTER 17 Add-On Boards 255</b></p> <p>Ciseco Slice of Pi .255</p> <p>Adafruit Prototyping Pi Plate .259</p> <p>Fen Logic Gertboard .262</p> <p><b>Part V</b></p> <p><b>APPENDIX A</b></p> <p>Python Recipes 269</p> <p>Raspberry Snake (Chapter 12, Example 3) .269</p> <p>IRC User List (Chapter 12, Example 4) .272</p> <p>GPIO Input and Output (Chapter 15) .273</p> <p><b>APPENDIX B</b></p> <p>Raspberry Pi Camera Module Quick Reference 275</p> <p>Shared Options .275</p> <p>Raspistill Options .278</p> <p>Raspivid Options .279</p> <p>Raspiyuv Options .280</p> <p><b>APPENDIX C</b></p> <p>HDMI Display Modes 281</p> <p>Index. 287</p>
<p><b>Eben Upton</b> is a founder of the Raspberry Pi Foundation and serves as the CEO of Raspberry Pi (Trading), its commercial arm. In an earlier life he founded two mobile games companies and was Director of Studies for Computer Science at St John’s College, Cambridge. He holds a BA, a PhD and an MBA from the University of Cambridge.</p> <p><b>Gareth Halfacree</b> is a freelance technology journalist and the co-author of the <i>Raspberry Pi User Guide</i> alongside project co-founder Eben Upton. Gareth can often be seen reviewing, documenting or even contributing to projects, including GNU/Linux, LibreOffice, Fritzing and Arduino.</p>
<p/><b>The fully updated guide to the revolutionary Raspberry Pi <sup>®</sup></b> <p/><i>Raspberry Pi User Guide, Third Edition</i> is a fully updated and comprehensive introduction to the Raspberry Pi and its wide array of hardware configurations, programming languages and educational applications. Written by Raspberry Pi co-creator Eben Upton and respected tech author Gareth Halfacree, this popular best seller is the perfect resource for new Pi users and curious hackers alike who want to explore the seemingly endless possibilities of this revolutionary computer. With nearly three million units already sold, there has never been a better time to get up and running with the Raspberry Pi. This completely updated third edition covers how to: <lu/> <li/>Utilise the features of the new Model B+ board, the latest build of the Raspberry Pi <li/>Connect the Raspberry Pi to other devices–keyboard, mouse, monitor <li/>Install the necessary software and configure the Raspberry Pi <li/>Set up the Raspberry Pi as a simple productivity machine and multimedia centre <li/>Write basic programs in Scratch and Python <li/>Extend the Pi’s capabilities with add-on boards such as the Gertboard <lu/> <p/><i>Raspberry Pi User Guide, Third Edition</i> covers the latest updates, models and innovative applications of the miniature marvel and has earned the distinction of the Unofficial Official Guide to the Raspberry Pi.

Diese Produkte könnten Sie auch interessieren: