Cov txheej txheem:

LED VU-Meter Nrog Arduino UNO: 7 Cov Kauj Ruam (nrog Duab)
LED VU-Meter Nrog Arduino UNO: 7 Cov Kauj Ruam (nrog Duab)

Video: LED VU-Meter Nrog Arduino UNO: 7 Cov Kauj Ruam (nrog Duab)

Video: LED VU-Meter Nrog Arduino UNO: 7 Cov Kauj Ruam (nrog Duab)
Video: NOOBS PLAY CLASH ROYALE FROM START LIVE 2024, Kaum ib hlis
Anonim
LED VU-Meter Nrog Arduino UNO
LED VU-Meter Nrog Arduino UNO

Ib lub ntim ntim (VU) 'meter' lossis qhov ntsuas qhov ntsuas qhov ntsuas (SVI) yog cov khoom siv uas sawv cev rau qib kev teeb liab hauv cov khoom siv suab. Hauv qhov haujlwm no kuv tau siv LEDs los qhia tias muaj zog npaum li cas lub teeb liab lub suab. Thaum twg lub suab siv tau siab heev ces tag nrho cov LEDs ci tab sis thaum qhov kev siv qis dhau ces tsuas yog nruab nrab ob lub teeb ci.

Kauj Ruam 1: YUAV TSUM MUAJ QHOV TSEEB

YUAV TSUM YUAV TSUM TAU
YUAV TSUM YUAV TSUM TAU
YUAV TSUM YUAV TSUM TAU
YUAV TSUM YUAV TSUM TAU

1. Arduino UNO/Mega/Nano/Mini. (1 daim)

2. Muaj yeeb yuj LED s. (8 daim)

3. Jumper hlau.

4. Male chaw nres nkoj/ncej.

5. Vero board. (1 daim)

6. Mic. (1 daim). Cov hlau yuav tsum tau muab txuas rau tus ncej ntawm lub mic rau kev txuas.

7. Resistor - 10K (3 pc)

8. Capacitor - 0.1uF (1 pc)

9. Cov khoom siv Soldering.

10. 12/9 V DC Source.

Kauj Ruam 2: CIRCUIT DIAGRAM

CIRCUIT DIAGRAM
CIRCUIT DIAGRAM
CIRCUIT DIAGRAM
CIRCUIT DIAGRAM

Daim duab qhia chaw yog yooj yim heev.

1… 2… 3..4.. nr. tau sau hauv qab LEDs (hauv daim duab). LED no.1 txuas nrog Digital pin 3 ntawm arduino uno. Ib yam li LED no.2 txuas nrog Digital pin 4 ntawm arduino uno. Yog li cov npe ntawm LED tus lej tsis yog. thiab nws qhov txuas rau tus lej digital tau muab hauv qab no:

LED no.1 Digital pin 3 ntawm Arduino UNO.

LED no.2 Digital pin 4 ntawm Arduino UNO.

LED no.3 Digital pin 5 ntawm Arduino UNO.

LED no.4 Digital pin 6 ntawm Arduino UNO.

LED no.5 Digital pin 7 ntawm Arduino UNO.

LED no.6 Digital pin 8 ntawm Arduino UNO.

LED no.7 Digital tus pin 9 ntawm Arduino UNO.

LED no.8 Digital pin 10 ntawm Arduino UNO.

Lub condensor mic txuas nrog Analog tus pin A0 ntawm RC Circuit Court.

Yuav tsum muaj kev sib koom ua ke sib koom ua ke ntawm Arduino UNO thiab LEDs.

Kauj Ruam 3: Muag LEDs

SOLDERING LEDs
SOLDERING LEDs
SOLDERING LEDs
SOLDERING LEDs

Cov laug yuav tsum huv thiab huv.

Kauj Ruam 4: Txoj Haujlwm Ua Haujlwm

UA HAUJ LWM NTAWV
UA HAUJ LWM NTAWV
UA HAUJ LWM NTAWV
UA HAUJ LWM NTAWV

Lub condenser mic yog siv los txais lub suab cim. Lub suab cim (hauv daim ntawv ntawm lub zog suab) hloov pauv mus rau lub zog hluav taws xob nrog kev pab los ntawm RC Circuit. Tom qab ntawd uas tau pub rau hauv Analog tus pin ntawm Arduino UNO. Yog li yog tias peb tuaj yeem luam tawm qhov txiaj ntsig ntawd hauv kev saib xyuas ntawm Arduino UNO, tom qab ntawd peb yuav pom qhov sib txawv ntawm 0 txog 100 lossis ntau dua nyob ntawm qhov ntim ntawm lub suab siv. Thaum tus nqi yog 0 nws txhais tau tias tsis muaj lub teeb liab nkag. Yog li ntau dua lub suab, siab dua tus nqi ntawm cov khoom siv analog. Hauv cov cai kuv tau faib cov nqi sib piv nrog 10. Qhov no tsis yog qhov yuav tsum tau ua, tib yam yuav tshwm sim yog tias peb tsis faib nrog 10. Yog li leej twg tuaj yeem tawm tswv yim kab hauv kab lus arduino thiab mus txuas ntxiv.

Yog li thaum cov txiaj ntsig analog nkag tau tsawg dua tsuas yog LED tsis muaj. 1 thiab 2 yuav ci/ntsais. Raws li tus nqi sib piv nce LEDs sib xws yuav pib ci/ntsais muag. Thaum tus nqi sib piv mus txog nws qib siab tshaj li txhua lub LED yuav ci/ntsais.

Koj tuaj yeem nkag siab lub ntsiab lus ntawm LED VU Meter yog tias koj pom kuv tus youtube video ntawm LED VU Meter nrog arduino UNO (video twb tau muab rau thaum kawg).

Kauj Ruam 5: TSEV KAWM NTAWV

TSEV KAWM NTAWV
TSEV KAWM NTAWV
TSEV KAWM NTAWV
TSEV KAWM NTAWV

Kev teeb tsa tau npaj tiav tam sim no. Peb yuav siv peb lub xov tooj ntawm tes los ntaus nkauj thiab tuav tus hais lus ntawm peb lub xov tooj nyob ze lub mic ntawm LED VU Meter.

Kauj Ruam 6: ARDUINO CODE

Koj yuav tsum muaj Arduino IDE teeb tsa hauv koj lub PC lossis laptop.

Kauj ruam 7: VIDEO

Zoo li | Qhia tawm | Tawm tswv yim rau daim vis dis aus no.

Tsis txhob hnov qab sau npe yuav rau kuv channel#DChaurangi

Pom zoo: