Cov txheej txheem:

Yuav Ua Li Cas Automate Koj Chav Nrog Arduino? Ntu 1: 5 Cov Kauj Ruam
Yuav Ua Li Cas Automate Koj Chav Nrog Arduino? Ntu 1: 5 Cov Kauj Ruam

Video: Yuav Ua Li Cas Automate Koj Chav Nrog Arduino? Ntu 1: 5 Cov Kauj Ruam

Video: Yuav Ua Li Cas Automate Koj Chav Nrog Arduino? Ntu 1: 5 Cov Kauj Ruam
Video: 5 Yam: Txhob pub muaj nyob hauv Tsev (Tsis Zoo) 2024, Hlis ntuj nqeg
Anonim
Yuav Ua Li Cas Automate Koj Chav Nrog Arduino? Tshooj 1
Yuav Ua Li Cas Automate Koj Chav Nrog Arduino? Tshooj 1

Kuv ib txwm xav tswj kuv chav nyob deb, yog li kuv txiav txim siab los tsim cov kab ke uas tso cai rau kuv ua nws. Yog koj xav kawm yuav ua li cas? tom qab ntawd kuv caw koj ua raws cov theem hauv qab no.

Kauj Ruam 1: Kev Sib Txuas Tshuab

Kev Sib Txuas Lus Tshuab
Kev Sib Txuas Lus Tshuab
Kev Sib Txuas Lus Tshuab
Kev Sib Txuas Lus Tshuab

Peb tuaj yeem xav tias lub xov tooj ntawm tes yog qhov kev xaiv zoo tshaj plaws tab sis tsis yog, tam sim no, xav txog qhov ntawd: Peb xav pw, 12 teev tsaus ntuj, tsaug zog thiab tom qab ntawd yuav tsum qhib peb lub vijtsam xov tooj, qhib nws, qhib lub app, txuas nrog lub bluetooth module, thiab tom qab ntawd qhib lossis tua peb lub teeb, qhov no tsis suab zoo, tab sis, yog tias peb siv Infrared chaw taws teeb tswj peb tsuas yog nyem lub pob. Yog li vim qhov ntawd hauv qhov kev qhia no peb yuav siv Infrared chaw taws teeb tswj.

Kauj Ruam 2: Cov Ntaub Ntawv:

Cov ntaub ntawv
Cov ntaub ntawv

Peb tsuas xav tau ob peb yam:

1-Arduino (tsis hais tus qauv twg).

2-Hlau.

3-IR Sensor

4-Khoos phib tawj.

5-Creadboard

6-Ib qho USB cable rau program arduino.

Kauj Ruam 3: Daim duab thiab teeb tsa

Daim duab thiab Los Ua Ke
Daim duab thiab Los Ua Ke
Daim duab thiab Los Ua Ke
Daim duab thiab Los Ua Ke

Kauj ruam 4: Program thiab Code

Program thiab Code
Program thiab Code

Koj yuav tsum rub IRremote.h lub tsev qiv ntawv tab sis qhov ntawd yog txhua yam:

Nyem qhov no mus rub lub tsev qiv ntawv

Pom zoo: