Sointhisvideo, we'lltalk a littlebitof, um, orabouttheeyetoseeorthe I squaredPSICommunicationprotocolinregardstoourDinosays, ThisisanamazinglittleprotocolthatallowsyoutocommunicatewithmultipledifferentelectronicdevicesusingsimplytwowirescomingoffofyourartUenoboard.
Buttheonlyissuewiththeeyetoseeprotocolisthatit's anaddressableprotocol, whichmeanseverysingledevice I toseedeviceorgoingtoconnecttoyourIDweknowisgoingtoneedaneyetoseeaddress.
It's kindoflikeputting a D a C P clientonyournetworkandthennotknowingwhat I p address, itwasabletopickup a bigproblemthatyoucanrunintoit I toseeisyouconnecttheeyetoseedevice, butthenwhenyougototrytocommunicatewithit, youdon't knowwhataddressthatthatdevicehas, andsotherefore, you'renotabletoconnectwithit.
Sowhatwe'regoingtodotodayiswe'regoingtocreate a sketchthatallowsyoutoscanfor I toseedevicesthatareconnectedtoourdoweknow.
Soifit's 22 we'regoingtoturn 22 into a Hexidecimalnumbertobeabletoprintout, andit'llbezero X andthenwhateverthehexdecimalnumberis, thenwe'regoingtododevicesplusplus.
Theonethingthat I willsayisyou'renotsurewhichoneisweak.
Isthis 27 oristhisthree c youdon't know?
Sothat's onereasonifyoudon't knowtheaddressof a particular I toseedevice, youmaywanttoplugtheseinindividually, butthisjustkindofshowsyouthatbothdevicescanbepluggedinandcommunicatedwithatthesametimeagain, justusingthesetwolittlewireshere.
Sothat's reallyallthereistothisparticularprojectandsketch, anditwillmakeyourlife a hellof a loteasierbeingabletofindthoseaddressessimplybyrunning a littlesketchlikethis.
Sothereyougo.
That's howyouscanfor I toseeor I squaredPsiaddressesagain.
Theseair, theseair, greatlittledevicestobe a bitconnected.
Ordoweknowit's a greatwaytoconnect a lotofdifferentdevicesusingonlytwowires?
Theproblembeingthoughtheproblembeingis, youmaynotknowwhatexactaddressyourdeviceis, andifyoudon't havesomewaytoscanforit, theymaybecome a realproblemagainwiththeseeyetoseedevices, somedocumentationforthesedevicesisgreat, andsomedocumentationwiththesedevicesishorrible.
Soifyou'resittingthereandyouknowyouboughtsomethingforhalfPricebecauseyouthoughtitwasgonnabesuch a greatdeal, andthenyoufindout, Oh, I havenoideawhatthehelltheaddressforthisthingis.
Usingthislittleguytoseescannercanbe a reallifesaver.