Saturday, January 16, 2021

HC-05 bluetooth AT commands on MacOS

 

 I bought HC-05 to use with Arduino but ran in to some issues trying to get the AT commands working. In this example I will show how to use this with a 3.3V UART - USB cable.

Module : HC-05, ZS-040

Firmware : VERSION:4.0-20190728- BAD version

Firmware : VERSION:2.0-20100601 - GOOD version (AT commands)


MacBook <---> USB-UART cable <--> HC-05




 

 

 

1) Power on while press and holding the button to switch to AT mode








2) In MacOS use CoolTerm with these settings 

 http://freeware.the-meiers.org/













3) connect the 3.3V UART to USB cable 

https://www.amazon.co.jp/-/en/gp/product/B0742CLF6M/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1














4) Power on the module while press and holding the button

press and hold the button every time an AT command is sent

AT

AT+VERSION?











5) Other useful commands 

AT+NAME=HC-05-TEST-1
AT+PSWD=1212



 




No comments: