Cov txheej txheem:

Arduino Christmas Notifier: 5 Kauj Ruam (nrog Duab)
Arduino Christmas Notifier: 5 Kauj Ruam (nrog Duab)

Video: Arduino Christmas Notifier: 5 Kauj Ruam (nrog Duab)

Video: Arduino Christmas Notifier: 5 Kauj Ruam (nrog Duab)
Video: I run untested, viewer-submitted code on my 500-LED christmas tree. 2024, Hlis ntuj nqeg
Anonim
Arduino Christmas Ceeb Toom
Arduino Christmas Ceeb Toom

Christmas tsuas yog nyob ib ncig ntawm lub ces kaum tam sim no, thiab kuv tau xaus tias kuv yuav tsis tso nws mus tsuas yog muaj kuv li DIY Arduino Christmas Teeb. Dab tsi yuav yog txoj haujlwm zoo tshaj uas cuam tshuam nrog nkauj Christmas? Yog lawm, yog! Qhia rau tib neeg paub tias nws yog lub sijhawm Christmas zoo txaus. Cia peb pib!

Kauj Ruam 1: Qhov Yuav Tsum Tau

Qhov Yuav Tsum Tau
Qhov Yuav Tsum Tau
  • Cov qhob cij
  • USB Cable
  • Buzzer
  • Arduino UAS
  • 6 Jumper kab
  • HC-SR04

Allchips yog cov khoom siv hluav taws xob hauv online pabcuam platform, koj tuaj yeem yuav txhua yam khoom siv los ntawm lawv

Kauj Ruam 2: Txuas Ultrasonic Sensor

Txuas lub Ultrasonic Sensor
Txuas lub Ultrasonic Sensor

Cov kev sib txuas sensor yog raws li hauv qab no:

VCC mus rau Arduino 5V Pin

GND mus rau Arduino GND

TRIG mus rau Digital Pin 5

ECHO mus rau Digital Pin 4

Kauj Ruam 3: Txuas Buzzer

Txuas Buzzer
Txuas Buzzer

Lub suab nrov yog yooj yim zoo nkauj - saib nws daim ntawv nplaum rau saum. Sab ntxiv yog cim nrog daim ntawv me me uas kuv tau tshem tawm. Yog tias koj tsis muaj daim ntawv nplaum, saib ntawm lub suab nrov nto, nws yuav tsum muaj lub cim + sau rau ntawm qhov ntawd. Koj yuav tsum txuas nws mus rau tus pin 10 (tuaj yeem hloov pauv hauv txoj cai). Qhov tsis zoo txuas nrog rau tus pin hauv av seem ntawm pawg thawj coj saib.

Kauj Ruam 4: Xa Cov Cai

Xa cov Code
Xa cov Code

Cov cai rau suab paj nruag tsis yog sau los ntawm kuv! Kuv tau pom nws hauv Is Taws Nem thiab txiav txim siab muab tag nrho txoj haujlwm ua ke siv nws. Koj tuaj yeem pom nws ntawm no. Koj tuaj yeem hloov kho qee qhov zoo li tus lej tus lej thiab txhua lub suab paj nruag kom qhib nws txawm li cas los xij koj nyiam.

Kauj ruam 5: Showcase

Saum toj no, koj tuaj yeem pom cov vis dis aus yooj yim uas qhia txog kev txwv tsis pub ua

Pom zoo: