Cov txheej txheem:

Mi Band Ntes Siv ESP32 BLE: 6 Kauj Ruam
Mi Band Ntes Siv ESP32 BLE: 6 Kauj Ruam

Video: Mi Band Ntes Siv ESP32 BLE: 6 Kauj Ruam

Video: Mi Band Ntes Siv ESP32 BLE: 6 Kauj Ruam
Video: Plab Plab Ntswg..(Pluav Pluav Ntswg) Maiv Twm New Song 2023-2024 2024, Kaum ib hlis
Anonim
Mi Band Ntes Siv ESP32 BLE
Mi Band Ntes Siv ESP32 BLE

Nyob Zoo Maker m (- -) m

Kuv nyeem kab ntawv no 陳亮 (moononournation github) txog kev siv esp32 ble rau luam theej duab lub cuab yeej yog li kuv yuav tsum sim cov cai no ntawm github Arduino_BLE_Scanner. tam sim no kuv xav siv kuv Mi Band 3 txhawm rau qhib lub qhov rooj thaum kuv los rau kuv lub chaw haujlwm, Cia saib seb nws ua haujlwm li cas !!!

Yam khoom siv hauv txoj haujlwm no

  1. ESP32 TTGO T1
  2. Mi Band 2 lossis 3
  3. Khoos phis tawj nrog Arduino IDE teeb tsa lawm

Tsev qiv ntawv & Kev pabcuam

ESP32_BLE_Arduino

Kauj Ruam 1: Npaj Koj Lub Tsev Qiv Ntawv

Npaj Koj Lub Tsev Qiv Ntawv
Npaj Koj Lub Tsev Qiv Ntawv
  1. Rub tawm thiab Nruab Qiv ESP32_BLE_Arduino
  2. Rub tus qauv piv txwv

Kauj Ruam 2: Tshawb nrhiav BLE-detector.ino

Tshawb nrhiav BLE-detector.ino
Tshawb nrhiav BLE-detector.ino

Kauj Ruam 3: Sau thiab xa cov lej xa mus rau koj Pawg Neeg Saib Xyuas

Sau thiab xa cov cai rau koj pawg thawj coj
Sau thiab xa cov cai rau koj pawg thawj coj

Thaum koj upload cov cai no rau koj pawg thawj coj, koj tuaj yeem pom qhov haujlwm ua haujlwm ntawm Serial monitor hauv baud tus nqi 115200. Tam sim no koj yuav tsum nrhiav lub npe ntawm koj li band.

Kauj Ruam 4: Hloov Kho Txoj Cai txhawm rau Tshawb Nrhiav Koj Mi Band

Kho kom raug cai txhawm rau Tshawb Nrhiav Koj Mi Band
Kho kom raug cai txhawm rau Tshawb Nrhiav Koj Mi Band

Ntawm Arduino IDE, kab 65 - 82 yog sib piv cov ntaub ntawv sib xyaw thaum lub npe ntaus ntawv "Mi Band 3" uas yog koj li cuab yeej. Cov kauj ruam tom ntej koj yuav tsum ua kom zoo deviceAddress kom paub tseeb tias nws yog koj Mi Band.

Hauv kab 74, Koj tuaj yeem hloov RSSI rau kev kho kom pom deb.

Kauj Ruam 5: Saib ntawm LED ntawm Rooj Tswjhwm Saib Thaum Koj Tuaj Kaw Cov Ntaus

Saib ntawm LED ntawm Lub Rooj Tsav Xwm Thaum Koj Los Kaw Cov Ntaus
Saib ntawm LED ntawm Lub Rooj Tsav Xwm Thaum Koj Los Kaw Cov Ntaus
  • Thaum ESP32 txheeb xyuas koj li Mi Band, LED onboard yuav qhib
  • Thaum ESP32 tsis tuaj yeem txheeb xyuas koj li Mi Band LED onboard yuav tig OFF

Pom zoo: