Cov txheej txheem:

Yooj Yim Arduino: 4 Kauj Ruam
Yooj Yim Arduino: 4 Kauj Ruam

Video: Yooj Yim Arduino: 4 Kauj Ruam

Video: Yooj Yim Arduino: 4 Kauj Ruam
Video: Yim laus yim do hau _phees lauj _fullmusic MV 2023 2024, Kaum ib hlis
Anonim
Image
Image
Qhov Yuav Tsum Tau
Qhov Yuav Tsum Tau

Hauv qhov kev sim no, koj yuav nkag siab yuav ua li cas passive buzzer ua haujlwm thiab koj tuaj yeem tsim qhov yooj yim Arduino soundboard li cas. Siv qee lub khawm thiab xaiv lub suab sib xws, koj tuaj yeem tsim suab nkauj! Cov ntu uas kuv tau siv yog los ntawm Aleksandar Tsvetkov hauv Kev Tshawb Fawb.

Kauj Ruam 1: Qhov Yuav Tsum Tau

Koj yuav xav tau:

  • ib pawg Arduino
  • ib daim ntawv qhia zaub mov
  • ib USB Cable
  • Cov neeg dhia
  • 4 x Nyees khawm (tus lej ntawm lub kaus mom thiab cov nyees khawm yog nyob ntawm yeem)
  • 4 x 10k ohm resistors
  • ib lub thawv

Kauj Ruam 2: Txuas Cov Khawm thiab Buzzer

Txuas Cov Khawm thiab Buzzer
Txuas Cov Khawm thiab Buzzer
Txuas Cov Khawm thiab Buzzer
Txuas Cov Khawm thiab Buzzer
Txuas Cov Khawm thiab Buzzer
Txuas Cov Khawm thiab Buzzer

Ua ntej tshaj, cia pib nrog cov nyees khawm. Rau txhua lub pob, xaiv ib qho ntawm nws sab. Koj yuav pom 2 tus pin. Ib qho ntawm sab laug (koj tuaj yeem sib pauv lawv ib yam) txuas rau hauv av ntawm Arduino (hla lub khob cij) nrog 10k resistor. Txuas tib kab rau tus lej digital 2, 3, 4 lossis 5 ntawm Arduino (tuaj yeem teeb tsa hauv txoj cai). Tus pin ntawm sab xis ntawm txhua lub pob txuas rau 5V. Koj tuaj yeem siv daim duab saum toj no rau kev siv. Ua cov kauj ruam no rau tag nrho koj cov nyees khawm.

Yog li, nyob rau sab saum toj ntawm lub suab nrov, koj tuaj yeem pom lub jumper liab, nws qhia qhov zoo ntawm nws. Koj yuav tsum txuas qhov sib txawv kawg rau hauv av thiab qhov no mus rau tus lej digital 8 ntawm Arduino (tuaj yeem hloov pauv tom qab).

Kauj Ruam 3: Tshaj Tawm thiab Hloov Kho Txoj Cai

Hloov thiab Hloov Kho Txoj Cai
Hloov thiab Hloov Kho Txoj Cai
Hloov thiab Hloov Kho Txoj Cai
Hloov thiab Hloov Kho Txoj Cai

Kuv tus lej nyob ntawm no

Kauj Ruam 4: Kauj Ruam 4: Muab tso rau hauv lub thawv

Kauj ruam 4: Muab tso rau hauv lub thawv
Kauj ruam 4: Muab tso rau hauv lub thawv

Kauj ruam kawg yog muab nws tso rau hauv lub thawv, nco ntsoov txhawm rau txhawm rau qee lub qhov tso rau hauv qab tuaj yeem tso rau ntawm lub thawv, thiab tseem ua rau lub qhov rau USB cable.

Tom Qab Koj Ua Tiav.

Pom zoo: