Webtronico BTM-5 Bluetooth Скачать руководство пользователя страница 4

                                                                     

BTM-5 Bluetooth Module Datasheet Rev1.1

 

                                 

3

The pin PIO8 is the indicator for the operation mode, user can use a LED to connect to this 

pin. The LED starts to blink after power up, and the blink frequency subject to change between 

different operation modes. 

The pin PIO9 is the indicator for the link status. It is high when the link established, user can 

use this pin to determine the link status of the BTM-5 module. 

The pin PIO11 is the switch input to select two operation modes. When high it enter the AT 

command mode, when low it enter auto link mode. User can use this pin to change between tow 

modes in real time.   

3

 

AT Command Set 

Note: All AT commands (not case sensitive) should be ended up with \r\n characters.     

3.1

 

TEST Command 

Command Response 

 Parameter 

AT OK NULL 

Example: 

Command : AT\r\n 

Response : OK 

 

3.2

 

RESET Command 

Command Response 

 Parameter 

AT+RESET OK 

NULL 

Example: 

Command : AT+RESET\r\n 

Response : OK 

 

3.3

 

Restore Default Setting Command 

Command Response 

 Parameter 

AT+ORGL OK 

NULL 

Default Setting is : 

1. Device class: 0 

2. Inquiry code: 0x009e8b33 

3. Device mode: Slave mode 

4. Binding mode: SPP 

5. Serial port: 38400 bits/s; 1 stop bit, no parity 

6. Pairing code: 

1234

 

7. Device name: H-C-2010-06-01 

Example: 

Command : AT+ORGL \r\n 

Response : OK 

 

3.4

 

Get Firmware Version Command 

Command Response 

 Parameter 

AT+VERSION? 

+VERSION:< Param > 

OK 

Param: firmware version 

Содержание BTM-5 Bluetooth

Страница 1: ...BTM 5 Bluetooth Wireless TTL Master Slave Transceiver Module AT Command User Guide Rev 1 1 Oct 2010 http www webtronico com...

Страница 2: ...4 Get Firmware Version Command 3 3 5 Get Address 4 3 6 Get the Device Name 4 3 7 Set the Device Name 4 3 8 Set Get Role 4 3 9 Get Device Type 5 3 10 Set Get Password 5 3 11 Set Get Baudrate 5 3 12 Set...

Страница 3: ...ransmission is almost transparent to user it acts as tow UART connect with each other wirelessly The AT command mode is the advanced operation mode User can use supported AT command to change the defa...

Страница 4: ...in to change between tow modes in real time 3 AT Command Set Note All AT commands not case sensitive should be ended up with r n characters 3 1 TEST Command Command Response Parameter AT OK NULL Examp...

Страница 5: ...et the Device Name Command Response Parameter AT NAME OK NULL Examples Command AT NAME r n Response NAME HC05S OK 3 7 Set the Device Name Command Response Parameter AT RNAME Param OK Param bluetooth d...

Страница 6: ...ault 0 The actual meaning is explained in appendix 1 Examples Command AT CLASS r n Response CLASS 0 OK 3 10 Set Get Password Command Response Parameter AT PSWD Param OK AT PSWD PSWD Param OK Param lin...

Страница 7: ...PIO Output Command Response Parameter AT PIO Param1 Param2 OK Param1 PIO port number decimal Param2L PIO port output 0 Low voltage 1 High voltage Examples Set the PIO10 outputs high Command AT PIO 10...

Страница 8: ...high Command AT MPIO 404 r n Response OK 3 16 Get Multiple PIO Input Command Response Parameter AT MPIO MPIO Param OK Param PIO port value 16bits Param 0 PIO0 Param 1 PIO1 Paramp2 PIO2 Param 10 PIO10...

Страница 9: ...rt mask length is 0 9 Invalid PIO port A Device class is 0 byte B Device class is too long C Inquire Access Code length is 0 D Inquire Access Code is too long E Invalid Inquire Access Code F Pairing p...

Отзывы: