Cov txheej txheem:

Bluetooth Tsev Automation Ntawm Android: 3 Cov Kauj Ruam
Bluetooth Tsev Automation Ntawm Android: 3 Cov Kauj Ruam

Video: Bluetooth Tsev Automation Ntawm Android: 3 Cov Kauj Ruam

Video: Bluetooth Tsev Automation Ntawm Android: 3 Cov Kauj Ruam
Video: # 3 YouTube Video Marketing Tools и приложения для продвижения местно... 2024, Kaum ib hlis
Anonim
Bluetooth Tsev Automation Ntawm Android
Bluetooth Tsev Automation Ntawm Android

Nyob hauv lub xyoo pua 21st yog nyob hauv ib puas xyoo ntawm kev siv tshuab txawm li cas los xij, tsis yog txhua tus muaj cov khoom kim heev no, tsis txhob txhawj! Cov lus qhia no yuav qhia koj raws nraim li yuav siv lub cuab yeej siv li cas kom koj tuaj yeem tig lawv los yog tua tsuas yog nyem lub pob ntawm koj lub xov tooj. Yog tias koj xav pom kev ua haujlwm ntawm txoj haujlwm ntawm cov vis dis aus qhia ntawm qhov haujlwm, Kuv qhia koj kom saib cov vis dis aus qhia saum toj no.

Cia peb pib!

Kauj Ruam 1: Cov Ntaub Ntawv Yuav Tsum Tau

Cov Ntaub Ntawv Yuav Tsum Tau
Cov Ntaub Ntawv Yuav Tsum Tau
Cov Ntaub Ntawv Yuav Tsum Tau
Cov Ntaub Ntawv Yuav Tsum Tau
Cov Ntaub Ntawv Yuav Tsum Tau
Cov Ntaub Ntawv Yuav Tsum Tau

1.) Relay Module

2.) Arduino Nano

4.) Bluetooth Module HC-06

5.) Jumper Hlau

Kauj ruam 2: Tsim

Tsim
Tsim
Tsim
Tsim
Tsim
Tsim

Txuas Bluetooth module rau Arduino raws li hauv qab no -

Tswv yim - 5V

Gnd - Yog

Txx - Rx

Rx - Txi

Tom qab ntawd, txuas tus qauv xa mus rau Arduino raws li hauv qab no -

Vcc - Vcc

Gnd -Kev

4 - Pin 13

Tam sim no txuas cov khoom xa tawm mus rau qhov thauj khoom, ib qho xaim ntawm ob qho yuav dhau los ntawm kev xa tawm thiab ib qho yuav ncaj qha mus rau lub nra/khoom siv.

Tom qab koj ua tiav nrog cov lus saum toj no, rub tawm Ardudroid code rau Arduino thiab Upload nws.

Kauj Ruam 3: Xeem

Xeem
Xeem
Xeem
Xeem
Xeem
Xeem

Tam sim no lub sijhawm rau kev sim, rub tawm thiab teeb tsa Ardudroid app los ntawm Google Playstore, qhib nws, qhib koj lub xov tooj Bluetooth thiab mus rau qhov kev xaiv uas koj yuav pom HC-06, txuas rau nws thiab koj npaj txhij mus.

Thaum koj nias cov nyees khawm uas muaj npe xws li 13, 12 thiab 11. Nias cov nyees khawm no yuav toggle tom ntej Arduino pins Siab thiab Tsawg.

Yog tias koj xav pom lub sijhawm ua haujlwm tiag tiag ntawm txoj haujlwm kuv xav kom koj saib cov vis dis aus ntawm qhov haujlwm txuas nrog hauv kev qhia

Pom zoo: