Tsanangudzo yepini inoshandiswa mune serial module:
1. PIO8 yakabatana ne LED kuratidza mamiriro ekushanda emodule. Mushure mekunge module yaiswa simba, nguva yekupenya inosiyana kune dzakasiyana nyika.
2. PIO9 inobatanidza ne LED, zvichiratidza kuti module yakabatanidzwa kubudirira, uye LED icharamba ichipenya mushure mokunge Bluetooth serial port inofananidzwa uye yakabatanidzwa kubudirira.
3, PIO11 module chimiro chinja tsoka, yakakwirira nhanho -> AT yekuraira mhinduro yekushanda mamiriro, yakaderera mwero kana kumiswa -> Bluetooth basa rekuita
Ita nyika.
4. Pane reset reset pane module, uye reset inopedzwa mushure mekugadzirisa zvakare simba.
Matanho ekuseta iyo master module:
1, PIO11 yakaiswa kumusoro.
2. Simba pane module uye pinda AT yekuraira mhinduro mamiriro.
3. Hyperterminal kana imwe serial port tool, set baud rate 38400, data bit 8, stop bit 1, hapana cheki,
Hapana kudzora kuyerera.
4, serial port yekutumira mavara "AT+ROLE=1\r\n", budirira kudzorera "OK\r\n", uko \r\n yekudyisa mutsara wekudzoka.
5, PIO set yakaderera, simba zvakare, iyo module ndiyo huru module, otomatiki tsvaga iyo muranda module, simbisa chinongedzo.