Webtronico BTM-5 Bluetooth User Manual

Manual is about: Wireless TTL Master/Slave transceiver module

Summary of BTM-5 Bluetooth

  • Page 1

    Btm-5 bluetooth wireless ttl master/slave transceiver module at command user guide rev 1.1, oct 2010 http://www.Webtronico.Com.

  • Page 2

    Btm-5 bluetooth module datasheet rev1.1 1 contents 1 introduction.............................................................................................................................2 2 hardware connection..........................................................................................

  • Page 3: 1  Introduction

    Btm-5 bluetooth module datasheet rev1.1 2 1 introduction the btm-5 module has two operation modes, one is normal auto link mode, and the other is at command mode. User can switch between two modes via pull the mode select pin pio11 low and high respectively. The normal auto link mode is the basic op...

  • Page 4: 3  At Command Set

    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 s...

  • Page 5

    Btm-5 bluetooth module datasheet rev1.1 4 examples: command : at+version? \r response : +version:2.0-20100601 ok 3.5 get address command response parameter at+addr? +addr: ok param: the bluetooth address representation of the address: nap:uap:lap (hex) examples: the address of the bluetooth device...

  • Page 6

    Btm-5 bluetooth module datasheet rev1.1 5 examples: command : at+role?\r response : +role:0 ok 3.9 get device type command response parameter at+class? + class: ok param: device type device type is a 32-bit parameter. It is used to indicate the device class and the service it supports default: 0 t...

  • Page 7

    Btm-5 bluetooth module datasheet rev1.1 6 2: even default:38400,0,0 3.12 set / get link mode command response parameter at+cmode= ok at+ cmode? + cmode: ok param 0: specify bluetooth link address 1: any bluetooth link address 2: slave-loopback default : 0 3.13 set / get bind bluetooth address comman...

  • Page 8

    Btm-5 bluetooth module datasheet rev1.1 7 pio 2 and pio 10 output high: command : at+mpio=404\r response : ok 3.16 get multiple pio input command response parameter at+mpio? +mpio: ok param- pio port value (16bits) param[0]=pio0 param[1]=pio1 paramp2]=pio2 … param[10]=pio10 param[11]=pio11 example...

  • Page 9

    Btm-5 bluetooth module datasheet rev1.1 8 4 appendix a: at command error code refernce error code (hex) description 0 at command error 1 the result is default value 2 pskey write error 3 device name is too long (more than 32 bytes) 4 device name is 0 byte 5 bluetooth address: nap is too long 6 bluet...