ebook img

The Raspberry Pi annual 2018 PDF

80 Pages·2017·16.356 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview The Raspberry Pi annual 2018

THE p ber s r a y R P i A N NUAL 201 8 80 Pages of fun Raspberry Pi stuff for kids! What’s inside? MINECRAFT l SCRATCH l PUZZLES l COMIC & MORE! First published in 2017 by Raspberry Pi Trading Ltd, Station Road, Cambridge, CB1 2JH Publishing Director: Russell Barnes • Editor: Nick Roberts (Monkey Creative) Design: Monkey Creative, Critical Media • Illustrations: Sam Alder Sub Editors: Phil King, Jem Roberts • CEO: Eben Upton ISBN: 978-1-912047-70-3 Printed in Lithuania The publisher, and contributors accept no responsibility in respect of any omissions or errors relating to goods, products or services referred to or advertised in this book. Except where otherwise noted, the content of this book is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0) This book belongs to… Welcome n t s e t n o C w i t h Raspberry Pi fun and games! P a c k e d Basics Check off all your kit, set up your Raspberry Pi, and install the software for fun! Starting page 6 Comic The evil Doctor Bluescreen is uploading all the kids. Can the Pi Crew save the day? Starting page 51 RaWarseoCp’uvabenne dh ry ritodyhud Pe se ibp nlooo 1ogt2ko .s them all? 4 The Raspberry Pi Annual 2018 What’s Inside n t s e t n Coding o C Features Begin with Scratch and move on to Python w i t h Raspberry Pi fun and games! with ouprr ofujenc Ptsi c! oding 6 GWaneed th itenilnsptg ayl olS utht saee rstt ouefptdw yaoruer yRoaus pwbilel rnrey ePdi P a c k e d Starting page 14 4 Scratch: Learn the Basics 1 Use Scratch’s drag-and-drop coding interface to bring your Pi to life Scratch: Physical Computing 8 1 Taking Scratch to the next level, we show you how to work with pins Scratch: The Santa Detector 6 2 Set up a trap to catch old St Nick on Christmas Eve, with help from Pi Coding with Minecraft 2 3 Your Raspberry Pi can be used to code direct to the game – great fun Babbage versus Bugs 2 4 Code our exciting Space Invaders clone Puzzles written in Python with Pygame Zero. Pi Personality Test 8 4 Test your brains with Test your thoughts on Raspberry Pi our Pi Wordsearch, and find out what type you are! Spot the Differences, Maze and more! Comic Capers 1 5 Starting page 13 The Pioneers of Pi come together to save the kids from Doctor Bluescreen Python: Turtley Amazing 4 6 First steps into Python coding with the ever-popular Turtle commands Python: WhooPi Cushion 0 7 We show you how to make and code a farting cushion with your Pi! 5 The Raspberry Pi Annual 2018 Feature g n i t t e G … d e t r a t S B r i n g i ng your Raspberr y W Phai tt yoo lui fweil!l learn GwwmasWoonahtaneid okat dw iw ianRenciirgnaglcfl s gufe ssop sluyor bswr oooeyeunorro yrr i uhhelyod.soa uP L wvoy eihefo ?tt ac u’oyGsvo o wrpegmuel eiauarplt lltg Pul !sn titTtt iehhaanhereedgetdm vecr ,fe eda auan’b snnbltl ldayue i s rne . lll s Hc HyH oooooofruwwtwrwre tsItcPtanoohotri l ot decyashw oo deyibsw nlovyee enbunofcneeo lutwogctr …tuaeiithnl rd leyee n nvoa ereeunirgers dsydh’ ttfstaeh eearitntqt uugupr itep ot mwhgeeee tnwhtei lflro r up and running… What you will need Wdeet’areil ,g bouint gh etore e axrpel athine e baictsh a inn d pieces of tech you need… l Raspberry Pi l Monitor or TV l HDMI cable l USB keyboard l USB mouse l Power supply l microSD card 6 The Raspberry Pi Annual 2018 Getting Started . 1 g n i t e t The Raspberry Pi G d … The Raspberry Pi 3 is the third version e t a r of Raspberry Pi. It replaced the t S Raspberry Pi 2 Model B in February 2016. New features include… l A 1.2GHz 64-bit quad-core B r i n g i ng your Raspberry Pi to life! lll A 8 BB 0Rlluu2Mee.1ttvoo18noo tCtWhhP i4LUro.e1wle sEsn LeArgNy (BLE) Like the Pi 2, it also has… l 4 USB ports l 40 GPIO pins l F ull HDMI port l E thernet port l Combined 3.5 mm audio jack and composite video l C amera interface (CSI) l Display interface (DSI) l m icroSD card slot (now push-pull rather than push-push) l VideoCore IV 3D graphics core The Raspberry Pi 3 looks the same as the previous Pi 2 (and Pi 1 Model B+) and has complete compatibility with Raspberry Pi 1 and 2. . 2 Monitor or TV A monitor or TV with HDMI in can be used as a display with a Raspberry Pi. This is the quickest and easiest way to see what your Pi is thinking. How big a screen you want is up to you! 7 The Raspberry Pi Annual 2018 Feature . 3 HDMI to HDMI Cable Cano nHnDeMctI ycoaubrl eR.a Ist’pllb geirvrey yPoiu t og rae mato-qnuitaolrit oyr p TicVt uwrietsh. . 4 USB Keyboard 5 . AiPdnpai rinoUtled.ao tncSdAyo ’oaitB n tk t giny cheokn eoeynkeiem sbeyaRdeoyblpa dbadoaus ror awptsdiearvbphsdrreee, de wrirlc.n sarw iiS ylapuilit i lltsPm w loso eiwopt pndaar ole oknrytr.tor dk swp P a , ili ulin ustutR pphogsga.uo h -yostuaoopn tntuube edal exd-nrt yb ry e USB Mouse A USB mouse is used to move the cursor or mouse pointer around the screen. It’s called a mouse as it looks like it has a tail! Like the keyboard, it will be automatically recognised by the Pi when plugged in. . 6 Power Supply I5attcyfoh s hoVy e bauol, o eror2ugw ffip.’sre5 eoaar c ,wAfsu ieta esh1p lari. eon R2ns wgk aduA ies panw.rp pd IRhsbdl yuauieec sspraphrpeplry ldboply yP ver,b. oir yidyE rvopy eaimuod srP wel awitisee nha3 rryee n, m snttmru hoiotgopeoudhbnp geuti lh lilysvste ,eo’p scod lo atarrewa enpvygce ioobceoruw ee mta osecpnm.r a otd Ysnhew ouc enueuup dPsr rpeederil.eddo y aYn ut nwot5hs euh( aiVe5 nitccd gVmyah to na oi/yuc boc1cr uouu.uh2s yr eUk–re cenS2 akno.B 5twt h A a)t. 8 The Raspberry Pi Annual 2018 Getting Started 7 . microSD Card You will need to install an operating system on to your Pi so it knows what to do. The latest version of cfRoaarrs dtph. beNi aoRnta ,as tlphl bSee Ddrr ecyfa aPrudi,ls tn oaepreeed rtsah taeinn s g8a mGsyBes ,(t oaenrm db risgeogcmoemre) mmcaeincnr dfoaeSidlD tmheo roeffi thcaianl oPtih SeDrs .c Iafr dyosu. A’ren yu n8sGuBr eS, Dy ocua rcda nw ialll wwaoyrsk .buy . 8 Plugging in your Raspberry Pi 12.. BR Neaegsxiptn,b pbeylrur pyg l Paycoi.iu nItrg wk yeiolylu boron malyrid cfi rato noSdnD em c woauardys ,ei ns iotno ty otoh tueh ceSa UDn S’ctB ag repdto sirtlto swt o roonnn t gthh.ee 3. R Maaskpeb seurrrye Pthi.a Tt hyeoyu rw millo bneit oaru toorm TaVt iicsa tlulyrn reedc oognn, iasnedd .that you have 456... s C IEt Wcfehot oylhehnero eerncUuerntenSc e icyetnBdtlotty etypu,ch noo’careuderob t r rnlsth ieoHng a ( iehuDpcnctnopMt toilny neIt n tshptchheseuaeca tbym tt E(lo eeyytiucoh. ofg rueuhro.orr a Hhn mUvRaeDeSa vty M sBaeopp IuoRpp b1rrloaeu t,Rws ,rgH rpoaegyDbsrre MpePcsdrboiu Ir a etnyp2olrn pl,rP tetylehiyhc t.P3eect T ,i )ai c .wnht aoWithsbe yi ilrcaFeonhcsiue t drtdai ,oomo npnnedol gsuw nSlngeiiDl’t tlaot otcnnru ae oorrenrndd eT o i inVnot) . f. and boot your Raspberry Pi. 1 2 6 4 9 The Raspberry Pi Annual 2018 Feature . 9 Connecting to the Internet Yloocua wl nilel tpwroobrka bolry t hwea nintt teor nceotn. nYeocut cyaonu ru Rsea sapnbye orrfy t hPei tfoo lyloowuirn g options to do this… lTpshow er Citt Rsco.ha nI,sf nyp yobeoueuc rcrtr ayiPnn iP gicis o h vsnaiinstaue a acEntte t Etdhot h ecaelr onrnsneeeet wttt opo orakr tr u,o sauiltnoegnr, g aasnci dcEeet shtshe repn oUeitSn cBt,a obrl e. Oaanundtco etm hyeao tuoic’tvhaeel lpry l eucnogdng neindetc otth ateon E tathchece enrnseset wtp cooarinkb.tle, yinotuor tRhaes Rpbaesprrbye Prriy w Pilil lIywwfOwmo iy itiult Cahtolh ’hnrenuo e ture th hsnhfuee aaendrs vce Ri Reenatqau a gcuaUsrs ite apSrRpiernbnBba’ s esees g Wrpdrapr reorybviylFcc ei iPeiPiuar firidrmi, c.y ovW a MeendPrnregriaisit F lv3ksaieoeie,it. mni r ioSsts ponuo,h lf ramaeb etns e hepdy fbe loo Wum uuRrgiei alFa-rt ayeb-si i naupdnnddybo ow- ienttnp hirgbgrlreaelye e oyl desPc nde,soi ev,wsem .it vhcLhipeecAea ennNts iu.yb. soIlfeeu d . 0 1 Adding Audio Output What’s the point in your Raspberry Pi making lots of great noises if you can’t hear them? l 3.5 mm audio port The Raspberry Pi comes with a 3.5 mm audio port. This will allow you to plug most speakers or headphones into the Pi so that you can listen to the output from fantastic programs like Sonic Pi. l Bluetooth speakers With either the Raspberry Pi 3 or a Bluetooth dongle, you can connect to Bluetooth speakers or headphones. Your success rate may vary depending on the dongle and/or speakers you’re using, so ensure that you read the manufacturer’s documentation before you buy. 10 The Raspberry Pi Annual 2018

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.