Cov txheej txheem:

 DIY LED Audio Level Indicator: 5 Kauj Ruam
DIY LED Audio Level Indicator: 5 Kauj Ruam

Video: DIY LED Audio Level Indicator: 5 Kauj Ruam

Video:  DIY LED Audio Level Indicator: 5 Kauj Ruam
Video: How to Make Retro Analog VU Meter at Home (Free PCB Files) 2024, Hlis ntuj nqeg
Anonim
DIY LED Audio Level Indicator
DIY LED Audio Level Indicator

Cov lus qhia no yuav coj koj mus kev los ua koj tus kheej lub suab ntsuas ntsuas, siv Arduino Leonardo thiab qee qhov khoom seem. Cov cuab yeej tso cai rau koj kom pom koj lub suab tso tawm kom pom qhov xwm txheej ntawm koj lub suab pom thiab hauv lub sijhawm tiag. Nws yog txoj haujlwm lom zem ua rau hnub so thiab muaj txiaj ntsig yog tias koj yog tus tsim yeeb yaj kiab lossis tsim yeeb yaj kiab.

Kauj Ruam 1: Npaj Tshooj

Npaj cov ntu hauv qab no:

koj yuav xav tau:

- 1x Arduino Leonardo

- 1x USB cable

- 1x daim ntawv qhia zaub mov

- 8 x LEDs

- 1x 3.5mm Lub Stereo Vaj Huam Sib Luag Mount Jacks

- jumper xov hlau

qhov ntxiv:

- thawv ntawv thawv

- ntaub ntawv ciab

- kab xev

Kauj Ruam 2: Sib dhos Circuitry

Sib dhos Circuitry
Sib dhos Circuitry

ua raws daim duab thiab sib sau ua ke ib feem, nws yog ib qho yooj yim Circuit Court thiab yuav tsum tsis siv sijhawm ntev li ntawd.

*Yog tias koj tab tom ntsib teeb meem nrog koj lub Circuit Court txheeb xyuas seb koj li LEDs qhov tsis zoo yog txhua qhov txuas nrog txoj kab tsis zoo nrog rau GND xaim.

Kauj Ruam 3: Coding Pib

Coding Pib
Coding Pib

Nov yog qhov txuas rau tus lej ua tiav:

YUAV UA LI CAS !!!

Ua ntej koj ua dab tsi nrog txoj cai, rub tawm lub tsev qiv ntawv no thiab nruab nws kom cov cai yuav ua haujlwm ArduinoFFT.zip.

Yog tias koj tsis paub yuav teeb lub tsev qiv ntawv rau hauv Arduino IDE li cas, saib kab ntawv no.

Yog tias koj xav hloov lub hom phiaj zaus hauv cov cai, hloov kab ntawm kab ntawv no

int tus nqi = data_avgs [0];

hloov tus nqi ntawm 0 txog 7, tus lej ntau dua, qhov ntau dua.

Kauj ruam 4: Ua kom zoo nkauj

Ua Kom Zoo Nkauj
Ua Kom Zoo Nkauj

Siv cov thawv ntawv los npog cov kab hluav taws xob thiab ua kom nws zoo. Ib qho ntxiv, koj tuaj yeem siv cov ntawv ciab lossis lwm cov ntawv los nthuav tawm LEDs yog tias lawv pom ci heev.

Kauj ruam 5: Ua nws

Nov yog qhov txuas rau qhov demo ua los ntawm kuv, thiab mus muaj kev lom zem nrog qhov koj nyuam qhuav ua.:)

Pom zoo: