当前位置:网站首页>Description of transparent transmission function before master and slave of kt6368a Bluetooth chip, 2.4G frequency hopping automatic connection

Description of transparent transmission function before master and slave of kt6368a Bluetooth chip, 2.4G frequency hopping automatic connection

2022-06-24 22:17:00 qyvhome

Catalog

2.1 Hardware description

2.3 The software version of the chip is different

2.4 Functional specifications

2.5 A serial port AT Instructions

2.6 Precautions for use

3、 ... and 、 Measured data


  • brief introduction

Traditional two chips do short-range wireless communication , It is generally used 433 perhaps 2.4G Wireless chip , But their shortcomings are also obvious .

  1. The overall power consumption of the chip is high
  2. Chips are particularly susceptible to interference , Complex software algorithms are needed to develop stable

Here we recommend using Bluetooth chip , To achieve close one-to-one communication , Because Bluetooth has its own FM mechanism , It can handle interference of the same frequency band , The same chip still uses our standard KT6368A Low cost Bluetooth chip

  • Detailed instructions

2.1 Hardware description

Host version hardware , It is exactly the same as the previous slave , It's just that the burning software is different . I won't support it AT Command to switch , Support AT Instruction sets the target slave , set baud rate , Set up mac Address

2.3 The software version of the chip is different

 

2.4 Functional specifications

1、 Host version chip , It's through “ Bluetooth name + Chip built-in logo ” Jointly used as matching marks

2、 Master and slave , Power on at the same time , One on one at most 2 Seconds to complete the pairing connection

3、 The effective distance has not been measured yet , It will be improved later , But basically 15 Meters or so, no problem

4、 Host version of 2 foot , It's the indicator pin , If the connection is successful, the high level will be output , Output if not connected 10HZ The level of

==》 Whether the connection is normal , This indicator light is used for identification

  1. meanwhile , Because it is BLE, So this kind of application is not suitable for scenarios with a large amount of data , For example, a single delivery 1K Byte data , The actual test shall prevail
  2. meanwhile , What is currently available in this version is AT Set the Bluetooth name of the target slave . set baud rate

If you need to disconnect from the slave . Just cut off the power directly

7、 The host chip factory default search “KT6368A-BLE-2.0” A device of this name , If the slave device has modified the Bluetooth name , Or not the name , Please send AT The command sets the target search name of the host

2.5 A serial port AT Instructions

AT+BMdoiot-BLE\r\n

Set the Bluetooth name to “doiot-BLE”

  1. After setting the Bluetooth name , Need to reset the chip , Send instructions or power off and power on , The new Bluetooth name is displayed . Our default Bluetooth name is “KT6368A-BLE”. The maximum Bluetooth name set is “30” Bytes , Please don't go beyond this range

  1. If AT After the command modifies the Bluetooth name , Be careful , After the host chip is powered on next time , The name set before the default search

  1. If you just got the chip , No name set , The host chip will search by default , Name is “doiot-BLE” The slave device

This instruction is to set the name of the device to be connected , Other instructions are not open for the time being .

2.6 Precautions for use

1、 If the same computer room has 100 Slave modules ,100 Host modules , How to match one by one ?

(1)、 At this time, you need to set the search name of the host to BT001, To BT100

(2)、 At the same time, the slave device should also be set to BT001 To BT100

(3)、 The master will find the corresponding slave device according to the set name , But with more equipment , The connection will be slow , You need to actually test this by yourself

 

3、 ... and 、 Measured data

 

原网站

版权声明
本文为[qyvhome]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/175/202206241536148636.html