Cov txheej txheem:

Arduino Qhov Rooj Tswb Nrog Cov Ntawv Ceeb Toom: 14 Cov Kauj Ruam (nrog Duab)
Arduino Qhov Rooj Tswb Nrog Cov Ntawv Ceeb Toom: 14 Cov Kauj Ruam (nrog Duab)

Video: Arduino Qhov Rooj Tswb Nrog Cov Ntawv Ceeb Toom: 14 Cov Kauj Ruam (nrog Duab)

Video: Arduino Qhov Rooj Tswb Nrog Cov Ntawv Ceeb Toom: 14 Cov Kauj Ruam (nrog Duab)
Video: Computer Vision with Python! Resizing Images 2024, Kaum ib hlis
Anonim
Arduino Qhov Rooj Tswb Nrog Cov Ntawv Ceeb Toom
Arduino Qhov Rooj Tswb Nrog Cov Ntawv Ceeb Toom

Nov yog Arduino raws lub tswb qhov rooj uas siv lub tshuab nqus hlau sib nqus hloov los txiav txim lub qhov rooj lub xeev thiab muaj lub tswb nrov thiab cov lus xa xov raws lub tswb.

Daim Ntawv Teev Npe

  • Arduino Ib
  • Arduino Uno Ethernet Shield
  • 3 x LEDs
  • 2x SPST Hloov
  • 1x Momentary Push Button
  • 2x LCD Cov Vijtsam
  • 1 x Passive Buzzer
  • 1x Sib Nqus Reed Hloov

Kauj Ruam 1: Teeb Arduino Uno thiab Breadboard

Teeb Arduino Uno thiab Breadboard
Teeb Arduino Uno thiab Breadboard

Kauj Ruam 2: Ntxiv Ethernet Shield

Ntxiv Ethernet Shield
Ntxiv Ethernet Shield

Txuas Ethernet Shield rau sab saum toj ntawm Arduino.

Kauj Ruam 3: Txuas Lub Hwj Huam thiab Lub Tsheb Rail

Txuas Cov Hluav Taws Xob thiab Cov Hluav Taws Xob
Txuas Cov Hluav Taws Xob thiab Cov Hluav Taws Xob

Txuas txoj hlua hluav taws xob mus rau 5v tus pin thiab cov tsheb nqaj hlau hauv av mus rau tus pin hauv av ntawm Arduino

Kauj Ruam 4: Txuas Reed Hloov

Txuas Reed Hloov
Txuas Reed Hloov

Txuas lub davhlau ya nyob twg COM ntawm qhov hloov mus rau hauv av tsheb nqaj hlau thiab Ib txwm Qhib (TSIS MUAJ) lub dav hlau mus rau tus pin 8 ntawm Arduino

Kauj Ruam 5: Ntxiv cov LEDs

Ntxiv cov LEDs
Ntxiv cov LEDs

Txuas tus liab, daj, thiab ntsuab LED rau hauv txoj kev tsheb nqaj hlau thiab tiv thaiv rau txhua qhov ua tau zoo ntawm LED thiab txuas tus liab rau tus pin 6, daj rau tus pin 5, thiab ntsuab rau tus pin 4.

Kauj Ruam 6: Ntxiv Buzzer

Ntxiv Buzzer
Ntxiv Buzzer

Txuas tus pin tsis zoo ntawm lub buzzer rau hauv av tsheb nqaj hlau thiab tus pin zoo rau tus pin 12 ntawm Arduino.

Kauj Ruam 7: Txuas Cov Hloov

Txuas Cov Hloov
Txuas Cov Hloov

Txuas tus tes hloov rau cov lus toggle rau tus pin 11 thiab tus hloov rau lub suab toggle rau tus pin 10. Txuas lwm ceg ntawm qhov hloov mus rau hauv av tsheb nqaj hlau rau txhua qhov hloov.

Kauj Ruam 8: Ntxiv Push Button

Ntxiv khawm laub
Ntxiv khawm laub

Txuas ib txhais ceg ntawm lub pob hauv av tsheb nqaj hlau thiab lwm tus los pin 2 ntawm Arduino.

Kauj Ruam 9: Txuas Thawj Lub Vijtsam LCD

Txuas Thawj LCD Screen
Txuas Thawj LCD Screen

Txuas tus VCC tus pin rau txoj kev tsheb nqaj hlau, tus pin GND rau hauv txoj kev tsheb nqaj hlau, SCL tus pin rau A5, thiab SDA tus pin rau A5 ntawm Arduino.

Kauj Ruam 10: Ntxiv rau Qhov Thib Ob LCD Screen

Ntxiv rau Qhov Thib Ob LCD Screen
Ntxiv rau Qhov Thib Ob LCD Screen

Txuas lub vijtsam LCD rau tib txoj kev tsheb ciav hlau ib yam li thawj qhov.

Kauj Ruam 11: Mount Reed Switch

Mount Reed Hloov
Mount Reed Hloov

Muab daim ntawv nrog lub dav hlau tso rau ntawm lub qhov rooj ntawm lub qhov rooj. Muab cov khoom sib nqus rau ntawm lub qhov rooj sab xis hauv qab qhov hloov nws thiaj li tseem yuav hloov qhov hloov pauv. Koj tuaj yeem siv lub ntsuas ntsuas lossis mloog kom pom tias qhov hloov pauv qhib thaum lub qhov rooj qhib lossis kaw.

Kauj Ruam 12: Tshaj Tawm Txoj Cai

Tshaj tawm cov cai rau Arduino.

Kauj Ruam 13: Teeb Cov Lus Ceeb Toom

Ua ntej tsim twilio.com tus lej, koj tuaj yeem siv dawb version. Tsuas yog tsim qhov phiaj xwm thiab tus lej xov tooj thiab sau Tus lej SID thiab Tus Sau Npe.

Upload Twilio PHP Master rau koj lub web server los ntawm

Rub tus alert.php code rau tib phau ntawv. Koj yuav tau hloov cov ntawv txuas ntxiv kom tshem tawm.txt los ntawm qhov kawg.

Qhib tsab ntawv thiab hloov kab 10 thiab 11 rau Account SID thiab Auth Token. Hloov kab 17 rau koj tus lej xov tooj thiab kab 20 rau tus lej xov tooj uas koj tau txais los ntawm Twilio. Hloov kab 22 rau kab ntawv uas koj xav tau txais.

Kauj Ruam 14: Siv Tswb

Siv Tswb
Siv Tswb

Teem cov hloov mus rau yog tias koj xav tau txais cov ntawv ceeb toom lossis muaj lub tswb nrov thiab tuav lub kaw lus nrog lub laub khawm. Thaum lub qhov rooj qhib, lub tswb yuav tawm mus txog thaum lub pob nyem kom rov pib dua lub kaw lus.

Pom zoo: