Magazines/Newspapers

The Magpi-Issue 28

Description
ISSUE 28 - NOV 2014 Get printed copies at themagpi.com A Magazine for Raspberry Pi Users FUZE BASIC VoIP Server Arduberry Using Git BitScope Introducing OpenCV Win £450 worth of prizes in our FUZE BASIC programming competition Raspberry Pi is a trademark of The Raspberry Pi Foundation. This magazine was created using a Raspberry Pi computer. http://www.themagpi.com 28 This month's Issue is packed with hardware and programming articles. We are pleased to present the first article in an O
Published
of 42
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Related Documents
Share
Transcript
  IISSSSUUEE 2288 -- NNOOVV 22001144 A A  M M a a  g  g a a z z i i n n e e  f   f  o o r r  R  R  a a s s  p  p b b e e r r r r y y  P P i i  U U s s e e r r s s  hhttttpp:: /  /  /  / wwwwww..tthheemmaaggppii..ccoomm RRaassppbbeerrrryy PPii iiss aa ttrraaddeemmaarrk k  ooff TThhee RRaassppbbeerrrryy PPii FFoouunnddaattiioonn..TThhiiss mmaaggaazziinnee wwaass ccrreeaatteedd uussiinngg aa RRaassppbbeerrrryy PPii ccoommppuutteerr.. FFUUZZEE BBAASSIICCVVooIIPP SSeerrvveerrAArrdduubbeerrrryyUUssiinngg GGiittBBiittSSccooppee IInnttrroodduucciinngg OOppeennCCVV GGeett pprriinntteedd ccooppiieessaatt tthheemmaaggppii..ccoomm Win£450    worthofprizes    inourFUZE    BASIC     programming    competition      AshStone    -ChiefEditor/Administration    IanMcAlpine    -Layout/ProofReading    W.H.Bell   -IssueEditor/Administration/Layout   BryanButler   -PageDesign/Graphics    MattJudge    -Website    NickHitch    -Administration    ColinDeady    -Layout/ProofReading    TheMagPiTeam      DougieLawson    -Testing    NickLiversidge    -ProofReading    MartinWolstencroft   -Layout/ProofReading    MarkPearson    -Layout   DavidBannon    -Testing/ProofReading    SheltonCaruthers    -ProofReading    RitaSmith    -ProofReading    ClairePrice    -ProofReading    2    28 Thismonth'sIssueispackedwithhardwareandprogrammingarticles.Wearepleasedtopresentthe   firstarticleinanOpenCV(opensourcecomputervision)imagerecognitionsoftwareseriesbyDerek   Campbell.TherobotthatDerekusedtotestthesoftwareconfigurationisshownonthismonth'scover. ExpandingtheI/OpossibilitiesoftheRaspberryPiisoftenafirststepofelectronicsprojects.Thistime, DougieLawsonpresentsareviewoftheArduberryboardfromDexterIndustries.Thislittleboard   providesanidealmicrocontrollerinterfaceformorecomplicatedelectronicsprojects.Thismonth's   hardwarearticlesareroundedoffbyKarl-LudwigButte'sthirdBitScopearticle,whichincludes   examplesofpreamplifiercircuitsandassociatedtestandmeasurement. TheRaspberryPiprovidestheopportunitytorunmanydifferentsoftwareapplications.VoiceoverIP    (VoIP)allowstelephonecallstobecarriedoveraninternetconnection.WalbertoAbadcontinueshis   mini-seriesbydescribinghowtosetupanAsteriskVoIPserver. Thesecondapplicationarticlethismonthcontinuesthediscussionofgit(distributedversioncontrol system).GitwasoriginallyproducedforLinuxkerneldevelopment,butisnowamainstayofmany   differentdevelopmentprojectsandhasbeenadoptedbyseveralschoolstoo.AlecClewsleadsus   throughhissecondtutorialonthesubject. Thismonth'sprogrammingarticledemonstrateshowtobuildanarcadegameusingFUZEBASIC.Jon   Silveraincludesinstructions,codeandimagestobuildahorizontallyscrollinggame. Weareonthelookoutformorearticlesatalllevelsandonallsubjects.Ifyouareinterestedin   submittinganarticle,pleasegetintouchwithusbyemailingarticles@themagpi.com. Ifyouhaveanyothercomments,youcanfinduson   Twitter(@TheMagP1)andFacebook   (http://www.facebook.com/MagPiMagazine)too.  ChiefEditorofTheMagPi   3    4   OPENCV     ComputerVisionontheRaspberryPi  10    UnitetheRaspberryPiandArduino    ARDUBERRY     Part3:ElectronicmeasurementwiththeOscilloscopeadd-onboard    14   BITSCOPE    20    Part2:Connectingtothetelephonenetwork    VOICEOVERIP    41   MechelenBelgium,BerlinGermany,CheltenhamUK,HullUK,WarwickUSA     THISMONTH'SEVENTSGUIDE    VERSIONCONTROL   26    Part2:Whathappenswhenyoumakedocumentchanges   Part4:Fontscalingplusweaddthefinaltouchestoourgame    32   FUZEBASIC    42    Sendusyourfeedbackandarticleideas    HAVEYOURSAY    39    WinoneofthreeRaspberryPiFUZEkitsworthatotalof£450inourprogrammingcompetition    COMPETITION     http://www.themagpi.com      Contents     4    SKILLLEVEL:INTERMEDIATE    DerekCampbell   GuestWriter   INTRODUCINGOPENCV     OpticalNavigation    ComputerVisiononthe   RaspberryPi   MeetPiter,myavatarrobotproject.Hestandson   twowheelsandhasaRaspberryPiforbrains. PiterhasaPicameraandhardwareformaking   lightandsound.Hisheadhasservossothathe   canlookaround,andheisabletotellhowfar  awayheisfromobstaclesinhispath. Thisarticledescribeshowhiscamerahelpshim    navigate.Youdon’tneedarobottotryoutthe   ideas.AllyouwillneedisaRaspberryPiand   camera(aUSBwebcamwillalsowork). I’mtryingtopromoteinterestinroboticsatmy   localcubscoutpack.Cubslearnlotsof  techniquesforusewhentheyareoutandabout  hiking.Oneofthemiscalled‘tracking’.When   onegroupofcubsneedstofollowatrailleftby   anothergroup,theylookforsignsleftbehindby   theleadgrouptotellthemwheretogo.Thelead   groupleavesbehindmarks--knottedgrassor  smallgroupsofstones--thattellthefollowing   groupwhichwaytheywent.  Piterdoestracking    Tosimplifyimagerecognitionfortherobot  (spottingknottedgrassisabitbeyondsimple   computervision)wecreatedsomesymbolsthat  mimictheonesthecubswoulduseinthefield, butthattherobotcouldfindandfollow.The   symbolsareprintedingreenandlooklikethis: Robottrackingsymbols   TurnBack,TurnLeft,Home,TurnRight   HowPitersees    Piterfollowsthesymbolsbytakingthefollowing   approach: Firstofallhelooksforapatchofgreencolourin   hisfieldofview.Hedrivestowardsthelargest  matchingpatchuntilheiscloseenoughto   recognisethesymbol.Oncethesymbolis   recognisedtherobotfollowstheinstructionand   thenlooksforthenextpatch.Herepeatsthis   untilhereachesthesymboltellinghimhehas   reachedhisgoal. Todothis,PiterusestheonboardRaspberryPi andcameraandprocessestherealtimeimages   usinganawesomeopensourcecomputervision   librarycalledOpenCV. OpenCVrunsonallmajoroperatingsystemsand   providesallthetoolsneededtolocateand   
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks