mobile raspberry pi
TRANSCRIPT
![Page 1: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/1.jpg)
MOBILERASPBERRYPI
presentedbyGiorgioNatiliMOBILETEA#5
ROME,10JULY2013(WAT?It'srainingagain?!)
![Page 2: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/2.jpg)
Aboutmee-mail:[email protected]
twitter:@giorgionatiliblog:webplatform.io(comingsoon!)
community:codeinvaders.net
![Page 3: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/3.jpg)
Agenda• WhatisWebRTCandwhatwecandowithit
• Whatislibjingle• ExplorethelibjingleGYPfiles
• MakeabuildforiOS• Demo
![Page 4: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/4.jpg)
WHATISWEBRTC
![Page 5: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/5.jpg)
WhatisWebRTC• AccordinglytogoogleWebRTCisanewwayyodorealtime
communicationonthewebwithoutusinganyplugin.• WebRTCisafree,openprojectthatenableswebbrowserswith
Real-TimeCommunications(RTC)capabilitiesviasimpleJavascriptAPIs.
• WebRTCAPIareavailableinChrome24+,Firefox22+andOpera12+.
• Don'tconfuseWebRTCAPIandthethe<device>API.
InternetExplorer
![Page 6: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/6.jpg)
InternetExplorerWhat'saboutourgoodfriendIE?• It'sunclearhowandwhenthesupportwillbeavailable• SofaryoucanuseChromeFrametosupportWebRTC(moreinfoabouttheChromeFrameextensionareavailableontheofficialwebpageoftheprojectdevelopers.google.com/chrome/chrome-frame/)• Youguess?Microsoftisworkingonitsownstandard:)
![Page 7: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/7.jpg)
Modela/Modelb-Theethernetportisavailableonlyonmodelb
-Themodelahasonly256mbofmemory(SDRAM)-ThemodelbhasadualUSBconnector
-Alltheotherfeaturesarethesameinmodelaandb-Adetalidcomparisonisavailableonelement14
![Page 8: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/8.jpg)
Modelbcomponents
![Page 9: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/9.jpg)
DidacticalUsage-Generalcomputerusage
-Programming(python,java,etc.)-Understandhardwarecomponents
-LinuxandBash
![Page 10: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/10.jpg)
PracticalUsages-MediaCenter(HDMI)
-Electronics(micro)controller-Surveillancesystems(i.e.cameramodule)
-ArcadeGameCoffeeTableusingMAME-Supercomputers(attheUniversityofSouthamptonlinkedup64
RaspberryPis)
![Page 11: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/11.jpg)
Performances-AttheheartoftheRaspberryPiisthesameprocessoryou
wouldhavefoundintheiPhone3GandtheKindle2-ThereisastandardRCA-typejackthatprovidescomposite
NTSCorPALvideosignalsinadditiontotheHDMIoutput-There’snoharddriveonthePi,everythingisstoredonan
SDCard
WhereandHowto
![Page 12: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/12.jpg)
WhereandHowtoGetIt?
-PremierFarnell/Element14-RSComponents
-EgomanTechnologyCorp-RobotItaly
Thenyouhavetobereallypatient,waitandprayitwillarriveintime...
![Page 13: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/13.jpg)
![Page 14: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/14.jpg)
ExploretheBoard
![Page 15: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/15.jpg)
Theprocessor
![Page 16: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/16.jpg)
![Page 17: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/17.jpg)
![Page 18: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/18.jpg)
![Page 19: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/19.jpg)
![Page 20: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/20.jpg)
![Page 21: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/21.jpg)
![Page 22: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/22.jpg)
RASPBERRYPERIPHERALS
![Page 23: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/23.jpg)
WhatYouCanConnect
-Youcanconnectperipheralsusingthepinsontheboard-GeneralPurposeInputandOutput(GPIO)
-P2andP3headers-CameraSerialInterface(CSI)-DisplaySerialInterface(DSI)
![Page 24: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/24.jpg)
Selectalwaystheproper
peripherals!http://elinux.org/RPi_VerifiedPeripherals
![Page 25: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/25.jpg)
InternalPowerHub
![Page 26: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/26.jpg)
BatteryPack
![Page 27: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/27.jpg)
Keyboard&TouchpadMouse
![Page 28: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/28.jpg)
ChoosetheRightDistribution
![Page 29: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/29.jpg)
RaspbianThe“officiallyrecommended”officialdistributionfromthe
Foundation,basedonDebian
![Page 30: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/30.jpg)
AdafruitItisaRaspbian-baseddistributionthatincludestoolsanddriversuseful
forteachingelectronics
![Page 31: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/31.jpg)
XbianItisadistributionbasedonRaspbianforuserswhowanttousetheRaspberryPiasamediacenter(seealsoOpenELECandRaspbmc)
![Page 32: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/32.jpg)
ArchLinuxItisadistributionspecificallytargetsARM-bssedcomputerssoit'sthe
earlyadoptedRaspberryPiOS
![Page 33: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/33.jpg)
PreparetheSDCard
![Page 34: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/34.jpg)
OSDiskImage-Theoperatingsystemisdistributedasadiskimage
-Itisabit-for-bitrepresentationofhowthedatashouldbewrittentotheSDcard
OSX
![Page 35: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/35.jpg)
OSX-Opentheterminalutility
-df-h,inserttheSDcardandthentypeitagain
-Unmountthecard(diskutilunmount/dev/disk3s1)-Figureouttherawdevicename(replacediskwithriskand
leaveoffthes1)-Usetheddutilitytowritebyteperbytethediskimage
![Page 36: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/36.jpg)
Windows-DownloadtheWin32DiskImager
(https://launchpad.net/win32-image-writer)-InserttheSDcard
-OpenWin32DiskImagerandselecttheOSimage
![Page 37: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/37.jpg)
RuntheRaspberrypi
![Page 38: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/38.jpg)
StepbyStep-PlugtheSDcardintothesocket-PluginanUSBkeyboardandmouse
-PlugtheHDMIoutputintoyourTVormonitor-Pluginthepowersupply
-Crossthefingersandhavefun!!!
![Page 39: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/39.jpg)
TroubleShooting-ChecktheSDcardiscorrectlydocked
-ChetyouareusingthecorrecttypeofSDcard-Checkifthecardiswriteprotectenabled
TheConfigScreen
![Page 40: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/40.jpg)
TheConfigScreen1/2
-Expandrootfs,enlargethefilesyteminordertousethewholeSDcard
-Overscan,enableitifthetextrunoffthescreenonanhighdefinitionmonitor
-Keyboard,setupthekeyboardstyle(thedefaultisUK)-Password,chosesomethingstrongerthanraspberry
-ChangeLocaleTheConfigScreen
![Page 41: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/41.jpg)
-ChangeLocaleTheConfigScreen2/2
-Memorysplit,changetheamountofmemoryusedbytheCPUandtheGPU
-Overclock,speeduptheprocessorspeedto1000Mhz-SettheTimezone
-SSH,switchon/offthesecureshellserverthatallowsyoutorunheadless
-Desktopbehavior,settingupnoyourunitasCLILinux(commandline!)
![Page 42: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/42.jpg)
(commandline!)
Don'tupdatetheOSthefirsttimeyourunthedevice!!!
PreInstalled
![Page 43: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/43.jpg)
PreInstalledSoftware
-Midoribrowser(optionallyNetSurforDillo)-Omxplayer
-LeafpadandNano-BourneAgainShell(BASH!)
-apt-get(e.g.sudoapt-getinstallscrot)
![Page 44: Mobile raspberry pi](https://reader030.vdocuments.net/reader030/viewer/2022032619/55bdf4bcbb61eb852d8b47cb/html5/thumbnails/44.jpg)