Incazelo yephinikhodi esetshenziswe kumojuli ye-serial:
1. I-PIO8 ixhunywe ku-LED ukukhombisa isimo sokusebenza semojuli. Ngemuva kokuthi imojuli ivuliwe, isikhawu sokucwayiza sihlukile ezifundeni ezahlukene.
2. I-PIO9 ixhuma ku-LED, okubonisa ukuthi imojuli ixhunywe ngempumelelo, futhi i-LED izohlala ikhanya ngemva kokuba imbobo ye-Bluetooth ye-serial ifaniswe futhi ixhunywe ngempumelelo.
3, unyawo lokushintsha isimo semojuli ye-PIO11, izinga eliphezulu -> Isimo sokusebenza sempendulo ye-AT, izinga eliphansi noma elimisiwe -> Umsebenzi we-Bluetooth
Yenza isimo.
4. Kukhona isifunda sokusetha kabusha kumojula, futhi ukusetha kabusha kuqedwa ngemva kokunika amandla kabusha.
Izinyathelo zokusetha imojuli eyinhloko:
1, i-PIO11 isethwe phezulu.
2. Faka amandla kumojula bese ufaka isimo sokuphendula somyalo we-AT.
3. I-Hyperterminal noma elinye ithuluzi le-serial port, setha izinga le-baud 38400, i-data bit 8, i-stop bit 1, ayikho isheke bit,
Akukho ukulawula ukugeleza.
4, imbobo yomkhiqizo ukuthumela uhlamvu oluthi “AT+ROLE=1\r\n”, ubuyisele ngempumelelo okuthi “KULUNGILE\r\n”, lapho \r\n kokuphakelayo komugqa wokubuyisela.
I-5, i-PIO isethelwe phansi, ivule amandla futhi, imojula iyimojula eyinhloko, sesha ngokuzenzakalelayo imodyuli yesigqila, sungula uxhumano.