Home

Raspberry Pi® User Guide

image

Contents

1. and Technology Publishing Director Michelle Leete Associate Director Book Content Management Martin Tribe Associate Publisher Chris Webb Executive Commissioning Editor Craig Smith Assistant Editor Ellie Scott Project Editor Kathryn Duggan Copy Editor Kathryn Duggan Technical Editor Omer Kilic Editorial Manager Jodi Jensen Senior Project Editor Sara Shlaer Editorial Assistant Leslie Saxman Marketing Associate Marketing Director Louise Breinholt Marketing Manager Lorna Mein Senior Marketing Executive Kate Parrett Composition Services Compositor Erin Zeltner Proofreader Wordsmith Editorial Indexer BIM Indexing amp Proofreading Services About the Authors Eben Upton is a founder and trustee of the Raspberry Pi Foundation and serves as its Executive Director He is responsible for the overall software and hardware architecture of the Raspberry Pi and for the Foundation s relationships with its key suppliers and customers In an earlier life he founded two successful mobile games and middleware companies Ideaworks 3d Ltd and Podfun Ltd and held the post of 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 In his day job Eben works for Broadcom as an ASIC architect and general troublemaker Gareth Halfacree is a freelance technology journalist and the co author of the Raspberry Pi U
2. een seen 124 Installing WordPress al un ab hag riesigen 128 Part III Programming and Hacking CHAPTER 10 An Introduction to Scratch lees 135 Introducing 9 dep ridad eer teret eer dra eros LSO Example 1 Hello World he er RP ERR rennen hr LOT Example 2 Animation and Sound 2 2 ss eee eere eee ees AO Example 3 A Simple Game cso re 0 0 cece cece eect ete R R 143 Robotics R HR lt Sensing with the PicoBoard 1 49 Robotics with LEGO s ote pet wes bey bebe endet teat 00 Further Reading i 5 cs jad se e v ee aie RATRE o ae LSO CHAPTER 11 An Introduction to Python celle 151 Introducing Python ipod RI RR T ERGE RER TR ETES ser ER PX EIE RE 92 Example T Hello World cirio et I papae RR Reed dba paa Loe Example 2 Comments Inputs Variables and Loops 158 xiii
3. B dice 9 017 C18 Raspberry Pi Eben Upton Co creator of the Raspberry Pi Gareth Halfacree Raspberry Pi User Guide Y WILEY A John Wiley and Sons Ltd Publication Raspberry Pi User Guide This edition first published 2012 2012 Eben Upton and Gareth Halfacree Registered office John Wiley amp Sons Ltd The Atrium Southern Gate Chichester West Sussex PO19 8SQ United Kingdom For details of our global editorial offices for customer services and for information about how to apply for permission to reuse the copyright material in this book please see our website at www wiley com The right of the authors to be identified as the authors of this work has been asserted in accordance with the Copyright Designs and Patents Act 1988 All rights reserved No part of this publication may be reproduced stored in a retrieval system or transmitted in any form or by any means electronic mechanical photocopying recording or otherwise except as permitted by the UK Copyright Designs and Patents Act 1988 without the prior permission of the publisher Wiley also publishes its books in a variety of electronic formats Some content that appears in print may not be available in electronic books Designations used by companies to distinguish their products are often claimed as trademarks All brand names and prod uct names used in this book are trade names service marks trademarks or registered tra
4. Connecting a Keyboard and Mouse gR a aR RR TRR RR RR RR eee ee 17 Flashing th SD Card uo RE mene ener ots orate dE Or nan exe p e ema 19 Flashing trom Linux ne eu teres ae PEE her he Hae ME a 20 Plasing KOM OSKR oriri en eter e en RR REIR UR EROR EU RARE 21 Flashing from Windows 3 5 9 92 a 0 ea do 21 Connecting External Storage ur ra eue re ree e e eR pe d vnu 22 Connecting the Network pocos bi a ea 23 Wired Networking a ons ipa entente ecce e kuna o p US s 24 Wireless Networkingo s 230 ncehackeateas end esr oe RET ERE E TIRARA MN eed 25 COTTE CEU SOWIE MN 26 CHAPTER 2 Linux System Administration sss ss x s e cee eee ee ee ee ns 27 Linux At OVerVIeW erute H lees RN Raa RN treed isha ep ione Sh ls ib meg RE intr T 28 Linux Basi is a duet duly eda a Sueca utt e as 30 Introduciap Debian sce Ka main ete e e Re en ne EET RAD TRU on 30 Using External Storage Devices u nen teen ee a ERA RE RA 34 Creating a New User Account ensi en en rhe et en 36 Elle System Layout sein ee ea ee ern 37 Logical Layout xe ae oma wit anne nn pecie eevee RAR NLR 37 Physical layout c c e ehren en ss ne ee nl 39 Installing and Uninstalling Software vg sg g xa ag cece eee 40 Finding Software scd exe eng ue PES ae pda PERSE SOR DI Dive Fa king 41 Installing Software uns Dan Roue Remote iege ere nte RR DDR R S 42 Uninstalling Sofware casita ehe aba D te ds 43 Upgrading Sottware eoe t euet NER N ee E de Fe tee mete 44 xii RASPBE
5. RRY PI USER GUIDE CHAPTER 3 Troubleshooting eee tn nn 45 Keyboard and Mouse Diagnostics 2222222eseeseeseeeeeeneesenne nenn 46 Power Diagnostics 4 sca sty std e ree ee au d 47 Display Diagn sties uev yu on P RR RRTRR TET ER PR Ya C odo ex runs 49 Boot Diagnostics be dre orbe dy OR CAE Rag e Ree a tae iieri 50 Network Diagnostics seseorg di pan Ped ban hed bea biome PE QUIE CINES da 50 The Emergency Kernel cn T d o AW CRI e Ded a wala at 53 CHAPTER 4 Network Configuration xs s s e x lt e e cee eee eee eee ee eee 55 Wired Networking usage she Eb op Say b e deed 56 Wireless Networking serie ab re 59 No Encryption ied rb ande ae 68 WEP EnctyptiOns 20er ee nt 68 WPA WPAD Encryption 44 oor p eet pee ber bebe eed teda 69 Connecting to the Wireless Network aE 9 r a 9 r T R R T a ienas aiana 69 CHAPTER 5 Partition Management 5 5 2522 ee ee ee 71 Creating a New Partition ans nee ee a e RM eee Ree S Rhede e LRL un 72 Resizing Existing PartitiOnss oxide teet bee eec ein nee 76 Automatic RESIZING sou Drei eui meine A i o roe gU nue al e UR bc 76 Manual Resizihg un ir L N T a a ELE ROCHE He Ni EE pated nae ed editus 77 Moving to a Bigger SD Card aR RT Raga aR R R RRR KRA RR RRR R 81 Imaging E esce uut eot meque ERE ela FER DR I edes 82 imaging from OS Kr os ee E tdt ub n ono eno d ad 83 maging irom Windows ans tone bk ttr be ee ae 83 CHAPTER 6 Configuring the Raspberry Pi oooooooo
6. demarks of their respective own ers The publisher is not associated with any product or vendor mentioned in this book This publication is designed to provide accurate and authoritative information in regard to the subject matter covered It is sold on the understanding that he publisher is not engaged in rendering professional services If professional advice or other expert assistance is required he services of a competent professional should be sought Trademarks Wiley and the Wiley logo are trademarks or registered trademarks of John Wiley and Sons Ltd and or its affiliates in the United States and or other countries and may not be used without written permission Raspberry Pi and he Raspberry Pi logo are registered trademarks of the Raspberry Pi Foundation All other trademarks are the property of heir respective owners John Wiley amp Sons Ltd is not associated with any product or vendor mentioned in the book Google Drive is a registered trademark of Google A catalogue record for this book is available from the British Library ISBN 978 1 118 46446 5 pbk ISBN 978 1 118 46448 9 ebk ISBN 978 1 118 46447 2 ebk ISBN 978 1 118 46449 6 ebk Set in 10 pt Chaparral Pro by Indianapolis Composition Services Printed simultaneously in Great Britain and the United States Publisher s Acknowledgements Some of the people who helped bring this book to market include the following Editorial and Production VP Consumer
7. oooo o 85 Hardware Settings configtxt a a een E a eee bearer cee deen ened tes nest vans 86 Modifying the Display rerna bo vee eee em em m cds m hen 87 Boot ODEODS sx coo eite ay eden eed ena ens d nere ee SIE D be 90 Overclocking the Raspberry Pi nacht pres em rer et RR 0 91 Overclocking Settings a ri 92 Ovetvoltage Settings s cust nee ete e eene RA RR avn RD RU dn 93 Disabling T2 C che oic ek tran Berne vee IR ERR PUE d heeded 94 Enabling Test Mode u ees Slee See D ua oerte ha bx rede Dep yea 95 Memory Partitioning start elf ann ee ke ug an 96 Software Settings cmdline txt TT 97 TABLE OF CONTENTS Part II Using the Pi as a Media Centre Productivity Machine and Web Server CHAPTER 7 The Pi as a Home Theatre PC oo o 103 Playing Music at the Console esses esee taces pale e had Fee ovd Poe rn 104 Dedicated HTPC with Rasbmc S 9 an aR aR aR RRR R R eee eee 106 Streaming Internet Media ad ii pes cadens IA RR qe 108 Streaming Local Network Media aR aada a Rg eia R RRR eee es 109 Configuring Rasbme aussen ei da des bes ed rele sa d na d ed add es 111 CHAPTER 8 The Pi as a Productivity Machine 2c ee eee eee 113 Using Cloud Based Apps oe bre teet mere eee sede etes 114 Using Op nOffice Og esce nt m eene a madd pere e nacen aded 117 Image Editing with The Gimp iiec eek 9 ee an 119 CHAPTER 9 The Pi as a WebServer eee 123 Installing a LAMP Stack es an ie
8. ser Guide alongside project co founder Eben Upton Formerly a system administrator working in the education sector Gareth s passion for open source projects has followed him from one career to another and he can often be seen reviewing documenting or even contributing to projects including GNU Linux LibreOffice Fritzing and Arduino He is also the creator of the Sleepduino and Burnduino open hardware projects which extend the capabilities of the Arduino electronics prototyping system A summary of his current work can be found at http freelance halfacree co uk For Liz who made it all possible Eben For my father the enthusiastic past and my daughter the exciting future Gareth Table of Contents Introduction 45 492 4499202559 499v 9 o RR RAI kan aa 1 Programming is fun si nes cache odes soa OM ne Rane 1 A Dit OP E erer ea Rieck ee Bee P eue utente a a eg arp eden s 3 So what can you do with the Raspberry Pi eea ge RRR eee 8 Part I Connecting the Board CHAPTER 1 Meet the Raspberry Pi celere 11 ARMS AO IA ei ET ARE E a aa pU ee 12 Windows vs Linux u a aan ie Ew pe 13 Getting Started with the Raspberry P aaea gaa RRR RRR RRR eese 14 Connecting a Display cn ann Base an ese eine ne en auntie RL AURA 14 Composite Videos ansehen aan poe ber ni ehe 14 HDMI Video Mn ee epi el it a Mi al 8 oie Brenners fee 15 DSI Video EUR 16 Connecting AUdO c cer Bien gr esae an anne einer aides RER n ong 16

Download Pdf Manuals

image

Related Search

Related Contents

  ASSMANN Electronic AK-440205-018-S power cable  Mode d`emploi ARC 6980  PET User Manual  Master Parts Book 2014  EM-2511 取扱説明書  

Copyright © All rights reserved.
Failed to retrieve file