Raspberry Pi User Guide
Eben Upton
Gareth Halfacree
Raspberry Pi User
Guide
2nd Edition
Raspberry Pi User
Guide
2nd Edition
Eben Upton and Gareth Halfacree
This edition first published 2014
2014 Eben Upton and Gareth Halfacree
Registered office
John Wiley & 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 trademarks 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 the publisher is not
engaged in rendering professional services. If professional advice or other expert assistance is required, the services of a
competent professional should be sought.
Trademarks: Wiley and the Wiley logo are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates in
the United States and/or other countries, and may not be used without written permission. Raspberry Pi and the Raspberry Pi logo
are registered trademarks of the Raspberry Pi Foundation. All other trademarks are the property of their respective owners. John
Wiley & Sons, Ltd. is not associated with any product or vendor mentioned in the book.
Google DriveTM is a registered trademark of GoogleTM.
A catalogue record for this book is available from the British Library.
ISBN 978-1-118-79548-4 (Pbk); ISBN 978-1-118-79546-0 (ePDF); ISBN 978-1-118-79547-7 (ePub)
Set in 10 pt. Chaparral Pro by Indianapolis Composition Services
Printed simultaneously in Great Britain and the United States
Editorial and Production
VP Consumer and Technology Publishing Director Michelle Leete
Associate DirectorBook Content Management Martin Tribe
Associate Publisher Chris Webb
Executive Commissioning Editor Craig Smith
Senior Project Editor Sara Shlaer
Copy Editor Kathryn Duggan, Grace Fairley
Technical Editors Omer Kilic Mike Cook Russell Davis
Editorial Manager Jodi Jensen
Editorial Assistant Annie Sullivan
Publishers Acknowledgements Some of the people who helped bring this book to market include the following:
Marketing
Associate Marketing Director Louise Breinholt
Marketing Manager Lorna Mein
Marketing Assistant Polly Thomas
Composition Services
Compositor Erin Zeltner
Proofreader Wordsmith Editorial
Indexer: Potomac Indexing, LLC
For Liz, who made it all possible. Eben
For my father, the enthusiastic past, and my daughter, the exciting future. Gareth
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
Foundations relationships with its key suppliers and custom- ers. 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 Johns 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 User Guide alongside
project co-founder Eben Upton. Formerly a system administrator working in the education sector, Gareths 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.