Arduino Projects

Arduino Bluetooth Pin Code and Name changing using AT commands

Arduino Bluetooth:

Arduino Bluetooth Pin Code and Name changing using AT commands- This is a very basic and yet very important Tutorial in which you will learn how to change the name and pin code or password of the Bluetooth module using AT commands. It doesn’t matter whether you are using the HC-05 or HC-06 Bluetooth module, there is very little change in the AT commands, while the use of both the Bluetooth modules is exactly the same.

Watch the Video tutorial given at the end of this article.


allpcb circuit

Amazon Links:

Arduino Uno

Arduino Nano USB-C Type (Recommended)

12v Adaptor:

Bluetooth Module: Hc-05:

*Disclosure: These are affiliate links. As an Amazon Associate I earn from qualifying purchases


HC-05 Bluetooth Module:

Bluetooth arduino

This is the HC-05 Bluetooth module, For the easy interfacing connect male to female type jumper wires.

Bluetooth arduino

it has a total of six male headers clearly labeled with

State

RXD

TXD

GND

VCC and

EN

The EN pin also has a push-button, which is used for activating the AT command mode, which I will explain in a minute. now before we interface the Bluetooth_module with the Arduino_Uno, first let’s open a basic Arduino sketch consisting of the void setup and void loop functions.


 as you can see these functions has no coding. Before you upload this program, first of all, make sure that the Arduino is connected with the laptop, and the right board and right comport is selected, then click on the upload button and wait for a while, once the program is uploaded then connect the Bluetooth module with the Arduino.

Connect the en pin of the Bluetooth module with 3.3volts.

 connect the VCC of the Bluetooth module with 5 volts.

 connect the ground with the Arduino’s ground.

connect the Rx pin of the Bluetooth module with the Rx pin of the Arduino_Board and connect the tx pin of the Bluetooth module with the tx pin of the Arduino.



Bluetooth arduino

 so we are done with the interfacing.

when you turn ON the Arduino  Uno, make sure you hold the Bluetooth module Push Button, otherwise, the Bluetooth module won’t enter into the AT commands Mode. For the AT commands implementation watch Video Tutorial.


Watch Video Tutorial:

 

Other Projects in which Bluetooth is used:

Arduino Bluetooth controlled Robot using L298n Motor Driver Android App

Pulse Sensor/ Heartbeat Rate/ Heart rate measurement using Arduino & Bluetooth

Arduino Bluetooth Smart Lock using Android cell phone application

How to use GSM and Bluetooth Together To monitor Any Sensors wirelessly using Arduino

Wireless battery voltage monitor using Arduino and Bluetooth

Wireless Temperature monitoring system using Bluetooth

8×8 LED Matrix MAX7219 Control using Bluetooth and Arduino

Engr. Shahzada Fahad

Engr. Shahzada Fahad is an Electrical Engineer with over 15 years of hands-on experience in electronics design, programming, and PCB development. He specializes in microcontrollers (Arduino, ESP32, STM32, Raspberry Pi), robotics, and IoT systems. He is the founder and lead author at Electronic Clinic, dedicated to sharing practical knowledge.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button
Electronic Clinic
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.