One-stop Electronic Manufacturing Services, amakuthandizani kuti mukwaniritse zinthu zanu zamagetsi mosavuta kuchokera ku PCB & PCBA

HC-05 HC-06 Bluetooth to seri Adapter gawo Gulu CSR Master-Slave 51 MCU chatsopano choyambirira

Kufotokozera Kwachidule:

Maphunziro a AT

HC-05 yophatikizidwa ndi Bluetooth serial communication module (yomwe imadziwika kuti gawo) ili ndi njira ziwiri zogwirira ntchito: ntchito yoyankha

Mode ndi njira yolumikizira yodziwikiratu, mu module yolumikizira yokhayo imatha kugawidwa kukhala Master (Master), Kapolo (Kapolo)

Ndipo Loopback (Loopback) maudindo atatu a ntchito. Pamene gawoli lili mu njira yolumikizira yokha, idzakhazikitsidwa molingana ndi zomwe zidakonzedweratu

Njira yolumikizira kufalitsa deta; Pamene gawoli lili mu njira yoyankhira, malamulo onse a AT akhoza kuchitidwa

Tumizani malangizo osiyanasiyana a AT ku module, ikani magawo owongolera a module kapena malamulo owongolera. Zikhomo zakunja kudzera mu gawo lowongolera

(PIO11) gawo lolowera, lomwe limatha kuzindikira kutembenuka kwamphamvu kwa gawo logwira ntchito.


Tsatanetsatane wa Zamalonda

Zolemba Zamalonda

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.

4


  • Zam'mbuyo:
  • Ena:

  • Lembani uthenga wanu apa ndikutumiza kwa ife