RasPi Magazine 12, Raspberry PI, RasPI - Magazyn 2015

[ Pobierz całość w formacie PDF ]
//-->ESIGNDUILDBCODE12Create aTESTCIRCUITSSCOPEPlusProgram Arduino on your PiWITH AWelcomeIf you’re anything like us,chances are that you’ve gota few spare Raspberry Pisknocking about that haveeffectively been replaced by your shiny newModel 2B. That doesn’t mean they have tostay in your drawer, though – it is alotsimplerthan you think to simply chain them togetherand have them share their processing powerin one big Raspberry Pi cluster. Get enoughof them and you will basically have your ownsupercomputer. It’s great fun to set up andopens up some incredible programmingpossibilities – just swipe forward a couple ofpages to get cracking. And once you’ve got acluster up and running, be sure to let us knowwhat you’re going to do with it – have fun!Get inspiredDiscover the RasPicommunity’s best projectsExpert adviceGot a question? Get in touchand we’ll give you a handEasy-to-followguidesLearn to make and codegadgets with Raspberry PiEditorFrom the makers ofJoin the conversation at…@linuxusermagLiLinux User & DeveloperUD lDevelopeRasPi@imagine-publishing.co.ukRasPi@imagine pContentsBuild a Raspberry Pi cluster… and then crunch code like a CERN scientistManage your cluster with IPythonConfigure your Pis to handle parallel programmingWhat is Python?We use it all the time but why is it so special?Program Arduino on your PiTake advantage of the awesome Arduino IDEJoytoneCheck out the keyboard made of Xbox joysticksTransform your Pi into a micro oscilloscopeGet to grips with the ultimate tool for electronicsTalking PiYour questions answered and your opinions sharedBuild a Raspberry Pi clusterPool the resources of multiple Pis to createyour own scalable Pi supercomputer“Allyou need is a lotof Raspberry Pis, a bitof Python know-howand a reason to useit. It’s a great projectfor classrooms”The Raspberry Pi is actually quite powerful forits price. On its own, though, you won’t be doingany extraordinary calculations – or compiling,or anything strenuous at all, for that matter. However, asit’s readily available and fairly cheap, you can get twentyof them for the price of a new computer. Each of them ontheir own will be no different, but link them together overa network and you can have them share their power andvastly increase the amount they can process.This kind of setup is generally known as a Beowulfcluster, so named for the eponymous hero of the epic poemin which Beowulf is described as having “thirty men’s heftof grasp in the gripe of his hand”. It’s not ridiculously hardto achieve, either – all you need is a lot of Raspberry Pis, abit of Python know-how and a reason to use it. This makesit a great project for things like classrooms, after-school Piclubs and the like – really, anywhere there’s a collection ofPis available for general use. The more Raspberry Pi nodesyou add into the setup, the more powerful it will become,which means you can start with just two or three at homeand then gradually add more and more to your cluster, ifyou want to. And because of the way it all works, you canhook in and control your Pi cluster from your main computeras well, making this as accessibleat it is scalable.Over the next few pages we’regoing to show you how to get yourRaspberry Pis set up ready for use,including all the tools you’ll need,how to get them all connected andthen finally what you can do withall that processing power. We’dlove to see your cluster once it’sfinished – drop us a tweet!“Youcan hookin and controlyour Pi clusterfrom yourmain computeras well,making this asaccessible at itis scalable”BelowGCHQ, the UK’sNSA, have a clusterof 66 Raspberry Pisnamed the Bramble: [ Pobierz całość w formacie PDF ]

  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • tejsza.htw.pl
  •