ชื่อโปรเจกต์: HC-05 Master & Slave Communication
ประมาณ 2 เดือนที่แล้ว ผมได้โพสต์โปรเจกต์ที่ชื่อว่า " Pseudo Two-Factor Authentication Using HC-05, RFID + Relay! "
นี่เป็นโปรเจกต์ bluetooth แรกของผม และผมก็สนุกกับการทำมันมาก ผมจึงได้เพิ่ม bluetooth module เข้าไปอีกอัน
นี่จะเป็นหนึ่งในหลายๆ โปรเจกต์เกี่ยวกับ HC-05 module ที่จะตามมาในอนาคต
******************************************************************************
ลิงก์ byte คืออะไร?
Serial.write คืออะไร?
AT COMMANDS
ข้อมูลเพิ่มเติม
r/Arduino
MIT App Inventor 2
******************************************************************************
ลิงก์โซเชียลมีเดียที่ติดตามได้ (ถ้าคุณต้องการ): Facebook
Twitter
Instagram
******************************************************************************
นำเสนอหุ่นยนต์ DIY Electronic Parts Action Figure ของผมชื่อ [GERR-E]
https://youtube.com/@HeathenHacks
รายละเอียดทางเทคนิคเพิ่มเติม
ลำดับชั้นเครือข่าย Bluetooth
โปรเจกต์นี้สร้างการเชื่อมโยงไร้สายแบบโดยตรงและกึ่งถาวรระหว่างบอร์ด Arduino สองบอร์ด โดยไม่จำเป็นต้องมีสมาร์ทโฟนเป็นตัวกลาง
การตั้งค่า AT Command : HC-05 Bluetooth module หนึ่งตัวถูกตั้งโปรแกรมให้เป็นโหมด "Master" โดยใช้ serial AT commands เฉพาะ มันถูกตั้งค่าให้ "Bind" กับ MAC address ของ "Slave" module โดยอัตโนมัติ
การเชื่อมโยง Serial แบบโปร่งใส : เมื่อจับคู่กันแล้ว Arduino ทั้งสองจะมองเห็นกันและกันราวกับเป็นสาย RX/TX มาตรฐาน ข้อมูลที่ส่งไปยัง Serial.print() บน Master จะปรากฏบน Serial.read() ของ Slave ทันที
กรณีการใช้งานจริง
การควบคุมระยะไกล : บอร์ด Master (ที่มีปุ่ม/joystick) สามารถควบคุมการเคลื่อนที่ของหุ่นยนต์หรือสวิตช์ไฟที่เชื่อมต่อกับบอร์ด Slave ได้แบบไร้สายจากทั่วทั้งอาคาร (ระยะทางสูงสุด 10-20 เมตร)
ข้อมูล 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: "th"