Cov txheej txheem:

Creepy Eyes: 5 Kauj Ruam (nrog Duab)
Creepy Eyes: 5 Kauj Ruam (nrog Duab)

Video: Creepy Eyes: 5 Kauj Ruam (nrog Duab)

Video: Creepy Eyes: 5 Kauj Ruam (nrog Duab)
Video: Niam Tais Poj Dab Noj Plab Qaib 2 2024, Kaum ib hlis
Anonim
Creepy Qhov Muag
Creepy Qhov Muag

Nov yog kuv qhov kev sim zaum thib ob los tshaj tawm cov lus qhia no vim tias thawj tus yuav tsis tso txhua cov kauj ruam. Vam tias cov neeg zoo ntawm Instructables yuav rho tawm thawj tus.

Thaum xub thawj kuv xav muab lub qhov muag tso rau hauv lub yas yas-o-teeb uas me me nqa thaum thov lawv cov khoom qab zib ntawm txhua lub tsev, nws yuav ua haujlwm nrog Arduino UNO lossis MINI, koj tsuas yog yuav tsum teeb tsa koj li IDE rau lub rooj tsav xwm kom raug thaum uploading daim duab.

Thaum nce thiab khiav lub qhov muag saib ib puag ncig thiab hloov xim thaum nws ua rau khaus thiab ntsais muag. Lub roj teeb pob yuav ua kom nws khiav ob peb teev (nyob ntawm seb qhov loj ntawm lub roj teeb uas koj siv). Xev qhov muag thiab Arduino rau sab hauv ntawm lub jack-o-lantern, nws yuav tso ntau chav rau khoom qab zib. Kuv tsis tuaj yeem pom ib qho ntawm cov kab hluav taws xob no yog li kuv tau teeb nws rau hauv pob zeb taub hau styrofoam.

Nws tuaj yeem muab zais rau hauv hav txwv yeem, xaws nws rau hauv khaub ncaws lossis lwm yam uas koj tuaj yeem xav.

Kauj Ruam 1: Cov Khoom Xav Tau

Yam Khoom Xav Tau
Yam Khoom Xav Tau
Yam Khoom Xav Tau
Yam Khoom Xav Tau
Yam Khoom Xav Tau
Yam Khoom Xav Tau
  1. Koj yuav xav tau Arduino UNO lossis MINI
  2. Jumper xov hlau
  3. 2 x1.8 "TFT LCDs
  4. fais fab mov (roj teeb, ntsaws lossis Arduino USB cable.
  5. Headers lossis qhob cij board

Kauj Ruam 2: Cov Kab Hlau

Cov hlua hlau
Cov hlua hlau
Cov hlua hlau
Cov hlua hlau
Cov hlua hlau
Cov hlua hlau
Cov hlua hlau
Cov hlua hlau

Koj yuav xav tau ob lub xov hlau txuas ntawm txhua ntawm xya xim sib txawv

2xRED txuas rau VCC 3.3 volts

2xBLACK txuas rau GND hauv av

2xYELLOW txuas rau SCK lossis CLK tus pin 13 ntawm Arduino

2xORANGE txuas rau SDA tus pin 11 ntawm Arduino

2xGREEN txuas rau CS tus pin 10 ntawm Arduino

2xBLUE txuas rau RES lossis RST tus pin 9 ntawm Arduino

2xPURPLE txuas rau RS lossis DC tus pin 8 ntawm Arduino

Los ntawm txhua khub ntawm cov xim xaim txiav ib kawg ntawm ib lub xov hlau thiab txiav ob txoj hlua nyob hauv ib nrab, tawv peb qhov kawg ntswj lawv ua ke thiab txuas ntxiv. Muab cov raj nqaim hla txhua qhov txuas thiab siv cua sov rau ob peb feeb. Saib cov duab saum toj no.

Kauj Ruam 3: Txuas Qhov Muag

Txuas Qhov Muag
Txuas Qhov Muag
Txuas Qhov Muag
Txuas Qhov Muag

Txuas qhov ntev kawg ntawm txhua txoj hlua rau qhov tsim nyog ntawm Arduino board tom qab ntawd txhua qhov ntawm ob qho luv luv rau cov lus raws li teev tseg saum toj no. Nco ntsoov tsis txuas cov hlau liab mus rau 5 volts, koj tuaj yeem tshuab koj cov lus. Txuas lub Arduino rau koj lub khoos phis tawj ntawm USB cable Arduino muab, Cov ntxaij vab tshaus yuav tsum pom dawb.

Pib koj IDE, theej Eye_Ball_ Colors ino file mus rau IDE, txheeb xyuas qhov ua yuam kev, yog tias tsis muaj qhov ua yuam kev tshwm sim upload cov duab kos rau Arduino board.

Lub qhov muag yuav tsum pib, yog tias tsis tshuaj xyuas koj tsib txoj hlua rau txoj haujlwm tus pin kom raug. Koj tuaj yeem tau txais ib lub qhov muag ua haujlwm thiab lwm qhov dawb, qhov no feem ntau yog rov qab xaim ntawm cov zaub ntawd lossis tag nrho cov xov hlau tau hloov pauv nce lossis nqis ntawm Arduino header lossis header zaub.

Kauj Ruam 4: Tso Zaub Qhia

Zaub Qhia
Zaub Qhia
Zaub Qhia
Zaub Qhia
Zaub Qhia
Zaub Qhia

Kuv tau xaiv los teeb tsa kuv lub qhov muag rau hauv lub taub hau pob zeb kuv yuav ntawm khw duas las. Nws muaj lub qhov muag daj uas kuv tau txiav tawm, khawb tawm sab nraum qab ntawm lub taub hau pob zeb kom tau ob lub qhov muag kom ze rau ntawm xub ntiag li kuv ua tau. Ntxig lub tft qhia, siv cov muab tub lim xws li cov ntaub so tes phuam so tom qab ntawv xev zoo zoo li cov kab xev kom tuav ob lub qhov muag.

Lub taub hau pob zeb tuaj nrog rab rawg kom sawv nws hauv lub vaj, Kuv tau siv cov no los tuav lub Rooj Tswjhwm Saib Xyuas Arduino thiab tuav cov hlua hlau nyob ze rau lub taub hau pob zeb thiab ua kom nws txav mus los.

Puas tau los yog li cas koj siv nws muaj kev lom zem nrog nws. Cov menyuam yuav nyiam nws. Kuv muaj kuv zaum ntawm kuv ib sab ntawm lub computer kom paub tseeb tias kuv ua qhov no kom raug.

Dhau li, nws ua rau kuv cov miv nyob deb.

Txaus siab rau

Philmnut

Kauj ruam 5: Sketch

Rub tawm thiab sim daim duab no

Pom zoo: