HC-05 Bluetooth Module Guide: Control Arduino Projects from Your Phone
How the HC-05 Bluetooth module connects an Arduino to an Android phone. Wiring, the 3.3V RX pin, master and slave modes, AT commands, and project ideas like Bluetooth cars and home automation.
1 min readBy the module.pk teamاردو میں پڑھیں ↓
Browse all 1 Wireless Modules
The HC-05 Bluetooth module is the easiest way to make an Arduino project wireless. It creates a serial link between your Arduino and a phone, so an Android app can send commands and receive sensor readings as if the phone were connected with a cable.
It is the module behind Bluetooth controlled cars, phone controlled lights and wireless data loggers in student labs across Pakistan. Find it on our wireless modules page.
What the HC-05 does
The HC-05 uses Bluetooth Classic with the Serial Port Profile. Whatever the Arduino prints to the module's RX pin is sent to the paired phone, and whatever the phone sends arrives on the module's TX pin. It can work as a slave (the phone connects to it) or a master (it connects to another HC-05), which is how two Arduinos talk wirelessly.

Wiring the HC-05 to an Arduino
- VCC to 5V and GND to GND.
- HC-05 TX to an Arduino RX pin (use SoftwareSerial to keep the USB port free).
- Arduino TX to HC-05 RX through a simple voltage divider, because the module's logic is 3.3V.
- Pair it from your phone's Bluetooth settings. The default PIN is usually 1234 or 0000.
Project ideas
- Bluetooth car: HC-05 plus an L298N motor driver and two DC gear motors.
- Phone controlled lights: HC-05 plus a relay module.
- Wireless sensor display: send readings from sensor modules to a phone app.
Filter wireless modules on module.pk
Our wireless modules page lets you search by model, such as HC-05, and filter by protocol, for example Bluetooth Classic, and by role (master, slave or both). Each listing shows the operating voltage, logic level, range and interface.
Frequently asked questions
Does the HC-05 work with iPhone?
No. It uses Bluetooth Classic serial, which Android supports and iPhones do not. iPhones need a Bluetooth Low Energy module.
What is the default baud rate of the HC-05?
Usually 9600 for data. AT command mode commonly uses 38400.
اردو میں
HC-05 بلوٹوتھ ماڈیول گائیڈ: فون سے Arduino پراجیکٹ چلائیں
HC-05 بلوٹوتھ ماڈیول Arduino پراجیکٹ کو وائرلیس بنانے کا سب سے آسان طریقہ ہے۔ یہ Arduino اور فون کے بیچ سیریل کنکشن بناتا ہے، تو اینڈرائیڈ ایپ کمانڈ بھیج سکتی ہے اور سینسر کی ریڈنگ لے سکتی ہے جیسے فون تار سے جڑا ہو۔
پاکستان کی سٹوڈنٹ لیبز میں بلوٹوتھ کار، فون سے چلنے والی لائٹ اور وائرلیس ڈیٹا لاگر کے پیچھے یہی ماڈیول ہے۔ یہ ہمارے wireless modules پیج پر ہے۔
HC-05 کیا کرتا ہے
HC-05 سیریل پورٹ پروفائل کے ساتھ بلوٹوتھ کلاسک استعمال کرتا ہے۔ Arduino جو کچھ ماڈیول کی RX پن پر بھیجے وہ جڑے فون پر جاتا ہے، اور فون جو بھیجے وہ ماڈیول کی TX پن پر آتا ہے۔ یہ slave (فون اس سے جڑے) یا master (یہ دوسرے HC-05 سے جڑے) بن سکتا ہے، اسی سے دو Arduino وائرلیس بات کرتے ہیں۔

HC-05 کو Arduino سے جوڑنا
- VCC کو 5V اور GND کو GND سے۔
- HC-05 کی TX کو Arduino کی RX پن سے (USB پورٹ خالی رکھنے کے لیے SoftwareSerial استعمال کریں)۔
- Arduino کی TX کو HC-05 کی RX سے ایک سادہ وولٹیج ڈیوائیڈر کے ذریعے، کیونکہ ماڈیول کی لاجک 3.3V ہے۔
- فون کی بلوٹوتھ سیٹنگ سے جوڑیں۔ ڈیفالٹ PIN عام طور پر 1234 یا 0000 ہوتا ہے۔
پراجیکٹ آئیڈیاز
- بلوٹوتھ کار: HC-05، L298N موٹر ڈرائیور اور دو DC گیئر موٹر۔
- فون سے چلنے والی لائٹ: HC-05 اور ریلے ماڈیول۔
- وائرلیس سینسر ڈسپلے: سینسر ماڈیول کی ریڈنگ فون ایپ پر بھیجیں۔
module.pk پر وائرلیس ماڈیول فلٹر کریں
ہمارے wireless modules پیج پر HC-05 جیسا ماڈل سرچ کریں اور پروٹوکول سے فلٹر کریں، مثلاً بلوٹوتھ کلاسک، اور رول سے (master، slave یا دونوں)۔ ہر پارٹ پر وولٹیج، لاجک لیول، رینج اور انٹرفیس لکھا ہے۔
اکثر پوچھے جانے والے سوال
کیا HC-05 آئی فون پر چلتا ہے؟
نہیں۔ یہ بلوٹوتھ کلاسک سیریل استعمال کرتا ہے جو اینڈرائیڈ پر چلتا ہے، آئی فون پر نہیں۔ آئی فون کو بلوٹوتھ لو انرجی ماڈیول چاہیے۔
HC-05 کا ڈیفالٹ baud rate کیا ہے؟
ڈیٹا کے لیے عام طور پر 9600۔ AT کمانڈ موڈ میں عام طور پر 38400۔
