RasPi - July 2016 (issue 024), RasPi, RasPi 2016

[ Pobierz całość w formacie PDF ]
//-->Get hands-on with your Raspberry PiESIGNDUILDBCODE24FIREWORKSWITH A PICONTROL+PI GLOVEBUILD APlusLearn to code in FUZEBASICWelcomeFrom smartwatches to VRheadsets, wearables are a hugestory in tech right now, whetheryou’re using them to track youractivity or to control programs and games.In this issue, our expert guide explains howyou can make your very own wearable in theshape of a Raspberry Pi glove. You’ll learnhow to build and program it to play musicand use social media, so you’ll be navigatingwith Minority Report-style gestures in no time!Elsewhere in the issue, Chris Osbornexplains how he’s made the Raspberry Pi popby using it to control a fireworks display. Pluswe’ll introduce you to FUZE BASIC and how tocode a simple game, and take a look at howthe Pi can serve up RSS feeds. Enjoy the issue!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…www.twitter.com/linuxusermag@linuxusermaghttps://www.facebook.com/LinuxUserUKLinux User & DeveloperRasPi@imagine-publishing.co.ukRasPi@imagine-publishing.co.ukContentsBuild a Raspberry Pi gloveLearn how to create your own wearable techFireworks controllerChris Osborn shows how your Pi can light up the Fourth of JulyLearn to code with FUZE BASICHow to create a simple game with this programming languageWorking with RSS feedsKeep track of your feeds with Raspberry PiTalking PiYour questions answered and your opinions sharedBuild a Pi GloveCreate your own Wearable Tech glove thatplaces control at your fingertipsThe Pi Glove is our project name for a wearable,social media-controlling glove – we’re going toshow you how to build it and how to programit. With the advent of Google Glass, Android and Applesmartwatches and various other disruptive technologies, thedevices we’re beginning to use today point towards a futurewhere we may well one day wear all of the gadgets thatenable us to communicate with each other (before they aresimply embedded into our bodies…). The morenatural or ergonomic this medium becomes,the more likely we are to use it, so we’regoing to use a Raspberry Pi to create apowerful yet comfortable glove. In thefirst section of the tutorial we’ll cover thehardware setup so that you can makeyour own version of the Pi Glove. Inthe second, we will cover the softwareto control music, a camera and socialmedia using your glove’s buttons.THE PROJECTESSENTIALSRaspberry Pi A+Clothes poppersUSB Wi-Fi dongleSmall cable tiesGloveUSB battery chargerPi camera module01Strip and prepare the wiresTake the female-to-female jerky wires, select one endand remove the plastic coating; this can be done byapplying a little pressure on the plastic cover – you canuse your teeth but it’s better to use a set of pliers! Theend will now consist of a small metal spike. Prepare theother wires using the same method.Wpa_supplicantWpa_supplicantis a backgroundprogram that runsand acts as thecomponent tocontrol wirelessconnection. Itsupports both textand GUI interfaces.02Attach the wires to the poppersThe next part is a little fiddly, so take your time as youwork through each of the wires. First, you need toconnect the wire to the popper whilst pinning the otherend through the finger of the glove. Once through, closethe two sides of the popper together, ensuring that thewire is secured in-between. This is easier if you turneach glove finger inside-out and then push the popperthrough. The key part of this step is to ensure that thewire stays connected.03Check the wires are in placeOne wire/popper combo is attached to each of the fourfingers and the thumb of the glove. The thumb formsthe earth, or ground, of the connection when it comesinto contact with one of the other metal finger poppers.04Add the Pi cameraThe Pi camera is mounted into the glove, whichenables you to angle your wrist and take a picture inthe direction that the hand is facing. Make a small holein the top of the glove, big enough for the camera lensto push through. On the Pi camera board you will findfour small holes, so use these and the tiny cable ties tosecure the camera onto the fabric of the glove. [ Pobierz całość w formacie PDF ]

  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • agraffka.pev.pl