RasPi - September 2014 (issue 002), RasPi, RasPi 2014
[ Pobierz całość w formacie PDF ]
//-->ESIGNDBUILDODECGet hands-on with your Raspberry Pi2ROBOTPowered byyour PiPAGESOF RASPIGUIDESBuild your own57WelcomeHave you ever wanted to buildyour own self-driving robot?Well, silly question really… Soare you ready to build one now?Good! That’s exactly what we’re going to startdoing in this second issue ofRasPimagazine.We’re going to show you all the parts you’llneed, how to set up the essentials, build themotor circuit that will power your robot,andthen we’ll build the chassis. Next time we’llbe giving our robot ultrasonic, analogueand line sensors for navigation. And we’vegot plenty more for you to get your handsdirty with in this issue – you’ll be learning toprogram melodies with Sonic Pi, build a gamein Scratch, take photos with your Raspberry Piand more. Enjoy your issue and 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 PiDeputy EditorFrom the makers ofJoin the conversation at…www.twitter.com/linuxusermag@linuxuse@linuxusermaghttps://www.facebook.com/LinuxUserUKLiLinux User & DeveloperUD lDevelopeRasPi@imagine-publishing.co.ukRasPi@imagine-publishing.co.ukRasPi@imagine pasPi@imagineContentsBuild a Raspberry Pi robotGrab your tools and start assembling the chassisDoodleborgMeet the six-wheeled rover that can tow a caravanCreate a simple game with ScratchLearn how coding logic works by making a Pong cloneLearn to code with Sonic PiAdvance your coding skills by programming musicTake photos with Raspberry PiCapture images and videos with your camera moduleWhat is the GPIO port?Find out what the pins along the side of your Pi doStart using the GPIO pinsGet your Raspberry Pi to interface with other devicesTalking PiYour questions answered and your opinions sharedBuild aRaspberry Pi robotSay hello to the £150 Linux-poweredrobot anyone can makeSpaghettijunctionIt might look likea terrible tangleof wires now,but by addingmotors andsensors graduallyand testing andchecking as yougo, it will soonmake perfectsense to youAll aboardThe chassis, motorsand wheels are apopular choice thanksto their affordability.As you can see,there’s even room fora USB battery pack forthe Raspberry PiPleased to see youWhile this affordableultrasonic sensor can’treally make our robot see,he will be able to employecholocation like a bator dolphinThere’s never been a moreexciting time to get into robotics.Until more recently even buildingthe most basic robot that moves, senses itsenvironment and reacts to external stimulicost thousands of pounds construct. Thanksto devices like the Raspberry Pi, though, itcan be done at a mere fraction of that pricetoday. In fact, assuming you’ve already gota Pi and have dabbled in electronics in thepast, it’s unlikely you’ll need to spend morethan £100 to put our project robot together.Over the course of the next fewpages we’ll be exploring aspectsof electronics, programmingand basic artificial intelligence.You don’t need to have anyexperience in any of thesefascinating fields, but we do hopeyou’ll be inspired to learn. We’ll bereturning to our robot next issuetoo, giving him microswitches andultrasonic sensors for collisiondetection, sensors fortracking lines and reactingto light, plus pan-and-tilt control forhis head. The door to exciting fields likenavigation, maze solving and artificialintelligence will be firmly open to you.A touching momentThe first sensors we’ll work with are thesemicroswitches or touch sensors. These willenable our robot to react to its environmentshould it bump into anything
[ Pobierz całość w formacie PDF ]