Details

Raspberry Pi Hardware Projects 2


Raspberry Pi Hardware Projects 2


1. Aufl.

von: Andrew Robinson, Mike Cook

4,99 €

Verlag: Wiley
Format: PDF
Veröffentl.: 12.11.2013
ISBN/EAN: 9781118723906
Sprache: englisch
Anzahl Seiten: 776

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

Beschreibungen

<p>Raspberry Pi is a UK Non Profit with the goal of creating a new generation of computer programmers. Observing how the UK Tech Industry was kickstarted by the availability in the 1980s of relatively cheap, very programmable computers such as the ZX81, the Commodore and the BBC Micro, the Raspberry Pi Foundation designed a £15/$25 computer which encourages the user to play and to learn. Although intended for schools, it has also been adopted by hackers and geeks, and a whole ecosystem of software and hardware is being built around the Pi. With a million boards now sold, the goal of the Foundation is well underway.</p>
<i>Introduction 1</i> <p><b>CHAPTER 1</b></p> <p><b>Computer-Controlled Slot Car Racing 3</b></p> <p>Obtaining a Slot Car Racer 4</p> <p>Hacking Your Slot Car Racer 4</p> <p>Testing Your Slot Car Racer Hack 6</p> <p>Getting the Player Input 7</p> <p>Making the Joystick Buttons 7</p> <p>Boxing It Up 12</p> <p>Joystick Testing 16</p> <p>The Software 18</p> <p>The Game 20</p> <p>Over to You 27</p> <p><b>CHAPTER 2</b></p> <p><b>Facebook-Enabled Roto-Sketch 29</b></p> <p>The Concept 30</p> <p>Rotary Encoder Types 30</p> <p>The Encoder Output 31</p> <p>Posting to Facebook 40</p> <p>Using Flickr 40</p> <p>The Final Roto-Sketch Program 44</p> <p>Creating a Symmetrical Pattern 50</p> <p>Over to You 56</p> <p><b>CHAPTER 3</b></p> <p><b>The Pendulum Pi, a Harmonograph 59</b></p> <p>The Concept 61</p> <p>The Hall Effect 61</p> <p>Enter the Arduino 63</p> <p>Putting It Together 64</p> <p>Smooth Swinging 69</p> <p>Electronics 71</p> <p>Programming the Arduino 76</p> <p>The Final Arduino Code 81</p> <p>Programming the Pi 89</p> <p>Using the Pendulum Pi 94</p> <p>Over to You   96</p> <p><b>APPENDIX A</b></p> <p><b>Getting Your Raspberry Pi Up and Running 97</b></p> <p>The Operating System 98</p> <p>Getting the OS on an SD Card 99</p> <p>Premade Cards  99</p> <p>Creating Your Own SD Card 100</p> <p>Connecting Your Raspberry Pi  104</p> <p>Connecting a Display 106</p> <p>Connecting via HDMI 107</p> <p>Connecting via DVI 107</p> <p>Connecting via VGA 109</p> <p>Connecting via Composite  109</p> <p>Connecting to a Network 110</p> <p>Booting the Operating System 111</p> <p>Powering Up!  113</p> <p>The Boot Process 114</p> <p>Starting the Graphical Desktop 114</p> <p>Starting a Terminal under X 115</p> <p>Troubleshooting 115</p> <p>Common Problems 115</p> <p>No Lights Come On 115</p> <p>Only the Red Light Comes On 116</p> <p>No Monitor Output 116</p> <p>Intermittent Problems 116</p> <p>Power Problems 116</p> <p>If You Need More Help 117</p> <p>Let the Fun Begin! 118</p> <p><b>APPENDIX B</b></p> <p><b>Introductory Software Project: The Insult Generator 119</b></p> <p>Running Your First Python Program 120</p> <p>Saving Your Program 123</p> <p>Generating an Insult 126</p> <p>Variables 126</p> <p>Strings 127</p> <p>Lists 127</p> <p>Functions 128</p> <p>Insult Your Friends by Name! 129</p> <p>Conditional Behaviour 131</p> <p>Create a Stream of Insults! 131</p> <p>Making Your Own Functions 131</p> <p>Creating Loops 132</p> <p>for Loop 133</p> <p>while Statement 134</p> <p>Putting It All Together 135</p>
<p><b>Dr Andrew Robinson</b> (Manchester, UK) worked at the University of Manchester School of Computer Science, where they have just launched the Great British Raspberry Pi Bake Off, a competition to get people making projects with the Pi. Andrew has quickly become a leading expert on the Pi and its astounding capabilities, including guest posts on raspberrypi.org, the official mouthpiece of Raspberry Pi. He is the creator of PiFace, which makes interfacing with the Raspberry Pi significantly easier. He is currently utilizing the Raspberry Pi as part of the team behind the BBC’s Springwatch.</p> <p><b>Mike Cook</b> is is the co-author of <i>Raspberry Pi For Dummies</i>. Mike is a veteran tech author and a freelance consultant for all things to do with Physical Computing. A former Lecturer in Physics at Manchester Metropolitan University, he has written more than three hundred computing and electronics articles for the pages of computer magazines since the 1980s. Mike patrols the forums as Grumpy Mike, though he is anything but!</p>

Diese Produkte könnten Sie auch interessieren:

Raspberry Pi Hardware Projects 1
Raspberry Pi Hardware Projects 1
von: Andrew Robinson, Mike Cook
PDF ebook
4,99 €
Upgrading and Fixing PCs For Dummies
Upgrading and Fixing PCs For Dummies
von: Andy Rathbone
PDF ebook
13,99 €