Cov txheej txheem:

Yooj Yim Arduino Wireless Burglar Tswb: 12 Cov Kauj Ruam (nrog Duab)
Yooj Yim Arduino Wireless Burglar Tswb: 12 Cov Kauj Ruam (nrog Duab)

Video: Yooj Yim Arduino Wireless Burglar Tswb: 12 Cov Kauj Ruam (nrog Duab)

Video: Yooj Yim Arduino Wireless Burglar Tswb: 12 Cov Kauj Ruam (nrog Duab)
Video: Thai Sounders - Yooj Yim (Official Music Video) 2024, Kaum ib hlis
Anonim
Yooj Yim Arduino Wireless Burglar Tswb
Yooj Yim Arduino Wireless Burglar Tswb
Yooj Yim Arduino Wireless Burglar Tswb
Yooj Yim Arduino Wireless Burglar Tswb
Yooj Yim Arduino Wireless Burglar Tswb
Yooj Yim Arduino Wireless Burglar Tswb

Txoj haujlwm no yog hloov kho cov lus qhia txaus los ntawm deba168. Koj tuaj yeem saib qhov qub ntawm no.

Kuv qhia kev kawm qib qib 8, yog li kev qhia yuav tham txog cov khoom peb muaj hauv peb chav … Koj cov cuab yeej yuav txawv. Kuv tau kawm cov lus txiav mus rau cov kauj ruam luv luv, tab sis qhov ntawd yog qhov kuv tau pom ua haujlwm zoo tshaj plaws nrog kuv cov tub ntxhais kawm. Cov chav kawm yog qhov qhia tus kheej zoo li cov tub ntxhais kawm ua haujlwm dhau cov qauv uas lawv tau xaiv. Kuv muaj ntau dua 30 thaj tsam los ntawm lawv los kawm, thaum 18 lub lis piam lawv nyob nrog kuv.

Yog tias koj xav pom dab tsi Modular Technology hais txog, koj tuaj yeem saib peb lub vev xaib. Koj tseem tuaj yeem ua raws peb @HLModTech ntawm Twitter, Instagram thiab ntawm Facebook.

Kauj Ruam 1: Tau Txais Cov Khoom Ua Si

Image
Image
Txuas cov Cheeb Tsam Loj
Txuas cov Cheeb Tsam Loj

Txhawm rau ua tiav txoj haujlwm no koj yuav xav tau 2 lub rooj sib tham arduino. Kuv siv nano thiab duemilanove rau kuv. Koj kuj xav tau cov hauv qab no

  • pir tsab ntawv tsa suab sensor
  • ib buzzer
  • coj
  • resistor (Kuv siv 220 Ohm, tab sis koj tuaj yeem siv txhua yam ua rau koj hnub)
  • 2 daim ntawv qhia zaub mov
  • wireless xa thiab txais cov khoom siv. Kuv tau txais kuv li ntawm miniinthebox raws li qhia hauv daim duab rau tsawg dua 2 daus las.
  • 2 cov laug cam arduino (Kuv muaj duemilanove thiab nano)

Kauj Ruam 2: Txuas Qhov Tseem Ceeb

Muab cov khoom tso rau hauv qhov chaw raws li qhia

Kauj Ruam 3: Txuas Cov Cheeb Tsam Loj

Txuas cov ntu tseem ceeb raws li qhia hauv video

Kauj Ruam 4: Cov Hluav Taws Xob

Ntxiv cov xov hlau rau GND thiab Fais Fab

Kauj ruam 5: Tsab ntawv tsa suab Sensor

Image
Image

Txuas thiab xaim-nce lub suab sensor.

Kauj Ruam 6: Thauj Txoj Cai rau Nano - Tus Kws Tshaj Lij

Mus Sijhawm! =)
Mus Sijhawm! =)

Koj yuav tsum muaj lub tsev qiv ntawv xov tooj cua virtual muaj rau txoj haujlwm no. Koj tuaj yeem rub nws ntawm no.

Tsev qiv ntawv hlau hlau

Yog tias koj tsis tau ntxiv lub tsev qiv ntawv rau koj Arduino IDE ua ntej, qhov txuas no yuav coj koj mus rau kev qhia. Nws qhib hauv lwm lub qhov rais, yog li qhov no yuav tos koj thaum koj rov qab los.

Kuv Cov Video qhia pom tus lej xa mus, vim kuv twb tau muab nws tso rau hauv PC cov tub ntxhais kawm… Koj yuav tsum luam thiab hla nws mus rau hauv Arduino IDE ntawm koj tus kheej.

Kauj Ruam 7: Tsiv mus rau Tus Txais

Image
Image

Siv cov kauj ruam hauv cov yeeb yaj kiab los ntxiv kho vajtse rau koj lub khob cij.

Kauj Ruam 8: Ntxiv Cov Hluav Taws Xob

Hlau nws li cov yeeb yam qhia.

Kauj Ruam 9: Ntxiv Buzzer

Sib koom lub buzzer raws li qhia ntawm no. Kuv nyiam nco cov xov tooj cua rau kuv lub suab nrov vim tias nws yog qhov zoo uas tuaj yeem tshem nws tam sim thaum koj nkees ntawm lub tswb nrov. =)

Kauj ruam 10: Upload Code

Ib zaug ntxiv koj yuav tsum muaj lub tsev qiv ntawv xaim hluav taws xob teeb tsa. Nws tau piav qhia hauv qib 6 saum toj no.

Kuv cov yeeb yaj kiab tseem tham txog kev thau cov cai tau txais, tab sis koj yuav tsum tau theej thiab muab tso rau hauv koj li IDE.

Kauj Ruam 11: Uh … Hmoov Zoo Nug. =)

Image
Image

Koj tuaj yeem pom ntawm no tias kuv siv xov tooj them ntsaws rau lub hwj chim peb cov arduino ib zaug lawv tau ua haujlwm. Koj kuj tseem tuaj yeem siv roj teeb 9-volt lossis lwm yam txheej txheem zoo los ua kom koj li kev tsim.

Kauj ruam 12: Mus Sijhawm! =)

Nov yog qhov uas koj yuav luag ntxhi, lossis debug… Hmoov zoo.

Nco ntsoov, lub tswb nrov nrov thiab cuam tshuam… Yog tias koj tab tom tsim tsev thaum sawv ntxov, xiam (tshem tawm) lub suab nrov nrov kom koj tsis txhob xaus rau tsev neeg zoo nkauj. =)

Pom zoo: