Cov txheej txheem:

Roll Call Machine: 5 Kauj Ruam
Roll Call Machine: 5 Kauj Ruam

Video: Roll Call Machine: 5 Kauj Ruam

Video: Roll Call Machine: 5 Kauj Ruam
Video: The CHEAPEST Electronic Drum Kit I’ve Ever Played 2024, Kaum ib hlis
Anonim
Image
Image

Tus thawj coj npav yuav tsum hu xov tooj tuaj tshuab txhua tag kis, tab sis qhov no tsis yog txoj haujlwm yooj yim. Yog li kuv xav seb nws puas yuav nrawm dua rau cov tub ntxhais kawm ntawv yob lawv tus kheej, yog li kuv tsim cov cuab yeej yooj yim rau cov tub ntxhais kawm ua haujlwm ntawm lawv tus kheej.

Kauj Ruam 1: Koj Yuav Tsum Npaj Dab Tsi

Breadboard x 1

Jumper (random)

LED (random)

Khawm x 2

Kuj (Ua raws tus naj npawb ntawm LEDs)

arduino board x 1

Kauj Ruam 2: Kauj Ruam 1 Muab tso rau ntawm LED thiab Xov Tooj

Kauj ruam. 2 Muab rau khawm
Kauj ruam. 2 Muab rau khawm

Hauv theem no, txhua lub LEDs thiab cov xov hlau yuav tsum tau muab tso rau, kom muaj cov zaub rau kev ua haujlwm tom ntej.

Peb tuaj yeem pom tias muaj XNUMX LEDs hauv daim duab, ib qho txuas nrog D12, ib qho txuas nrog D11, ib qho txuas nrog D10, ib qho txuas nrog D9, ib qho txuas nrog D8, thiab qhov kawg txuas nrog D7. (Txhua LED yuav tsum txuas nrog tus tiv thaiv)

Kauj ruam 3: Kauj ruam. 2 Muab rau khawm

Peb muaj ob lub khawm, ib qho rau D2 thiab ib qho rau D3. D2 yog ua kom lub teeb ci LED, txhua lub sijhawm koj nias nws, ib lub teeb ntxiv. Lub pob txuas nrog D3 yog lub pob kom rov ua dua tshiab.

Kauj ruam 4: Kauj ruam. 3 Tso rau Txoj Cai

chaws

Kauj ruam 5: Pom zoo

Thaum koj ua tiav, nco ntsoov xyuas kom txhua yam ua haujlwm, zoo li khawm, LEDs, lossis xov hlau. Yog tias LED tsis teeb, koj tuaj yeem sim hloov nws ua ntej. Yog tias nws tsis ua haujlwm, txheeb xyuas koj kab thiab tus lej.

Pom zoo: