09.Sep.2023

Bluetooth modules can be configured and controlled using AT (Attention) commands. This article presents commonly used AT commands and examples for different Bluetooth modules. Similar AT commands are used for many different modules, such as the HM-10, HC-05, and other Bluetooth modules, but there may also be different commands depending on the specific features of the module. You can learn more by reviewing the documentation for your module.

1. Basic AT Commands
AT: Used to check if the module is responding. For example, with the "AT" command, the module should respond.


AT+RESET: Resets the module and returns it to default settings.
AT+VERSION: Displays the software version of the module.


2. Setting the Name of the Bluetooth Module
AT+NAME=ModuleName: Sets the name of the Bluetooth module. For example, the module name is set to "MyModule" with the "AT+NAME=MyModule" command.


3. Setting the Working Role
AT+ROLE: Sets the operating role of the Bluetooth module. The module is set to the slave role with the "AT+ROLE0" command, and the module is set to the master role with the "AT+ROLE1" command.


4. Connection and Disconnect Commands
AT+CON: Allows the Bluetooth module to be connected to another device.
AT+DISC: Allows the module to disconnect the device it is connected to.

5. Viewing the Bluetooth Address
AT+ADDR: Displays the address of the Bluetooth module.


6. Setting the Communication Speed
AT+UART: Sets the communication speed and other UART (Serial) parameters. For example, the communication speed is set to 9600 bps with the command "AT+UART=9600,0,0".


7. Help and Support Commands
AT+HELP: Displays the list and descriptions of supported AT commands.


8. Special Commands
Different Bluetooth modules may contain special manufacturer-specific AT commands. These commands are used to configure certain features of the module and are specified in the manufacturer's documentation.


Bluetooth modules can be easily configured and controlled thanks to AT commands. These commands allow you to customize the features of the module and make it suitable for different application areas. Each module may have specific AT commands and functions, so it is important to consult your module's documentation.

Application example for AT commands is at this link: Bluetooth Module Settings

This article provides commonly used AT commands and examples of Bluetooth modules, which can help configure and control these modules. Similar AT commands are used for many different modules, such as the HM-10, HC-05 and other Bluetooth modules. This guide can help you better understand these modules and use them in your projects.

Guide to AT commands for HM-10, HC-05 and other modules

 

 

Etiketler

İlgili Haberler

ESP8685-WROOM-07 Introduced with Datasheet

Explore innovative Wi-Fi and Bluetooth features with the ESP8685-WROOM-07's current data sheet. Ideal for industrial and consumer applications.

13.10.2023

What is Arduino Nano?

Arduino Nano White Paper

29.05.2023

Espressif ESP8685-WROOM-04 Datasheet Update

Updated datasheet of the Espressif ESP8685-WROOM-04 module. It has wide application areas with its Wi-Fi and Bluetooth features. Ideal for advanced IoT solutions

09.02.2024

Wi-Fi Standards

Wi-Fi Whitepaper

30.05.2023

Voltage Controlled Oscillator NE566

NE566 is a voltage-controlled oscillator or frequency generator IC. Frequency modulation is used in sound reproduction and timer applications

01.06.2023

ESP32 vs Arduino in 2025: Which One Should You Use for Your Project?

Wi-Fi? ESP32. 5 V shields? Arduino. Clear 2025 guide with table: pick the perfect board for IoT, cameras, low-power, DSP

23.11.2025

The World’s Most Famous Transistor: Why the 2N2222 Has Been King for Over 60 Years

The 2N2222: the world’s most-used NPN transistor for 60+ years. Cheap, tough, versatile—and still flying in satellites.

05.12.2025

ESP8684-WROOM-07: General Purpose Wi-Fi and Bluetooth LE Module

ESP8684-WROOM-07 is a general purpose Wi-Fi and Bluetooth LE module. Rich set of peripherals and high performance make this module an ideal choice for smart homes, industrial automation, healthcare, consumer.

04.08.2023

Standards and Reading of SMD Resistors

SMD Resistors values

20.04.2022

Decoder Integrated

Decoder Integrated

20.04.2022

ESP32-C3-LCD Kit User Manual Published

ESP32-C3-LCD kit manual is now available. Get started with this development board that includes an SPI interface display and interactive screen interaction

18.08.2023

ESP32-C2 Series SoC Faults Documentation

ESP8684 Series SoC bug fixes document: Chip revisions, crystal issues and more. With the assurance of Espressif Systems

25.08.2023

IoT Projects with ESP-12F WiFi Module

Bring your IoT projects to life with the ESP-12F WiFi module. Ideal for smart home automation and more ESP-12F projects.

02.09.2023

Technical Structure of IoT Systems

Learn about the basic components and functioning of IoT systems.

02.09.2023

IoT Security: The Increasing Importance of Technology

Check out the technical measures and examples in our article on IoT security.

02.09.2023

HC-05 and HC-06 Bluetooth Modules

Technical information and usage areas about HC-05 and HC-06 Bluetooth modules.

09.09.2023

HM-10 Bluetooth Module

Technical features and usage areas of the HM-10 Bluetooth module. Develop IoT and wireless communication projects

09.09.2023

ST7735 Color TFT Screen

Add additional functionality to your Arduino projects with the ST7735 TFT display

10.09.2023