Cov txheej txheem:

Yooj Yim Christmas Tsob Ntoo Coj: 4 Kauj Ruam
Yooj Yim Christmas Tsob Ntoo Coj: 4 Kauj Ruam

Video: Yooj Yim Christmas Tsob Ntoo Coj: 4 Kauj Ruam

Video: Yooj Yim Christmas Tsob Ntoo Coj: 4 Kauj Ruam
Video: Tswv Yexus lub neej thaum pib txug thaum xaus 2024, Hlis ntuj nqeg
Anonim
Yooj Yim Christmas Ntoo Coj
Yooj Yim Christmas Ntoo Coj
Yooj Yim Christmas Tsob Ntoo Coj
Yooj Yim Christmas Tsob Ntoo Coj

Nws yuav luag txog Christmas yog li kuv tau ua txoj haujlwm no yooj yim heev uas yog siv lub teeb pom kev zoo txhawm rau txhawm rau teeb tsob ntoo Christmas. Qhov no zoo ib yam li qhov kuv tau ua zaum kawg, uas yog Big Dipper, nws yuav luag zoo ib yam. Anted xav ua qee yam zoo sib xws tab sis txawv me ntsis nrog qee qhov txuj ci nyuaj dua li thawj qhov. Kuv ua phem heev ntawm kev ua Arduino tab sis kuv xav txhim kho nws los ntawm kev ua ib qib zuj zus yog li kuv tau ua qhov no. Qhov kuv tau ua yog ntxiv lub sensor thiab qhov ntawd yog nws. Koj txhais tes yuav tsum nyob ze txaus los ntawm lub teeb pom kev kom pom lawv, tom qab ntawd lawv yuav ci tag nrho tib lub sijhawm nrog cov xim sib txawv.

Khoom siv

Lub khob cij x1

tiv x5

USB kab x 1

jumper xov x11

ultrasonic sensor hc-sr04 x1

Kauj ruam 1: Kauj ruam 1. qhov Circuit

Kauj ruam 1. qhov Circuit
Kauj ruam 1. qhov Circuit
Kauj ruam 1. qhov Circuit
Kauj ruam 1. qhov Circuit

Rau lub Circuit Court, qhov tseem ceeb tshaj plaws yog lub sensor. Txheeb xyuas cov xov hlau txuas nrog lub ntsuas hluav taws xob yuav tsum tau ua tib zoo kom tsis txhob txuas lawv tsis raug. Tab sis lwm qhov tshaj li, txhua yam ntxiv tsuas yog teeb tsa LEDs.

Kauj ruam 2: Kauj ruam 2. Txoj Cai

create.arduino.cc/editor/JudyChiu/f4f2ae48-c3ef-4f9e-b6c0-2a833ac9a229/preview

Kauj ruam 3: Kauj ruam 3. Txuas Cov Hluav Taws Xob

Kauj ruam 3. Txuas Cov Hluav Taws Xob
Kauj ruam 3. Txuas Cov Hluav Taws Xob
Kauj ruam 3. Txuas Cov Hluav Taws Xob
Kauj ruam 3. Txuas Cov Hluav Taws Xob

Rau Christmas tsob ntoo teeb, cov LEDs yuav tsum ntev txaus, yog li tsuas yog siv qee lub xov tooj cua txuas thiab txuas nrog cov LEDs.

Kauj Ruam 4: Kauj Ruam 4 Ua Tsob Ntoo

Kauj Ruam 4 Ua Tsob Ntoo
Kauj Ruam 4 Ua Tsob Ntoo
Kauj Ruam 4 Ua Tsob Ntoo
Kauj Ruam 4 Ua Tsob Ntoo
Kauj Ruam 4 Ua Tsob Ntoo
Kauj Ruam 4 Ua Tsob Ntoo

Siv daim ntawv twg los xij uas koj muaj (ntawm no kuv siv lub thawv ntawv thawv) thiab txiav nws ua tsob ntoo Christmas. Tom qab ntawd, xim nws thiab txhuam 5 qhov (rau 5 LEDs) txhawm rau txuas lub teeb pom kev zoo nrog tsob ntoo ua ke rau hauv daim ntawv loj. Tom qab ntawd khawb ob lub voj voos qhov uas sib haum nrog lub ntsuas, uas yog kwv yees li 1.5cm txoj kab uas hla. Thaum kawg, tso lub sensor rau hauv lub qhov, thiab nws ua tiav!

Pom zoo: