Cov txheej txheem:

Daim Npav Teeb: 5 Cov Kauj Ruam
Daim Npav Teeb: 5 Cov Kauj Ruam

Video: Daim Npav Teeb: 5 Cov Kauj Ruam

Video: Daim Npav Teeb: 5 Cov Kauj Ruam
Video: Plab Plab Ntswg..(Pluav Pluav Ntswg) Maiv Twm New Song 2023-2024 2024, Kaum ib hlis
Anonim
Image
Image
Daim Npav Teeb
Daim Npav Teeb
Daim Npav Teeb
Daim Npav Teeb
Daim Npav Teeb
Daim Npav Teeb

Koj daim npav nyob ntawd tib yam nkaus.

Vim li cas ho tsis ntxiv qee qhov teeb pom kev zoo rau nws kom nws zoo li txawv me ntsis?

Ua kom nws ua tau zoo dua thiab txias.

Ib daim npav ntsuab nres uno? Tsis yog! Nws yog qhov xiav.

Thaum lub teeb ploj mus, cov yeeb yam pib;

Thaum lub teeb rov tshwm sim, cov yeeb yam nres.

Peb yuav pib qhov haujlwm yooj yim tab sis txias rau qhov ua yeeb yam zoo nrog qee cov kauj ruam ua raws …

Kauj Ruam 1: Cov khoom siv

Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv

Muaj qee qhov khoom siv ua ntej koj yuav tsum npaj rau nws ua haujlwm…

- 1 Arduino Uno

- 1 lub khob cij ntawm txhua yam

- 1 USB kab (Muaj peev xwm txuas rau Arduino, ib txwm siv hauv xov tooj cable yuav ua txoj haujlwm)

- 6 LEDs (xim koj xaiv, qhia xim sib txawv)

- 7 jumper xov hlau

- 7 tus tiv thaiv (ib qho xiav rau lwm tus tawv nqaij)

- 1 lub teeb pom kev

Kauj ruam 2: Coding

Code nyob rau hauv link hauv qab no…

create.arduino.cc/editor/InfinityStars/9d5…

Nco tseg: Yog tias koj xav ntxiv qee qhov xim ntxiv rau qhov yeeb yam, koj tuaj yeem hloov tawm LEDs rau xaiv xim dav dua.

Lossis koj tuaj yeem ntxiv qee qhov "sau digital" kom ua rau koj cov yeeb yam ntev dua

Kuj hloov tus lej rau lub teeb raws li qhov koj nyeem.

Kauj Ruam 3: Kev Tso Hlau

Kev Tso Npe Hlau
Kev Tso Npe Hlau

Raws nraim li daim duab saum toj no…

Kauj ruam 4: Kho kom zoo nkauj

Kho kom zoo nkauj
Kho kom zoo nkauj
Kho kom zoo nkauj
Kho kom zoo nkauj
Kho kom zoo nkauj
Kho kom zoo nkauj

Npaj

- Qee daim ntawv xim plaub fab (qhia dub)

- Cov ntawv dawb

- Ib daim npav

Tom qab ntawd quav daim ntawv xim hauv peb ntu, muab nws tso ua ntej lub teeb kom npog cov xov hlau.

Siv daim ntawv dawb los npog tag nrho ntawm lub khob cij (nco ntsoov tawm lub teeb pom kev tawm, yog li nws tuaj yeem pom lub teeb kom raug)

Kauj ruam 5: Ua tiav

Ua tiav!
Ua tiav!
Ua tiav!
Ua tiav!
Ua tiav!
Ua tiav!
Ua tiav!
Ua tiav!

Ua si ib puag ncig nrog cov xim sib txawv thiab daim npav!

Pom zoo: