Arduino Bluetooth Pin Code and Name changing using AT commands

(Last Updated On: October 26, 2019)

Bluetooth arduino

Description:

 Arduino Bluetooth- 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 HC-05 or HC-06 Bluetooth module, there is a very little change in the AT commands, while the use of both the Bluetooth modules is exactly the same.

Watch Video tutorial “Click Here


The components and tools used in this project can be purchased from Amazon, the components Purchase links are given below:

Arduino Uno:https://amzn.to/2tVz1vu

Mega 2560:https://amzn.to/2ze1kdu

Bluetooth Module: Hc-05:https://amzn.to/2CMHNiN

Super Starter kit for Beginners: https://amzn.to/2KJvmKG

Jumper Wires:https://amzn.to/2KMoVXs

Bread Board:https://amzn.to/2MS4q8X

12v Adaptor:https://amzn.to/2Ntr6h1

PCB plate:https://amzn.to/2IUwpCt

Variable Supply:https://amzn.to/2MT4Qfj

Digital Multimeter:https://amzn.to/2Nvft9i

Vero Board / stripboard:https://amzn.to/2MTf9jD

Soldering iron kit:  “best”  You guys should definitely purchase this:https://amzn.to/2zfoNuJ

Solder wire:https://amzn.to/2ufUMWf

Wire Stripper:https://amzn.to/2KOqxfU

wirecutter:https://amzn.to/2ucIq14

PCB small portable drill machine:https://amzn.to/2Nu62XF

*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

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. “Click Here


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

Recommended For You

About the Author: 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

Close