Sabis na Masana'antar Lantarki ta Tasha ɗaya, yana taimaka muku samun samfuran lantarki cikin sauƙi daga PCB & PCBA

HC-05 HC-06 Bluetooth zuwa Serial Adapter module Group CSR Master-Bawa 51 MCU sabon asali

Takaitaccen Bayani:

AT umarni saitin

HC-05 na'urar sadarwa ta Bluetooth (wanda ake kira module) yana da yanayin aiki guda biyu: aikin amsa umarni.

Yanayin da yanayin haɗin kai ta atomatik, a cikin tsarin haɗin kai ta atomatik ana iya raba shi zuwa Jagora (Master), Bawa (Bawa)

Kuma Loopback (Loopback) ayyuka uku na ayyuka. Lokacin da tsarin yana cikin yanayin haɗin kai ta atomatik, za a saita shi ta atomatik bisa ga saitin da ya gabata

Yanayin haɗi don watsa bayanai; Lokacin da tsarin yana cikin yanayin amsa umarni, ana iya aiwatar da duk umarnin AT masu zuwa

Aika umarni daban-daban na AT zuwa tsarin, saita sigogin sarrafawa don tsarin ko bayar da umarnin sarrafawa. Fil na waje ta hanyar tsarin sarrafawa

(PIO11) matakin shigarwa, wanda zai iya gane ƙarfin jujjuyawar yanayin aiki na module.


Cikakken Bayani

Tags samfurin

Ma'anar fil ɗin da aka yi amfani da shi a cikin jerin serial module:
1. PIO8 an haɗa shi da LED don nuna matsayin aiki na module. Bayan an kunna na'urar, tazarar kiftawa ta bambanta ga jihohi daban-daban.
2. PIO9 yana haɗi zuwa LED, yana nuna cewa an haɗa na'urar cikin nasara, kuma LED ɗin zai ci gaba da haskakawa bayan tashar tashar Bluetooth ta daidaita kuma an haɗa shi cikin nasara.
3, PIO11 module hali canza ƙafa, babban matakin -> AT amsa matsayin aiki matsayi, ƙananan matakin ko dakatarwa -> Bluetooth aiki na yau da kullum
Yi jiha.
4. Akwai da'irar sake saiti akan tsarin, kuma an gama sake saiti bayan sake kunnawa.
Matakai don saita babban module:
1, PIO11 saita babba.
2. Powerarfi akan module kuma shigar da yanayin amsa umarnin AT.
3. Hyperterminal ko wani kayan aiki na tashar tashar jiragen ruwa, saita baud rate 38400, data bit 8, stop bit 1, no check bit,
Babu sarrafa kwarara.
4, serial port don aika harafin “AT+ROLE=1\r\n”, cikin nasarar dawo da “OK\r\n”, inda \r\n don ciyarwar layin dawowa.
5, PIO saita ƙasa, sake kunnawa, ƙirar shine babban tsari, bincika tsarin bawa ta atomatik, kafa haɗi.

4


  • Na baya:
  • Na gaba:

  • Ku rubuta sakonku anan ku aiko mana