Как изменить название блютуз модуля

Do you want to change Bluetooth name in Windows? Learn how to rename a Bluetooth device. Bluetooth devices with random names can confuse one.

Download PC Repair Tool to quickly find & fix Windows errors automatically

In this article, we will show you how to rename or change Bluetooth name in Windows 11/10. You can connect multiple Bluetooth devices with your computer. All the connected devices can be viewed in the Settings app and the Control Panel.

When you pair your device with your computer via Bluetooth, Windows 11/10 automatically sets its name. This is the default name that the manufacturer provides to a particular device. There might be situations when you need to change the name of a Bluetooth device. For example, if there is more than one device of similar names or if the device name does not make any sense like LAPTOP IBCSBRTQ, HX801, etc.

rename bluetooth device in Windows 10

Bluetooth is a wireless technology that allows you to share your files between two devices, provided that they support Bluetooth. Bluetooth technology is not limited to sharing data and files among connected devices. Nowadays, Bluetooth-supported keyboards, mice, headphones, and other accessories are also available in the market which you can connect with your computer and smartphone.

rename bluetooth device Windows 10

Enable Bluetooth in Windows 11/10

To rename a Bluetooth device in Windows 11/10, first, you have to turn ON your Windows 10 Bluetooth. Without turning it ON, you cannot rename a Bluetooth device. To do so:

  • Open the Settings app
  • Click Devices
  • Now, select Bluetooth & other devices from the left pane
  • Toggle the Bluetooth switch on the right pane.

How to change Bluetooth name in Windows 11/10

After turning ON the Bluetooth, follow the instructions given below to change the name of your Bluetooth device::

  1. Press Win + R keys and type Control Panel in the Run dialog box. After that click OK.
  2. In the Control Panel window, go to “Hardware and Sound > Devices and Printers.”
  3. Now, right-click on the Bluetooth device, the name of which you want to change. Select Properties.
  4. In the device property window, click on the Bluetooth tab and rename the device.
  5. Click Apply, then OK to save the changes that you have made.

Tip: Improve the battery life of the Wireless Keyboard and Mouse.

The changes will not take effect immediately. After renaming the device, turn OFF your Windows 10 Bluetooth, wait for a few seconds, then turn it ON again.

That’s it.

Related posts:

  • How to rename a Printer in Windows.
  • How to rename an Audio device in Windows.

Ezoic

Nishant is a tech enthusiast who loves writing about technology and gadgets. He has completed B.Tech. Apart from writing, he likes to spend his time on his plantation.

Download PC Repair Tool to quickly find & fix Windows errors automatically

In this article, we will show you how to rename or change Bluetooth name in Windows 11/10. You can connect multiple Bluetooth devices with your computer. All the connected devices can be viewed in the Settings app and the Control Panel.

When you pair your device with your computer via Bluetooth, Windows 11/10 automatically sets its name. This is the default name that the manufacturer provides to a particular device. There might be situations when you need to change the name of a Bluetooth device. For example, if there is more than one device of similar names or if the device name does not make any sense like LAPTOP IBCSBRTQ, HX801, etc.

rename bluetooth device in Windows 10

Bluetooth is a wireless technology that allows you to share your files between two devices, provided that they support Bluetooth. Bluetooth technology is not limited to sharing data and files among connected devices. Nowadays, Bluetooth-supported keyboards, mice, headphones, and other accessories are also available in the market which you can connect with your computer and smartphone.

rename bluetooth device Windows 10

Enable Bluetooth in Windows 11/10

To rename a Bluetooth device in Windows 11/10, first, you have to turn ON your Windows 10 Bluetooth. Without turning it ON, you cannot rename a Bluetooth device. To do so:

  • Open the Settings app
  • Click Devices
  • Now, select Bluetooth & other devices from the left pane
  • Toggle the Bluetooth switch on the right pane.

How to change Bluetooth name in Windows 11/10

