Cov txheej txheem:

Kub Crust Buns: 5 Kauj Ruam
Kub Crust Buns: 5 Kauj Ruam

Video: Kub Crust Buns: 5 Kauj Ruam

Video: Kub Crust Buns: 5 Kauj Ruam
Video: Tshuaj theem vim li cas thiaj tau nqi ?/ Siv kho mob dab tsi?/paris polyphylla использовать для? 2024, Kaum ib hlis
Anonim
Kub Crust Buns
Kub Crust Buns

Koj puas xav tau txoj hauv kev lom zem tshiab los ua cov nkauj yooj yim ntawm koj lub khob cij? Kawm yuav ua li cas ua cov nkauj qub zoo li Mary tau muaj Me Nyuam Yaj, lossis Kub Crust Buns. Hauv zaj lus qhia no, koj yuav kawm paub teeb tsa thiab sau lub suab paj nruas nrog 4 cov ntawv. Qee qhov kev paub txog tus lej yuav muaj txiaj ntsig, tab sis koj tsis txhais tau tias yuav tsum yog tus kws tshaj lij kom ua tiav qhov kev sim no.

Khoom siv

Cov ntaub ntawv koj yuav xav tau yog Arduino Tsim software, Arduino Uno board lossis SparkFun RedBoard, 4 lub khawm thawb, tus lej buzzer, teeb LED, 1 330Ω Resistor, thiab 4 10K Resistors, thiab 15 jumper cables.

Kauj Ruam 1: Txuas Nyees khawm

Nias khawm
Nias khawm

Nias lub pob nyem raws li pom hauv daim duab no los ntawm tinkercard. Nco ntsoov tias koj siv 10K resistors rau cov nyees khawm.

Kauj Ruam 2: Txuas Cov Hluav Taws Xob (LED thiab Buzzer)

Txuas cov zis (LED thiab Buzzer)
Txuas cov zis (LED thiab Buzzer)

Txuas Piezo buzzer thiab LED teeb raws li qhia hauv daim npav tinker no. Nco ntsoov, anode siab thiab zoo, cathode luv thiab tsis zoo. Yog tias koj xav siv cov cai uas kuv tau ua, ua kom ntseeg tau tias txhua yam ntawm koj cov tswv yim/cov txiaj ntsig tau mus rau qhov chaw tsim nyog ntawm lub rooj tsav xwm hauv Circuit.

Kauj ruam 3: Code

Code
Code

Cov khoom kawg yuav tsum zoo li qhov no. Kuv kuj tau txuas cov cai kuv siv nrog kev piav qhia vim li cas kuv thiaj xaiv txhua qhov kuv tau ua.

Ua raws li qhov txuas no!

Kauj ruam 4: Ua si

Ua si!
Ua si!

Txhawm rau ua si Kub Crust Buns nws mus

Ntsuab, Xiav, Daj, Ntsuab, Xiav, Daj, Xim X4, Xiav X4, Ntsuab, Xiav, Daj

Mary muaj Me Nyuam Yaj

G, B, Y, B, G, G, G, B, B, G, R, R, G, B, Y, B, G, G, G, G, B, G, B, Y

Kauj Ruam 5: Piv txwv

Nov yog kuv ua si Mary muaj Me Nyuam Yaj.

Pom zoo: