Cov txheej txheem:

8 Khoom Arduino Binary Counter: 6 Kauj Ruam
8 Khoom Arduino Binary Counter: 6 Kauj Ruam

Video: 8 Khoom Arduino Binary Counter: 6 Kauj Ruam

Video: 8 Khoom Arduino Binary Counter: 6 Kauj Ruam
Video: $600 NYIAJ PAB CA * $3600 CHILD TAX * BIDEN SPEECH * INDIA KAB MOB HNYAV * TOP NEWS+ 04/29/2021 2024, Hlis ntuj nqeg
Anonim
Image
Image

8 Khoom Arduino Binary Counter van suav los ntawm 0 txog 255. Txoj haujlwm no yog lub txee nrog 8 LED's rau txuas nrog Arduino tus pin 5, 3, 4, 7, 10, 11, 12 & 13 kom nws suav los ntawm sab xis mus rau sab laug tsim cov lej los ntawm Xoom txog 255.

Kauj Ruam 1: Nqi Khoom

Nqi Khoom
Nqi Khoom

Koj yuav xav tau dab tsi:

1-Arduino Uno R3

1-PCB Arduino Mega

1-USB-B rau USB-A cable

8 x 5mm LED

2x5 Array ntawm tus pin rau Arduino

Soldering hlau

Dov yob

Tej zaum me ntsis xaim # 22

Kauj ruam 2: Schematic Daim duab

Schematic Daim duab
Schematic Daim duab

Txheeb xyuas kom zoo, daim duab schematic ntawm koj qhov project.

Kauj Ruam 3: Ntxig rau Array ntawm Pins

Ntxig rau Array ntawm Pins
Ntxig rau Array ntawm Pins
Ntxig rau Array ntawm Pins
Ntxig rau Array ntawm Pins

Ntxig cov kab pins rau hauv Arduino qhov, lawv yuav tsum tau muab tso rau hauv tus pin 3. 4, 5, 6, 7 thiab tus pin 10, 11, 12, 13, GND.

Kauj Ruam 4: Ruaj Pins

Solder tus Pins
Solder tus Pins
Solder tus Pins
Solder tus Pins

Thaum tso cov pins, npaj mus rau solder lawv.

Kauj Ruam 5: Txhim Kho Cov LEDs

Txhim kho cov LEDs
Txhim kho cov LEDs
Txhim kho cov LEDs
Txhim kho cov LEDs
Txhim kho cov LEDs
Txhim kho cov LEDs

Koj tuaj yeem teeb tsa LEDs li koj xav tau, tab sis qhov no yog kab ntawv uas koj tau ua rau txoj haujlwm. Txawm li cas los xij, Kuv tau siv me ntsis xaim #22 rau kev ua ob khub. Nws tuaj yeem ua tsaug rau ntawm cov duab. Nco tseg, koj tuaj yeem siv GND tsis ncaj rau txuas cov cathode pins uas tsis siv cov laug txawm tias tus pin GND rau Arduino.

Kauj Ruam 6: Ua tiav Txoj Haujlwm

Ua tiav Txoj Haujlwm
Ua tiav Txoj Haujlwm
Ua tiav Txoj Haujlwm
Ua tiav Txoj Haujlwm
Ua tiav Txoj Haujlwm
Ua tiav Txoj Haujlwm
Ua tiav Txoj Haujlwm
Ua tiav Txoj Haujlwm

Ntxig qhov project rau hauv Arduino pins ntawm koj qhov project. Yog tias koj ua raws txoj haujlwm no kom raug, mus ntsib:

Tom qab ntawd, xa cov cai ntawm:

tab sis koj tsuas yog ua qhov kev hloov pauv raws li koj tus kheej pins siv.

Pom zoo: