Bluetooth module HC05

Post date: Oct 10, 2019 2:49:41 AM

Description:

This bluetooth module can be used as master or slave for simple serial bluetooth connection either in between arduino as master/slave or between computer with the hc05 as slave.

Note you can find online the module HC06 which is almost the same except it can only work as slave and cannot be set as master.

This module are only 3.3 v compatible. If used with 5v logic system you must use a voltage divider or a level converter as described here.

Pinout:

HC-05 Default Settings

  • Default Bluetooth Name: “HC-05”

  • Default Password: 1234 or 0000

  • Default Communication: Slave

  • Default Mode: Data Mode

  • Data Mode Baud Rate: 9600, 8, N, 1

  • Command Mode Baud Rate: 38400, 8, N, 1

  • Default firmware: LINVOR

AT Command

This module use AT command to program them. There is no need of library. The module just need to be connected on a serial port (physical or software).

To switch the module to AT mode you must put the EN pin to HIGH.

  • AT : Check the connection.

  • AT+NAME : See default name

  • AT+ADDR : see default address

  • AT+VERSION : See version

  • AT+UART : See baudrate

  • AT+ROLE: See role of bt module(1=master/0=slave)

  • AT+RESET : Reset and exit AT mode

  • AT+ORGL : Restore factory settings

  • AT+PSWD: see default password

Check attached file HC05Datasheet.pdf below for detailed AT command.