ชื่อโปรเจกต์: Smartwatch - Arduino LED Control (คุมไฟฉบับหล่อเท่บนข้อมือ)
โปรเจกต์นี้พี่จัดทำขึ้นโดยมีเป้าหมายเพื่อสร้างระบบ Domotic (บ้านอัจฉริยะ) โดยใช้ Smartwatch เป็นตัวคุม เพราะมันสะดวกกว่าเยอะที่จะสั่งการผ่านนาฬิกาบนข้อมือ ดีกว่าต้องมานั่งควักมือถือออกจากกระเป๋าทุกรอบที่อยากจะสั่งงานอะไรสักอย่าง เชื่อพี่...แบบนี้มันหล่อเท่กว่าเยอะ!
รายละเอียดทางเทคนิค (ตั้งใจอ่านนะน้อง)
การพัฒนา HMI แบบสวมใส่
โปรเจกต์นี้เป็นการเชื่อมต่อ Interface บน Android Smartwatch เข้ากับ Hardware ของ Arduino เพื่อสร้างประสบการณ์ควบคุมแบบ "Wrist-Control" ส่วนตัว
- Bluetooth Serial Link: ตัว Arduino จะเชื่อมต่อกับ Smartphone ผ่าน Module HC-05 หรือ BT-4.0 BLE โดยมี App ที่เราเขียนเองจาก MIT App Inventor คอยส่งค่า Sliders หรือปุ่มกดต่างๆ มาโชว์บนหน้าปัดนาฬิกา จัดไปวัยรุ่น!
- Data Packet Parsing: ตัว Arduino จะรับชุดข้อความ RGB (เช่น
R120G255B000) แล้วเอามาแกะข้อมูลเพื่อแปลงเป็นค่าความเข้มของ PWM ส่งไปคุมไฟ LED strip ที่ต่ออยู่ ห้ามช็อตนะตัวนี้!
การตรวจเช็คสถานะระยะไกล
- Bi-Directional Feedback: (เวอร์ชันแอดวานซ์) ตัว Arduino สามารถส่งข้อมูลสถานะ (อย่างพวกระดับแบตเตอรี่ หรือ อุณหภูมิ) กลับมาโชว์บน Smartwatch ได้ด้วยนะ เปลี่ยนข้อมือเราให้กลายเป็นหน้าจอ Telemetry แบบรีโมทได้เลย สู้งานนะน้อง!
ข้อมูล Frontmatter ดั้งเดิม
title: "Smartwatch - Arduino LED Control"
description: "This project shows the first prototype of a connection between a smartwatch and Arduino for controlling eight LEDs."
author: "dspenas"
category: "Internet of Things, BT & Wireless"
tags:
- "communication"
- "smartwatches"
- "remote control"
views: 20698
likes: 11
price: 1499
difficulty: "Intermediate"
components:
- "1x LEDs"
- "1x Jumper wires (generic)"
- "1x Pebble Watch"
- "1x SparkFun Bluetooth Modem - BlueSMiRF Silver"
- "1x Resistor 221 ohm"
- "1x Arduino UNO"
tools: []
apps:
- "1x Arduino IDE"
- "1x MIT App Inventor"
downloadableFiles: []
documentationLinks: []
passwordHash: "9479724d233919ee5d086589a5d82978ffff4d678632fab3b12154b7d93dc3c9"
encryptedPayload: "U2FsdGVkX19J/7RfFBITrGxUbhV6aOraolWB9+GE1k8UmsiutuwsOcbjQqpbPHPJ0B7amBPJ2q7zU51wK5TZz3cSFEBvObIyMCA/RGaGMkOk0z/twWI4m9K4Nv6/uB9v"
seoDescription: "A prototype project demonstrating how to connect a Smartwatch to Arduino for controlling 8 LEDs."
videoLinks:
- "https://www.youtube.com/embed/ZZFQbNPhZ2I"
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/smartwatch-arduino-led-control-e27038_cover.jpg"
lang: "th"