Inkcazo yephini esetyenziswa kwimodyuli yothotho:
1. I-PIO8 iqhagamshelwe kwi-LED ukubonisa isimo sokusebenza semodyuli. Emva kokuba imodyuli ilayitiwe, ikhefu lokuqhwanyaza lahlukile kumazwe ahlukeneyo.
2. I-PIO9 idibanisa kwi-LED, ebonisa ukuba imodyuli ixhunyiwe ngempumelelo, kwaye i-LED iya kuhlala ikhanya emva kokuba i-Bluetooth serial port ifaniswe kwaye ixhunyiwe ngempumelelo.
I-3, imodyuli ye-PIO11 yokutshintsha unyawo lwemodyuli, inqanaba eliphezulu-> Isimo sokuphendula somyalelo we-AT, umgangatho ophantsi okanye unqunyanyisiwe-> Umsebenzi weBluetooth wesiqhelo
Yenza urhulumente.
4. Kukho isekethe yokusetha kwakhona kwimodyuli, kwaye ukusetha kwakhona kugqitywe emva kokunika amandla kwakhona.
Amanyathelo okuseta imodyuli enkulu:
1, PIO11 iseti phezulu.
2. Amandla kwimodyuli kwaye ufake imo yokuphendula yomyalelo we-AT.
3. I-Hyperterminal okanye esinye isixhobo se-serial port, setha izinga le-baud 38400, i-data bit 8, i-stop bit 1, akukho bit check,
Akukho lawulo lokuqukuqela.
4, isisiriyali sezibuko ukuthumela unobumba “AT+ROLE=1\r\n”, ubuyise ngempumelelo “Kulungile\r\n”, apho \r\n kumgca wokubuyela kwifidi.
I-5, i-PIO ibeka ephantsi, amandla kwakhona, imodyuli yimodyuli ephambili, khangela ngokuzenzekelayo imodyuli yekhoboka, ukuseka uxhumano.