Cov txheej txheem:

Arduino LED Tsuav Teeb 2: 4 Cov Kauj Ruam
Arduino LED Tsuav Teeb 2: 4 Cov Kauj Ruam

Video: Arduino LED Tsuav Teeb 2: 4 Cov Kauj Ruam

Video: Arduino LED Tsuav Teeb 2: 4 Cov Kauj Ruam
Video: $600 NYIAJ PAB CA * $3600 CHILD TAX * BIDEN SPEECH * INDIA KAB MOB HNYAV * TOP NEWS+ 04/29/2021 2024, Kaum ib hlis
Anonim
Arduino LED Tsuav Teeb 2
Arduino LED Tsuav Teeb 2

Nov yog ib qhov haujlwm siv Arduino cov khoom siv los ua lub ntsej muag dice dov lub teeb pom kev! Nias lub pob ua rau lub teeb nyem ib zaug ib zaug ntawm cov teeb pom kev zoo nyob twj ywm. Nov yog qhov haujlwm pib yooj yim zoo nkauj rau cov uas nyuam qhuav tau ntsib nrog Arduino, thiab qhov no yog qhov hloov tshiab ntawm cov lus qhia yav dhau los uas kuv twb tau tsim lawm. Hloov kho Arduino muaj 10 lub teeb hloov ntawm 6, xav kom kuv kho qhov chaws.

Kauj ruam 1: Siv Tshuag

Noj Tshuag
Noj Tshuag

Koj yuav xav tau:

  • 1 Pawg Arduino
  • 1 Generic Breadboard
  • 14 Jumper Xov
  • 10 221 Ohm Resistors
  • 10 LEDs ntawm ib qho xim
  • 1 Pushbutton
  • 11k Ohm Cov neeg tiv taus

Kauj Ruam 2: Txuas Cov Khoom Siv

Txuas cov Cheebtsam
Txuas cov Cheebtsam

Siv daim duab ua tus qhia pib nrog:

  • Txuas cov LED mus rau lub khob cij.
  • Tom ntej txuas 10 221 tus tiv thaiv rau tib txoj kab zoo ib yam li LED's rau kab zoo ntawm ntug sab nrauv.
  • Tom qab ntawd ua tib yam rau lub laub khawm thiab nws yog 1k resistor.

Tom qab ntawd koj tuaj yeem pib txuas cov xov hlau jumper.

  • Txuas thawj xaim mus rau LED tso rau qhov deb tshaj plaws rau sab laug, tab sis tsis nyob ntawm kab ib yam li tus tiv thaiv.
  • Txuas lwm qhov kawg ntawm cov xaim ntawd mus rau qhov qhib ntawm Arduino board daim ntawv lo 2.
  • Ua raws tib kauj ruam rau xaim thib ob, tab sis muab txuas rau -3
  • Zoo ib yam rau tom ntej, tab sis muab nws rau 4
  • Tib yam rau qhov txuas ntxiv, tab sis txuas nws rau -5
  • Zoo ib yam rau qhov tom ntej, tab sis txuas nws mus -6
  • Ib yam rau qhov tom ntej, tab sis txuas nws rau 7
  • Ib yam rau qhov tom ntej, tab sis muab nws rau 8

  • Ib yam rau qhov txuas ntxiv, tab sis txuas nws mus rau 9
  • Tib yam rau cov xov hlau zaum kawg, tab sis muab nws txuas rau 10
  • Ntawm ib sab ib yam li 1k tus neeg tawm tsam, tab sis tsis yog tib txoj kab, txuas cov xaim rau qhov tsis zoo ntawm lub khob cij.
  • Tom qab ntawd txuas cov xaim los ntawm qhov tsis zoo ntawm pawg thawj coj mus rau ntu ntu sau 5V
  • Nyob rau sab deb ntawm lub pob txuas cov xaim kom nws txuas mus rau ntu ntawm Arduino Board sau npe 1
  • Thaum kawg txuas ib lub xaim los ntawm qhov zoo ntawm lub khob cij mus rau ntu uas sau tias GND.

Kauj Ruam 3: Ntxiv Txoj Cai

Txuas Arduino Board mus rau lub khoos phis tawj thiab xyuas kom koj muaj Arduino software teeb tsa, tom qab ntawd siv cov cai, muaj nyob ntawm no.https://docs.google.com/document/d/1pmPFhfVkRiZf1rx6SN6WzQJfeYtZeL_EpDgYWuipM8U/edit? Usp = sib koom

Kauj ruam 4: Nias lub Khawm

Thawb Lub Pob thiab koj yuav tsum zoo mus rau qhov haujlwm no yog ua raws txoj haujlwm no:

Pom zoo: