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.

Amazon Links:

12v Adaptor:

Arduino Uno

Arduino Nano

Mega 2560:

Bluetooth Module: Hc-05:

Other Tools and Components:

Top Arduino Sensors:

Super Starter kit for Beginners

Digital Oscilloscopes

Variable Supply

Digital Multimeter

Soldering iron kits

PCB small portable drill machines

*Please Note: These are affiliate links. I may make a commission if you buy the components through these links. I would appreciate your support in this way!

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





VCC and


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.

void setup() {
  // put your setup code here, to run once:


void loop() {
  // put your main code here, to run repeatedly:


 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 Fahad

My name is Shahzada Fahad and I am an Electrical Engineer. I have been doing Job in UAE as a site engineer in an Electrical Construction Company. Currently, I am running my own YouTube channel "Electronic Clinic", and managing this Website. My Hobbies are * Watching Movies * Music * Martial Arts * Photography * Travelling * Make Sketches and so on...

Leave a Reply

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

Back to top button