Arduino Bluetooth Pin Code and Name changing using AT commands
Table of Contents
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:
Arduino Nano USB-C Type (Recommended)
*Disclosure: These are affiliate links. As an Amazon Associate I earn from qualifying purchases
HC-05 Bluetooth Module:
This is the HC-05 Bluetooth module, For the easy interfacing connect male to female type jumper wires.
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.
1 2 3 4 5 6 7 8 9 |
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.
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