1
\$\begingroup\$

I have a problem with ATmode in this module. I want to change baud rate and device's name, so I using an app Android "Bluetooth SPP" to pair with module and send ATcommand, but it doesnt reply when I send AT, then I test by connect TX to RX pin and it reply any character I send. In this document http://www.mcu-turkey.com/wp-content/uploads/2013/01/HC-Serial-Bluetooth-Products-201104.pdf , it said "before paired, it is at the AT mode", I misunderstand it, why we can send ATcommand while don't pair device???

\$\endgroup\$
1
\$\begingroup\$

If I understand you are trying to send an AT command over the RF link - this is not how it works.

You need a wired connection to the TX/RX pins on the module, and send the AT commands this way (this is how you can send AT commands before pairing)

Here is an example schematic:

enter image description here

Here is a run through of connecting a HC06 to an Arduino nano.

enter image description here

EDIT- if you are not planning to connect using a microcontroller, then you will need a USB to RS232 cable (TTL level). You can get them with the connectors to fit the header on the modules like this one:

enter image description here

\$\endgroup\$
  • \$\begingroup\$ thank you for reply, I think it sounds right, but what is that wired connection? I have to make a rs232 module to connect it to my computer?? \$\endgroup\$ – nlnl Aug 11 '13 at 19:02
  • \$\begingroup\$ If you don't have a microcontroller, yes. I know there are USB->RS232 cables available on eBay, some purposely made for sending the AT commands. Something like this \$\endgroup\$ – Oli Glaser Aug 11 '13 at 19:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.