กลับไปหน้ารวมไฟล์
hc-05-master-slave-communication-87cffc-en.md

About 2 months ago, I have posted a project called "Pseudo Two-Factor Authentication Using HC-05, RFID + Relay!"

It was my first bluetooth project and I did have fun doing it, so I added another bluetooth module in to the mix.

This is going to be one of my many projects related HC-05 modules to come in to the future.

******************************************************************************

Links

What is a byte?

What is Serial.write?

AT COMMANDS

MORE INFO

r/Arduino

MIT App Inventor 2

******************************************************************************

Social Media Links To Follow (I mean, if you want to):

Facebook

Twitter

Instagram

******************************************************************************

Featuring my DIY Electronic Parts Action Figure called [GERR-E].

Video Uploaded

https://youtube.com/@HeathenHacks

EXPANDED TECHNICAL DETAILS

Bluetooth Networking Hierarchy

This project establishes a direct, semi-permanent wireless link between two Arduino boards without needing a smartphone intermediary.

  • AT Command Configuration: One HC-05 Bluetooth module is programmed into "Master" mode using specific serial AT commands. It is set to automatically "Bind" to the MAC address of the "Slave" module.
  • Transparent Serial Link: Once paired, the two Arduinos see each other as a standard RX/TX wire. Data sent to the Serial.print() on the Master instantly appears on the Serial.read() of the Slave.

Practical Use Case

  • Remote Control: The Master board (with buttons/joystick) can wirelessly control robot movement or light switches connected to the Slave board from across a building (up to 10-20m range).

ข้อมูล Frontmatter ดั้งเดิม

title: "HC-05 Master & Slave Communication"
description: "One of many Bluetooth-related projects coming soon."
author: "Heathen_Hacks-v2"
category: ""
tags: []
views: 8252
likes: 0
price: 1120
difficulty: "Easy"
components:
  - "3x Momentary Push Button"
  - "1x Male/Female Jumper Wires"
  - "1x Resistor 2.21k ohm"
  - "2x HC-05 Bluetooth Module"
  - "1x Resistor 221 ohm"
  - "1x Jumper wires (generic)"
  - "3x Resistor 10k ohm"
  - "1x Resistor 1k ohm"
  - "1x Solderless Breadboard Full Size"
  - "2x Arduino UNO"
  - "1x RGB Diffused Common Anode"
tools: []
apps:
  - "1x Arduino IDE"
downloadableFiles:
  - "https://projects.arduinocontent.cc/eb06ff29-2a7e-417a-bb36-a051ebef881b.ino"
  - "https://projects.arduinocontent.cc/49049885-bcfd-4a72-af74-6d53b370b2f7.ino"
  - "https://projects.arduinocontent.cc/eb06ff29-2a7e-417a-bb36-a051ebef881b.ino"
  - "https://projects.arduinocontent.cc/d887a18e-d4f8-4702-bb40-4d46ab330697.ino"
  - "https://projects.arduinocontent.cc/49049885-bcfd-4a72-af74-6d53b370b2f7.ino"
documentationLinks: []
passwordHash: "c3fb0a271a6b68e20d54ff2d131f29e0eeb9740929bdc1a565a3eb31f4e88481"
encryptedPayload: "U2FsdGVkX19AyDFZ7wWi157fhuK3i0NSdGAS7TCVjVVP++6LA4pmGzCOZ7Aw4l4XpcBTIovR8Q9AQflPmr3/mLDPn8DRPJNVC9UzLO/NObA="
seoDescription: "Learn HC-05 Master & Slave Communication for Arduino Bluetooth projects. A guide to wireless connectivity and module setup."
videoLinks:
  - "https://www.youtube.com/embed/tX94UfCP7Bo"
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/hc-05-master-slave-communication-87cffc_cover.jpg"
lang: "en"