Cov txheej txheem:

Bluetooth Tswj RGB Lub Teeb: 3 Kauj Ruam
Bluetooth Tswj RGB Lub Teeb: 3 Kauj Ruam

Video: Bluetooth Tswj RGB Lub Teeb: 3 Kauj Ruam

Video: Bluetooth Tswj RGB Lub Teeb: 3 Kauj Ruam
Video: earphone bluetooth charging problem // #shorts // #technical 2024, Lub Xya hli ntuj
Anonim

Puas muaj sijhawm thaum koj xav hloov xim thiab ci ntawm koj lub tsev teeb nrog tsuas yog ob peb kov ntawm koj lub xov tooj? Xov xwm zoo yog-qhov no tuaj yeem ua tiav tau yooj yim siv Bluetooth-qhib microcontroller zoo li Ameba RTL8722 los ntawm Realtek. Ntawm no kuv yuav qhia koj li cas xwb ~

Khoom siv:

  • Ameba D [RTL8722 CSM/DM] x 1
  • RGB LED
  • Android / iOS smartphone

Kauj ruam 1: Kev sib txuas

Kev sib txuas
Kev sib txuas

Xa mus rau daim duab saum toj no los tsim kev sib txuas ntawm microcontroller thiab RGB teeb

Kauj ruam 2: Code

Code
Code

Txoj cai tau saib xyuas ua tiav rau koj lawm, tsuas yog siv arduino IDE txhawm rau rub cov pob khoom ameba thiab lub tsev qiv ntawv (kom paub meej thov xa mus rau phau ntawv qhia ua haujlwm ntawm

Tom qab ntawd ua raws daim duab saum toj no txhawm rau rub tawm cov cai rau hauv pawg thawj coj saib ameba.

Kauj ruam 3: Demo

Demo
Demo
Demo
Demo
Demo
Demo
Demo
Demo

Txog qhov haujlwm no, lub xov tooj smartphone siv los xa cov lus txib hla BLE UART los tswj PWM cov txiaj ntsig thiab hloov xim ntawm RGB LED.

Yog li, xyuas kom meej tias qhov xav tau app tau teeb tsa ntawm koj lub smartphone, nws muaj nyob ntawm:

- Google Play Store:

-Apple App Store:

Qhib lub app ntawm koj lub smartphone, luam theej duab thiab txuas mus rau lub rooj tsav xwm uas tau qhia ua "AMEBA_BLE_DEV" thiab xaiv tus tswj -> xaiv xim ua haujlwm hauv app.

Siv lub log xaiv xim, ua kom pom kev, thiab ci ci ci, xaiv cov xim uas xav tau thiab nyem xaiv kom xa cov txiaj ntsig RGB mus rau pawg thawj coj saib. Koj yuav tsum pom RGB LED hloov pauv rau xim sib piv.

Pom zoo: