Cov txheej txheem:

Arduino Guitar Tuner: 3 Kauj Ruam
Arduino Guitar Tuner: 3 Kauj Ruam

Video: Arduino Guitar Tuner: 3 Kauj Ruam

Video: Arduino Guitar Tuner: 3 Kauj Ruam
Video: pirates of the Caribbean(guitar-robot) 2024, Hlis ntuj nqeg
Anonim
Image
Image

Nov yog lub tshuab ntaus guitar kuv tau ua nrog Arduino Uno thiab qee yam khoom kuv tau dag ib ncig. Nws ua haujlwm zoo li no:

Muaj 5 khawm txhua tus uas yuav tsim cov ntawv sib txawv hauv tus qauv ntaus suab paj nruag EADGBE. Txij li thaum kuv tsuas muaj 5 khawm, Kuv tau sau cov cai kom yog tias koj tuav lub pob 'E', nws yuav tsim E siab, thaum yog tias koj tsuas yog nyem lub pob nws yuav ua rau E qis.

Thaum koj nias lub pob sib koom ua ke, tsab ntawv ntawm daim ntawv yuav tshwm ntawm 7 ntu ntu, thiab lub suab nrov nrov yuav tsim lub suab kom raug. Qhov siab E yog qhia ntawm cov zaub los ntawm 'E.' thaum tus E qis tau qhia tias yog 'E'.

Nws tsis zoo nkauj heev vim tias kuv tau siv lub suab nrov tsis zoo, txawm hais tias nws ua haujlwm. Kuv tau kho kuv lub guitar ua tiav nrog nws ntau zaus.

Kauj ruam 1: Yam Koj Yuav Tsum Tau

Thaiv
Thaiv

Rau qhov haujlwm no kuv siv cov cuab yeej hauv qab no:

Arduino Ib

Cov qhob cij

74HC595 Hloov Sau Npe

Active Buzzer

8 x 220 Ohm Resistors

7 Tshooj Zaub

5 Cov Khaub Ncaws Me Nyuam (nyiam dua 6)

Kauj ruam 2: Kev thaiv kab

Thov txim nws tsis zoo li zoo nkauj. Nov yog kuv thawj zaug nrog schematic software. Kuv sim ua xim sib koom ua ke kom koj tuaj yeem ua raws txhua lub teeb liab.

Kauj ruam 3: Code

Cov lej tuaj yeem pom ntawm github ntawm:

Pom zoo: