พี่กำลังฝึกเล่น [Arduino](https://s.shopee.co.th/7fUgFAWSki) กับเซนเซอร์ต่างๆ อยู่ครับ
มีน้องๆ ถามพี่เรื่องวงจรวัดความดัน ความชื้น และอุณหภูมิ เลยแนะนำให้ไปหาซื้อ BME280 มาเล่น
พี่เลยเสนอไอเดียว่า ทำวงจรที่ส่งข้อมูลไปแสดงผลบนสมาร์ทโฟนได้ดีกว่า ขั้นต่อไปก็คือสร้างแอปด้วย MIT App Inventor และปรับแต่งโค้ด Arduino ต้นแบบนั่นแหละ
รายละเอียดเทคนิคเพิ่มเติม
Mobile Atmospheric Telemetry hub
เป็นสถานีตรวจอากาศแบบพกพา ที่ส่งข้อมูลสิ่งแวดล้อมไปยังแดชบอร์ดในสมาร์ทโฟนของคุณผ่านการเชื่อมต่อ Bluetooth แบบไร้สาย
- Multidimensional Sensor Acquisition: Arduino จะอ่านค่าอุณหภูมิและความชื้น (ผ่านเซนเซอร์ DHT series) และความดันบรรยากาศ จากนั้นเฟิร์มแวร์จะคำนวณค่า "Heat Index" (ดัชนีความร้อน) ก่อนส่งข้อมูลออกไป
- BT Serial Command Handshake: แอปในโทรศัพท์จะส่งคำสั่ง "POLL" ไปหา Arduino แล้ว Arduino จะตอบกลับด้วยข้อมูลชุดเดียวที่คั่นด้วยเครื่องหมายจุลภาค (รูปแบบ CSV) ซึ่งประกอบด้วยค่าสภาพอากาศล่าสุดทั้งหมด
การทำงาน
- Live Mobile Data Plotting: เหมาะมากสำหรับงานวิจัยภาคสนาม แอปในสมาร์ทโฟนสามารถบันทึกและพล็อตกราฟข้อมูลสภาพอากาศที่ส่งผ่าน Bluetooth แบบเรียลไทม์ได้ ช่วยให้วิเคราะห์สภาพแวดล้อมได้ทันที
ข้อมูล Frontmatter ดั้งเดิม
title: "Weather Station Bluetooth"
description: "A weather station using BME280 that sends data via Bluetooth (HC05) to a smartphone app developed with MIT App Inventor."
author: "Geniezito"
category: ""
tags:
- "weather"
views: 6052
likes: 1
price: 699
difficulty: "Easy"
components:
- "1x Bluetooth Low Energy (BLE) Module (Generic)"
- "1x SparkFun Atmospheric Sensor Breakout - BME280"
- "1x Arduino Nano R3"
tools: []
apps:
- "1x Weather Station"
downloadableFiles:
- "https://projects.arduinocontent.cc/a19cc94c-fe36-4994-b445-a7229524045a.ino"
- "https://projects.arduinocontent.cc/a19cc94c-fe36-4994-b445-a7229524045a.ino"
documentationLinks: []
passwordHash: "c9525509c2f50cfd0b8717c1ecbfab10589d546fecaf4cf74a4f8e28662b0e57"
encryptedPayload: "U2FsdGVkX19G9yktEPLpvHLV9jM3pDMzeCIEg56Zw/xfY1HiT9lNnIzawn5vJnS7QXQEH8dpTadJN3vqitqpnkLu0cQm7WJUWC5BhpKiIbc="
seoDescription: "Build a Weather station using BME280 and Bluetooth (HC05) to display data on a smartphone app made with MIT App Inventor."
videoLinks: []
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/weather-station-bluetooth-f62ce7_cover.jpg"
lang: "th"