After turning ON the Bluetooth, follow the instructions given below to change the name of your Bluetooth device::

  1. Press Win + R keys and type Control Panel in the Run dialog box. After that click OK.
  2. In the Control Panel window, go to “Hardware and Sound > Devices and Printers.”
  3. Now, right-click on the Bluetooth device, the name of which you want to change. Select Properties.
  4. In the device property window, click on the Bluetooth tab and rename the device.
  5. Click Apply, then OK to save the changes that you have made.

Tip: Improve the battery life of the Wireless Keyboard and Mouse.

The changes will not take effect immediately. After renaming the device, turn OFF your Windows 10 Bluetooth, wait for a few seconds, then turn it ON again.

That’s it.

Related posts:

  • How to rename a Printer in Windows.
  • How to rename an Audio device in Windows.

Nishant is a tech enthusiast who loves writing about technology and gadgets. He has completed B.Tech. Apart from writing, he likes to spend his time on his plantation.

СОДЕРЖАНИЕ ►

  • Устройство и распиновка Bluetooth модуля
  • Настройка Bluetooth модуля HC-05 / HC-06
    • Код прошивки блютуз модуля HC-05 Arduino
    • Прошивка модуля HC-06 AT-командами
    • AT-команды HC-06 / HC-05 для настройки

Рассмотрим, как сделать настройку Bluetooth модуля для Arduino с помощью AT-команд, отправляемых по последовательному порту. Данная информация будет полезна для тех, кто решил сделать проект на Ардуино в котором необходимо использовать беспроводную передачу данных между устройствами. При прошивке модуля, можно изменить многие параметры, установленные производителем.

Схема и распиновка Bluetooth модуля

Bluetooth модуль распиновка, схема

HC05/06 Bluetooth модуль распиновка, схема

Для настройки модуля необходимо подключить к нему питание от 3,3 Вольт, кроме того необходимо подать 3,3 Вольта на порт 34 (см. фото выше). Прошивка осуществляется по последовательному порту, так как аппаратный последовательный порт у Ардуино (порты TX и RX) будет занят для отправки AT-команд с компьютера, то мы используем программный последовательный порт с помощью библиотеки SoftwareSerial.h.

Данная библиотека позволяет реализовать программный последовательный порт на любых цифровых выходах Ардуино. Для настройки Bluetooth модуля его следует перевести в режим отладки — необходимо подключить вывод 34 к 3,3 Вольтам, питание модуля при прошивке тоже идет от 3,3 Вольт. В качестве контактов программного последовательного порта будем использовать цифровые выводы 2 и 3 на Arduino UNO.

Настройка Bluetooth модуля HC-05/06

Для этого занятия потребуется:

  • Arduino Uno / Arduino Nano / Arduino Mega;
  • Bluetooth модуль HC-05/06;
  • провода «папа-папа» и «папа-мама».

Настройка Bluetooth модуля с помощью AT-команд

Настройка Bluetooth модуля с помощью AT-команд

После подключения модуля, загрузите скетч для настройки модуля HC-05/06. Скачать скетч и библиотеку SoftwareSerial можно с Google Диск по ссылке здесь. После загрузки скетча, открывайте монитор последовательного порта Arduino IDE и отправляйте AT-команды. Первым делом, следует отправить тестовую команду — AT, для проверки соединения модуля. Ответ модуля HC-05 / HC-06 должен быть — OK.

Скетч для прошивки блютуз модуля Arduino

#include "SoftwareSerial.h"    // подключаем библиотеку
SoftwareSerial mySerial(2,3);  // указываем пины tx и rx

void setup() {
  pinMode(2,INPUT);
  pinMode(3,OUTPUT);
  
  Serial.begin(9600);         // включаем hardware-порт
  mySerial.begin(38400);  // включаем software-порт
  
  Serial.println("start setting");
}

