Cov txheej txheem:

Melody Box: 4 Kauj Ruam (nrog Duab)
Melody Box: 4 Kauj Ruam (nrog Duab)

Video: Melody Box: 4 Kauj Ruam (nrog Duab)

Video: Melody Box: 4 Kauj Ruam (nrog Duab)
Video: Plab Plab Ntswg..(Pluav Pluav Ntswg) Maiv Twm New Song 2023-2024 2024, Kaum ib hlis
Anonim
Melody Box
Melody Box

Nyob zoo!

Kuv tau ua ib lub thawv uas muaj 3 lub nyees khawm nrog txhua lub suab nkauj sib txawv.

Txhua lub suab nkauj muaj xim LED sib txawv thiab mus ntxiv thaum sau ntawv.

Thaum twg los xij koj thawb lub pob "pem hauv ntej" lub suab nkauj mus nrawm dua.

Yam uas koj xav tau:

- 1 x Buzzer

- 3 x LEDS

- 1x Force rhiab heev

6 x 220ohm Resistors

Kauj ruam 1: Breadbord

Breadbord
Breadbord

Yog tias koj tso txhua yam raws li hauv daim duab, koj yuav tsum zoo mus thiab txav mus rau qhov chaws!

Kauj ruam 2: Txoj Cai

Rub tawm cov ntawv sau thiab koj yuav pom kuv tus lej kuv tau siv.

Ntxiv ib lub npe hu ua pitches.h thiab luam cov ntawv sau tseg

Kauj ruam 3: Tsev

Tsev!
Tsev!

Kuv siv lub thawv me me vim tias kuv xav tau kom tau txais txhua yam no mus rau kuv lub tsev kawm ntawv (caij tsheb kauj vab, tsheb ciav hlau, thiab lwm yam) tab sis koj tuaj yeem xaiv lub thawv twg koj nyiam;)

Muab cov nyees khawm tso rau saum lub npov thiab muab lawv pov rau hauv. Kuv siv kua nplaum rau LEDS vim tias kuv siv cov xov hlau ntev nrog cov xov hlau nkag. Kuv kuj tseem siv cov xov hlau no txuas rau Buzzer los tso rau saum lub npov ib yam.

Tom qab ntawd koj ua lub qhov nyob sab ntawm lub npov kom koj tuaj yeem siv USB rau Arduino UNO.

(Tsis txhob hnov qab lo nplaum/kab xev Breaboard thiab Arduino, lossis lawv yuav txav mus los ntau dhau hauv lub thawv)

Tam sim no koj tuaj yeem kaw lub thawv:)

Kauj ruam 4: Kho kom zoo nkauj

Kho kom zoo nkauj
Kho kom zoo nkauj

Tam sim no koj tuaj yeem kho koj lub thawv!

Kuv kos 1, 2 thiab 3 rau cov nyees khawm thiab >> cim rau tom ntej.

Thiab kuv kos BB8 ua lub cim rau 1rst khawm, Lub Nplhaib cim rau qhov thib 2 thiab lub cim ntaus piano rau thib 3.

Tam sim no koj ua tiav. Txaus siab rau!: D

Pom zoo: