Kutanthauzira kwa pini komwe kumagwiritsidwa ntchito mu serial module:
1. PIO8 imalumikizidwa ndi LED kuti iwonetse momwe gawoli likugwirira ntchito. Module ikayatsidwa, nthawi yowunikira imakhala yosiyana m'maiko osiyanasiyana.
2. PIO9 imagwirizanitsa ndi LED, kusonyeza kuti gawoli likugwirizanitsidwa bwino, ndipo LED idzapitirizabe kuwala pambuyo pa doko la Bluetooth serial likugwirizana ndi kugwirizana bwino.
3, PIO11 moduli yosinthira phazi, mulingo wapamwamba -> AT command poyankha magwiridwe antchito, otsika kapena kuyimitsidwa -> Ntchito yanthawi zonse ya Bluetooth
Pangani dziko.
4. Pali kukonzanso dera pa module, ndipo kukonzanso kumatsirizidwa pambuyo poyambitsanso mphamvu.
Njira zopangira master module:
1, PIO11 idakwera kwambiri.
2. Yambani pa module ndikulowetsani AT command state state.
3. Hyperterminal kapena chida china chojambulira, ikani baud rate 38400, data bit 8, stop bit 1, palibe cheke,
Palibe zowongolera.
4, serial port kuti mutumize zilembo "AT+ROLE=1\r\n", bweretsani bwino "OK\r\n", pomwe \r\n pa chakudya chamzere wobwerera.
5, PIO yotsika, yambitsanso mphamvu, gawoli ndiye gawo lalikulu, fufuzani gawo la akapolo, yambitsani kulumikizana.