Table of Contents - Amazon S3ASU+VIPLE+Robot+for...Table of Contents Introduction Introduction to...
Transcript of Table of Contents - Amazon S3ASU+VIPLE+Robot+for...Table of Contents Introduction Introduction to...
![Page 1: Table of Contents - Amazon S3ASU+VIPLE+Robot+for...Table of Contents Introduction Introduction to pcDuino Robot assembly Introduction to ASU VIPLE Remote control Robots by ASU VIPLE](https://reader034.fdocuments.in/reader034/viewer/2022042708/5af510ca7f8b9ae9488cf326/html5/thumbnails/1.jpg)
1.1
1.2
1.3
1.4
1.5
1.6
TableofContentsIntroduction
IntroductiontopcDuinoRobotassembly
IntroductiontoASUVIPLE
RemotecontrolRobotsbyASUVIPLE
RemotecontrolRobotbyAndroidAPP
Download
1
![Page 2: Table of Contents - Amazon S3ASU+VIPLE+Robot+for...Table of Contents Introduction Introduction to pcDuino Robot assembly Introduction to ASU VIPLE Remote control Robots by ASU VIPLE](https://reader034.fdocuments.in/reader034/viewer/2022042708/5af510ca7f8b9ae9488cf326/html5/thumbnails/2.jpg)
Introduction
pcDuinoRobotisaprogrammableRobotwhichsupportsASUVIPLEgraphicalprogramming.WeuseASUVIPLEtooltoprogram.Thendrivetherobotforward,backwardorturnitaroundbyremotelycontrollingviaWi-Fi.AnditisalsoeasytoremotelyaccesssystemviaWi-Fihotspot,VNCorsshtool.pcDuinoRobotispoweredbypcDuino3BandrunsUbuntu12.04OS.Therearetwoultrasonicsensorsontherobotwhichareusedtogetrelativedistancefromitselftotheobstacles.Thuswecanusedifferentalgorithmtocontroltherobot,andletitfindoutwayofamaze.
Introduction
2
![Page 3: Table of Contents - Amazon S3ASU+VIPLE+Robot+for...Table of Contents Introduction Introduction to pcDuino Robot assembly Introduction to ASU VIPLE Remote control Robots by ASU VIPLE](https://reader034.fdocuments.in/reader034/viewer/2022042708/5af510ca7f8b9ae9488cf326/html5/thumbnails/3.jpg)
Hardwarespecifications
pcDuino3BAllwinnerA20Dual-coreARMCortexA71GBRAM8GSDflashOnboardWiFimoduleArduino-comptiableslot
PowershieldfordrivingpcDuino3BandservomotorUltrasonicsensorHC-RS04x2Highqualitycontinuousrotationservomotor(5VDC)x27.4V18650lithiumbattery8.4VbatterychargerAluminiumrobotplatform
Introduction
3
![Page 4: Table of Contents - Amazon S3ASU+VIPLE+Robot+for...Table of Contents Introduction Introduction to pcDuino Robot assembly Introduction to ASU VIPLE Remote control Robots by ASU VIPLE](https://reader034.fdocuments.in/reader034/viewer/2022042708/5af510ca7f8b9ae9488cf326/html5/thumbnails/4.jpg)
Softwarespecifications
OSonRobotUbuntu12.04
ProgrammingtoolASUVIPLEprogramsupportingWin7orlater
Features
RobotsupportingASUVIPLEgraphicalprogrammingWi-FicontrolMazealgorithmimplementation
Introduction
4
![Page 5: Table of Contents - Amazon S3ASU+VIPLE+Robot+for...Table of Contents Introduction Introduction to pcDuino Robot assembly Introduction to ASU VIPLE Remote control Robots by ASU VIPLE](https://reader034.fdocuments.in/reader034/viewer/2022042708/5af510ca7f8b9ae9488cf326/html5/thumbnails/5.jpg)
IntroductiontopcDuinoRobotassembly
1.Chassisassembly
SecurethetwoservomotorstothechassiswithscrewsSecurethewheelstotheservomotorswithscrewsSecurethecastertothechassiswithscrews
Note:Thecasterandthetwowheelsshouldbeatthesameheight,andyouneedtoaddshimsifnecessary.
Usethefollowingpicturestocheckwhethertheinstallationiscorrect.
IntroductiontopcDuinoRobotassembly
5
![Page 6: Table of Contents - Amazon S3ASU+VIPLE+Robot+for...Table of Contents Introduction Introduction to pcDuino Robot assembly Introduction to ASU VIPLE Remote control Robots by ASU VIPLE](https://reader034.fdocuments.in/reader034/viewer/2022042708/5af510ca7f8b9ae9488cf326/html5/thumbnails/6.jpg)
2.Palletassembly
UsethreecopperstudstoattachthepcDuino3BtothepalletTheUltrasonicSensorhasbeeninstalledonthebracket,soyoujustneedtosecurethetwoultrasonicbracketstothepalletStickthelabeltoafreepositionofthepallet
Note:Thetwoultrasonicsensorsshouldbeplacedatthefrontandrightrespectively.
Checkwhethertheinstallationiscorrectaccordingtothefollowingpictures.
IntroductiontopcDuinoRobotassembly
6
![Page 7: Table of Contents - Amazon S3ASU+VIPLE+Robot+for...Table of Contents Introduction Introduction to pcDuino Robot assembly Introduction to ASU VIPLE Remote control Robots by ASU VIPLE](https://reader034.fdocuments.in/reader034/viewer/2022042708/5af510ca7f8b9ae9488cf326/html5/thumbnails/7.jpg)
IntroductiontopcDuinoRobotassembly
7
![Page 8: Table of Contents - Amazon S3ASU+VIPLE+Robot+for...Table of Contents Introduction Introduction to pcDuino Robot assembly Introduction to ASU VIPLE Remote control Robots by ASU VIPLE](https://reader034.fdocuments.in/reader034/viewer/2022042708/5af510ca7f8b9ae9488cf326/html5/thumbnails/8.jpg)
3.CompleteRobotassembly
Usetwoscrewstosecurethechassisandthepallettogether.Notethatthecasterpointstothefront.Securethebatterytothecastersidewithacabletieasthefollowingpicture
Securethechargingportofthebatterytothepalletwithacabletieasthefollowingpicture
IntroductiontopcDuinoRobotassembly
8
![Page 9: Table of Contents - Amazon S3ASU+VIPLE+Robot+for...Table of Contents Introduction Introduction to pcDuino Robot assembly Introduction to ASU VIPLE Remote control Robots by ASU VIPLE](https://reader034.fdocuments.in/reader034/viewer/2022042708/5af510ca7f8b9ae9488cf326/html5/thumbnails/9.jpg)
4.Wiring
ConnectthePowerBaseShieldtothepcDuino3BConnecttheultrasonicsensortothePowerBaseShieldaccordingtothefollowingtables
UltrasonicFront PowerBaseShield
VCC VCC
Trig D13
Echo D3
GND GND
UltrasonicRight PowerBaseShield
VCC VCC
Trig D12
Echo D2
GND GND
ConnecttheservomotorstothePowerBaseShieldaccordingtothefollowingtables
IntroductiontopcDuinoRobotassembly
9
![Page 10: Table of Contents - Amazon S3ASU+VIPLE+Robot+for...Table of Contents Introduction Introduction to pcDuino Robot assembly Introduction to ASU VIPLE Remote control Robots by ASU VIPLE](https://reader034.fdocuments.in/reader034/viewer/2022042708/5af510ca7f8b9ae9488cf326/html5/thumbnails/10.jpg)
ServoLeft PowerBaseShield
Black GND
Red Servo5V
White D11
ServoRight PowerBaseShield
Black GND
Red Servo5V
White D10
ConnectthebatterypoweroutputtothePowerBaseShieldpowerinput
Usethefollowingpicturestocheckyourwiring.
IntroductiontopcDuinoRobotassembly
10
![Page 11: Table of Contents - Amazon S3ASU+VIPLE+Robot+for...Table of Contents Introduction Introduction to pcDuino Robot assembly Introduction to ASU VIPLE Remote control Robots by ASU VIPLE](https://reader034.fdocuments.in/reader034/viewer/2022042708/5af510ca7f8b9ae9488cf326/html5/thumbnails/11.jpg)
Whenthewiringiscomplete,launchthepcDuinoRobot,waitfortheindicatorlightoftheWi-Fimodulelightingup.AfterawhiletheRobotwillautomaticallycreateaWi-FiHotspotnamedpcDuino-xxxx.
Ifyouwanttowatchtheassemblyvideo,clickPcDuinoRobotassemblyvideotutorial.
IntroductiontopcDuinoRobotassembly
11
![Page 12: Table of Contents - Amazon S3ASU+VIPLE+Robot+for...Table of Contents Introduction Introduction to pcDuino Robot assembly Introduction to ASU VIPLE Remote control Robots by ASU VIPLE](https://reader034.fdocuments.in/reader034/viewer/2022042708/5af510ca7f8b9ae9488cf326/html5/thumbnails/12.jpg)
IntroductiontoASUVIPLEASUVIPLEisaVisualIoT/RoboticsProgrammingLanguageEnvironment,whichisusingthesamecalculationmodelasMicrosoftVPL.TheprogramisrunningonaWindowscomputer,adesktop,alaptop,oratablet.Thecomputersendscommandtocontroltherobotactuatorsandreceivesthesensorydataandmotorfeedbackfromtherobot.ThedatabetweenthecomputerandtherobotisencodedinaJSONobjectwhichisinplaintextformat.ItsupportsWi-Fi,BluetoothandUSBconnectionsbetweenthemaincomputerandtherobot.
1.InstallASUVIPLEtool
WeneedaWindowsPCwithawirelessnetworkcard,becausewewantPCandpcDuinoRobottocommunicateviaWi-Fi.ThesystemversionrequiresWin7orlater.
ClickhereanddownloadASUVIPLEtool,UnzipandrunVIPLE.exe.
ASUVIPLEprogrammingLanguageisissimilartoMicrosoftVPL.Asshowninthepicture,theleftsidebarprovidesaseriesofgraphicalprogrammingcomponents:
BasicActivitiescanbeusedforconstructingprograms,includingData,Variables,
IntroductiontoASUVIPLE
12
![Page 13: Table of Contents - Amazon S3ASU+VIPLE+Robot+for...Table of Contents Introduction Introduction to pcDuino Robot assembly Introduction to ASU VIPLE Remote control Robots by ASU VIPLE](https://reader034.fdocuments.in/reader034/viewer/2022042708/5af510ca7f8b9ae9488cf326/html5/thumbnails/13.jpg)
If/Else,While,Join,andsoon.Servicesprovidesasetofmodulesusedtoconnecttogenericrobots,sensors,andmotorservices.
2.QuickstarttoaccessASUVIPLE
HelloWorldinASUVIPLE
OpentheASUVIPLECreateanewproject.PressCtrl+NorgotothetoolbarandclickFile-->NewDragtheDatamodulefromtheBasicActivitiesontheleftEnter"Helloworld!"intotheDatamoduleDragthePrintLinemodulefromtheServicesontheleftConnectthesetwomodulesRunit.ClicktheRunbuttoninthetoolbarorpressF5
InputandOutputinASUVIPLE
CreateanewprojectDragtheCalculatemodulefromtheBasicActivitiesDragtheSimpleDialogmodulefromtheServicesConnectandconfigurethosemodulesaccordingtothefollowingfigurePressF5torunit
IntroductiontoASUVIPLE
13
![Page 14: Table of Contents - Amazon S3ASU+VIPLE+Robot+for...Table of Contents Introduction Introduction to pcDuino Robot assembly Introduction to ASU VIPLE Remote control Robots by ASU VIPLE](https://reader034.fdocuments.in/reader034/viewer/2022042708/5af510ca7f8b9ae9488cf326/html5/thumbnails/14.jpg)
ASimpleCounterinASUVIPLE
ConnectandconfigurethemodulesaccordingtothefollowingfigurePressF5toruntheprogram
FormoreASUVIPLEprogramminginformation,pleaserefertoVIPLEProgrammingGuide.
IntroductiontoASUVIPLE
14
![Page 15: Table of Contents - Amazon S3ASU+VIPLE+Robot+for...Table of Contents Introduction Introduction to pcDuino Robot assembly Introduction to ASU VIPLE Remote control Robots by ASU VIPLE](https://reader034.fdocuments.in/reader034/viewer/2022042708/5af510ca7f8b9ae9488cf326/html5/thumbnails/15.jpg)
RemotecontrolRobotsbyASUVIPLE
1.configurationofpcDuinoRobot
ThesystemwillautomaticallycreateaWi-FiHotspotwhenwelaunchthepcDuinoRobots.Andthebasicinformationisasfollows:
Wi-FiHotspot:pcDuino-xxxxPassword:12345678IPaddress:10.0.0.1CorrespondingVIPLEserviceportnumber:8124
Next,wewillexplainhowVIPLEconnectstopcDuinoRobot.
LaunchthepcDuinoRobot,waitfortheindicatorlightoftheWi-FimodulelightingupUseyourPCtoconnectthisWi-FiHotspot
OpenthenetworkconnectionandsearchfortheWi-FiHotspotstartedwith"pcDuino-"ChooseitandentertheWi-Fipassword,waitfortheconnectiontosucceed
CheckandconfigureRobotmodule.
Configurethebasiccommunicationinformation.
RemotecontrolRobotsbyASUVIPLE
15
![Page 16: Table of Contents - Amazon S3ASU+VIPLE+Robot+for...Table of Contents Introduction Introduction to pcDuino Robot assembly Introduction to ASU VIPLE Remote control Robots by ASU VIPLE](https://reader034.fdocuments.in/reader034/viewer/2022042708/5af510ca7f8b9ae9488cf326/html5/thumbnails/16.jpg)
Configuretheservos.Thetwoservosarenumberedas0and1respectively.Therangeofspeedisbetween-1.0to1.0.
CheckandconfigureRobotDistanceSensorModuleConfiguretheultrasonicsensor
Thetwoultrasonictransducersarenumberedas0and1respectively
Pleaserefertogithubtogetspecifictestprograms.
2.TestofpcDuinorobot
RemotecontrolRobotsbyASUVIPLE
16
![Page 17: Table of Contents - Amazon S3ASU+VIPLE+Robot+for...Table of Contents Introduction Introduction to pcDuino Robot assembly Introduction to ASU VIPLE Remote control Robots by ASU VIPLE](https://reader034.fdocuments.in/reader034/viewer/2022042708/5af510ca7f8b9ae9488cf326/html5/thumbnails/17.jpg)
Testofservos
OpentheASUVIPLEOpentheservo-control.xmlprojectMakesureyourPChasalreadyconnectedtotheWi-FicreatedbyRobotClicktheRunbuttoninthetoolbar,andpressthearrowkeystocontrol
TheVIPLEcodeisasfollows:
TestofUltrasonicsensor
Runultrasonic.xmlObservethedatadisplayedinthewindowObservethechangesofdistancebymanuallyaddingobstacles
TheVIPLEcodeisasfollows:
RemotecontrolRobotsbyASUVIPLE
17
![Page 18: Table of Contents - Amazon S3ASU+VIPLE+Robot+for...Table of Contents Introduction Introduction to pcDuino Robot assembly Introduction to ASU VIPLE Remote control Robots by ASU VIPLE](https://reader034.fdocuments.in/reader034/viewer/2022042708/5af510ca7f8b9ae9488cf326/html5/thumbnails/18.jpg)
ImplementingMazeNavigationAlgorithms
Runmaze-resolve.xmlObservethepcDuinoRobot'smovinginamaze,andmodifythecorrespondingparameters
Note:Thisprojectusestheright-wall-followingalgorithm.
TheVIPLEcodeisasfollows:
RemotecontrolRobotsbyASUVIPLE
18
![Page 19: Table of Contents - Amazon S3ASU+VIPLE+Robot+for...Table of Contents Introduction Introduction to pcDuino Robot assembly Introduction to ASU VIPLE Remote control Robots by ASU VIPLE](https://reader034.fdocuments.in/reader034/viewer/2022042708/5af510ca7f8b9ae9488cf326/html5/thumbnails/19.jpg)
RemotecontrolRobotsbyASUVIPLE
19
![Page 20: Table of Contents - Amazon S3ASU+VIPLE+Robot+for...Table of Contents Introduction Introduction to pcDuino Robot assembly Introduction to ASU VIPLE Remote control Robots by ASU VIPLE](https://reader034.fdocuments.in/reader034/viewer/2022042708/5af510ca7f8b9ae9488cf326/html5/thumbnails/20.jpg)
RemotecontrolRobotbyAndroidAPPWehavespecificallydevelopedasimpleAPPtotestthebasicfunctionsoftheRobot.
DownloadandinstallAppLaunchtheRobot.AfterawhiletheRobotwillautomaticallycreateaWi-FiHotspotnamedpcDuino-xxxx.UseyourmobilephonetoconnectthisWi-FiHotspot
ReadtheultrasonicsensordataandcontrolthemovingoftheRobotviatheAPP
RemotecontrolRobotbyAndroidAPP
20
![Page 21: Table of Contents - Amazon S3ASU+VIPLE+Robot+for...Table of Contents Introduction Introduction to pcDuino Robot assembly Introduction to ASU VIPLE Remote control Robots by ASU VIPLE](https://reader034.fdocuments.in/reader034/viewer/2022042708/5af510ca7f8b9ae9488cf326/html5/thumbnails/21.jpg)
RemotecontrolRobotbyAndroidAPP
21
![Page 22: Table of Contents - Amazon S3ASU+VIPLE+Robot+for...Table of Contents Introduction Introduction to pcDuino Robot assembly Introduction to ASU VIPLE Remote control Robots by ASU VIPLE](https://reader034.fdocuments.in/reader034/viewer/2022042708/5af510ca7f8b9ae9488cf326/html5/thumbnails/22.jpg)
Download1. ASUVIPLEtool
2. VIPLEreferenceprograms
3. VIPLEprogrammingguidebook
Download
22