void loop() {
    if (mySerial.available()) {
        char c = mySerial.read();  // читаем из software-порта
        Serial.print(c);                   // пишем в hardware-порт
    }
    if (Serial.available()) {
        char c = Serial.read();      // читаем из hardware-порта
        mySerial.write(c);            // пишем в software-порт
    }
}

Пояснения к коду:

  1. В программе все предельно просто: при получении данных на аппаратном (встроенном) последовательном порту, данные отправляются в программный последовательный порт (на модуль). А при получении данных с модуля, они отправляются на аппаратный последовательный порт, то есть на монитор порта.

Прошивка модуля HC-05 AT-командами

Настройка модуля через монитор последовательного порта

Настройка модуля через монитор порта Arduino IDE

Итак, чтобы изменить код доступа к Bluetooth-модулю, имя или другие характеристики, следует отправить следующие команды через монитор последовательного порта Arduino IDE (смотри скрин ниже). Также приведем пошаговую инструкцию, какие необходимо использовать AT команды для перепрошивки HC-05. А в конце статьи размещена более полная таблица at команд с небольшими пояснениями.

  1. узнаем имя Bluetooth-модуля: AT+NAME?
  2. задаем новое имя модуля: AT+NAME=ROBOT
  3. узнаем имя Bluetooth-модуля: AT+NAME?
  4. узнаем пин-код Bluetooth-модуля: AT+PSWD?
  5. задаем новый пин-код доступа: AT+PSWD=0000
  6. узнаем пин-код Bluetooth-модуля: AT+PSWD?

Обратите внимание, что при настройке модуля, в мониторе последовательного порта IDE Arduino следует выбрать пункт «NL & CR». После программирования модуля отсоедините вывод 34 от 3,3 Вольт и подключитесь к Bluetooth-модулю с телефона или планшета. Если при первом подключении блютуз модуля к Ардуино, у нас были стандартные настройки, то сейчас наш модуль имеет свое имя и новый пин-код.

Настройка bluetooth модуля на Android

Настройка bluetooth модуля на Android

Таким образом, мы можем использовать в одном месте сразу несколько bluetooth модулей, а чтобы не запутаться присвоить каждому свое уникальное имя. Также мы можем задать новый пин-код, чтобы защитить модуль от постороннего вмешательства. С помощью данной настройки модуля НС-05/06 мы можем получать данные с датчиков не только на мониторе порта, но и на любом Android — устройстве.

HC-06 AT-команды для настройки

AT-команда

Ответ модуля

Примечание

AT OK Тестовая команда
AT+VERSION? +VERSION: … Узнать версию прошивки модуля
AT+RESET OK Сброс настроек
AT+ADDR? +ADDR: … Узнать адрес модуля
AT+NAME? +NAME:«name» Узнать имя модуля, где «name» — имя Bluetooth-модуля
AT+NAME=«name» OK Установить новое имя, где «name» — имя Bluetooth-модуля
AT+PSWD? + PSWD:«pin» Узнать код доступа, где «pin» — код, по умолчанию 1234
AT+PSWD=«pin» «pin»
OK
Установить новый код доступа к модулю, где «pin» — код доступа к Bluetooth-модулю
AT+ROLE? +ROLE:«param» Узнать режим работы модуля, где «param» — режим:
0 — slave. К модулю может подключиться мастер;
1 — master. Модуль сам подключается к устройству.
AT+ROLE=«param» OK Установить режим работы модуля, где «param» — режим

Если у вас еще остались вопросы, то можете их задать в комментариях к этой записи. Если информация на этой странице вам пригодилась и была полезной, то поделитесь ей в социальных сетях и поставьте свою оценку (пять звезд).

Понравилась статья? Поделить с друзьями:
  • Как изменить название битрикс24
  • Как изменить название бизнес страницы фейсбук
  • Как изменить название беспроводных наушников
  • Как изменить название банка
  • Как изменить название базы данных mysql