Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Mount Ir Sensors
- Kauj Ruam 2: Kho Ntau Yam Ntawm Ir Sensor thiab Npog Nrog Cov Ntawv Carsheet Dub
- Kauj Ruam 3: Txuas Tus Hais Lus rau Arduino
- Kauj Ruam 4: Xaim Ir Sensor Module thiab Kov Sensor Hloov
- Kauj Ruam 5: Code Microcontroller Siv Arduino Lub Tswv Yim
- Kauj Ruam 6: Yees duab ntawm Kev Ua Haujlwm
Video: Cua Piano Siv IR Qhov Sib Thooj Sensor, Hais Lus thiab Arduino Uno (Hloov Kho/ntu-2): 6 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Nov yog qhov hloov kho dua tshiab ntawm txoj haujlwm yav dhau los ntawm huab cua piano?. Ntawm no kuv tab tom siv tus hais lus JBL ua qhov tso tawm. Kuv kuj tau suav nrog lub khawm rhiab hloov pauv hom raws li qhov xav tau. Piv txwv li- Hard Bass hom, Hom Ib txwm, Hom suab paj nruag siab. Kuv yuav qhia koj yuav ua li cas rau tus neeg hais lus sib txuas rau Arduino. Feem ntau Pianos nws yog hluav taws xob lossis tshuab ua haujlwm ntawm cov txheej txheem yooj yim ntawm thawb khawm. Tab sis ntawm no yog qhov sib tw, peb tsuas tuaj yeem tshem tawm qhov xav tau ntawm cov yuam sij hauv piano los ntawm kev siv qee qhov ntsuas. Thiab Infra-red Proximity sensors zoo tshaj qhov ua rau vim tias lawv yooj yim siv thiab lawv kuj tseem nyob ib tus lej digital ntawm microcontroller board. Thiab kuj cov ntsuas no yog ib qho ntawm cov khoom siv pheej yig tshaj plaws muaj nyob rau ntawd.
Khoom siv
1) 10 pcs Ir sib thooj sensor
2) Arduino uno/ mega
3) Hais lus nrog lub mloog pob ntseg
4) khawm (Hauv kuv qhov teeb meem kov lub pob rhiab)
5) Lub hauv paus rau nce nws cov cim (daim ntawv acrylic)
6) Daim npav dub/ daim kab xev dub
7) ntsia hlau/Kua nplaum
8) Cov xov hlau
Kauj Ruam 1: Mount Ir Sensors
Ir sensor modules tau nruab nrog lub qhov ntsia ntawm qhov chaw. Koj tuaj yeem siv lub qhov kom haum rau lub ntsuas cua nrog cov ntsia hlau nruj lossis koj tuaj yeem siv cov kua nplaum los lo nws. Kuv tau siv daim ntawv acrylic ua lub hauv paus thiab qhov drilled qhov hauv acrylic nrog cov cim kom raug qhov twg txhua lub qhov yog 2 cm sib nrug. Tsis txhob teeb tsa lub ntsuas hluav taws xob nyob ze ib leeg ib yam li nws yuav ua rau koj puas paub cov neeg siv piano.
Kauj Ruam 2: Kho Ntau Yam Ntawm Ir Sensor thiab Npog Nrog Cov Ntawv Carsheet Dub
Siv lub zog ntsuas hluav taws xob ntawm nws lub ntsuas qhov ntsuas kom kho qhov tsim nyog rau koj cov yuam sij piano. Tam sim no nce daim npav ntawv dub yob rau nws sensor module coj thiab yees duab-diode raws li qhia hauv daim duab. Qhov no yog ua los tiv thaiv kev pom ntawm qhov tsis xav tau ntawm lwm yam. Peb xav txheeb xyuas cov ntiv tes nkaus xwb nyob rau pem hauv ntej. Thiab peb siv daim npav dub vim tias dub nqus tag nrho cov nthwv dej thiab txawm tias infra liab.
Kauj Ruam 3: Txuas Tus Hais Lus rau Arduino
Txuas ib kawg ntawm lub suab nkaus rau tus hais lus, lwm qhov kawg feem ntau muaj 3 ntu. Ob sab sab saud yog rau sab laug thiab sab xis nkag thiab qis dua feem ntau yog hauv av. Yog li txuas lub suab ntawm lub suab mus rau hauv av ntawm Arduino/microcontroller thiab txuas ib qho ntawm sab xis/sab laug ntawm lub suab tso rau tus lej digital ntawm microcontroller. Xa cov duab saum toj no kom tau txais lub tswv yim zoo. Qhib koj tus neeg hais lus thiab koj lub suab tso tawm tau npaj tiav.
Kauj Ruam 4: Xaim Ir Sensor Module thiab Kov Sensor Hloov
Kuv tab tom siv lub kov sensor hloov pauv hom piano? Koj tuaj yeem siv qhov yooj yim khawm hloov hloov. Txuas lub davhlau ya nyob twg zoo ntawm sensor hloov mus rau Arduino +5V thiab tsis zoo rau hauv av. Txuas cov khoom siv ntawm qhov kov sensor mus rau qhov nkag ntawm tus pin analog ntawm Arduino. Connect txhua qhov chaw zoo ntawm ir sensors siv xaim thiab cov laug (yeem). Kuj txuas txhua tus pin hauv av ntawm txhua qhov ntsuas. Tam sim no thaum kawg, koj yuav tsum txuas cov pins tso tawm los ntawm Ir sensor rau Digital pins ntawm microcontroller board. Hauv kuv qhov xwm txheej, nws yog Arduino uno. Nco ntsoov tias, thaum pom qhov teeb meem tawm los ntawm lub ntsuas hluav taws xob tsawg.
Kauj Ruam 5: Code Microcontroller Siv Arduino Lub Tswv Yim
Hauv txoj cai no, peb thawj zaug yuav tsum tau txhais cov pins rau ir lub tswv yim nkag, kov lub khawm sensor nkag thiab hais lus tso tawm. Tom qab ntawd peb tsim cov kab zauv ntawm ntau zaus sib txawv ntawm cov qauv sib txawv. Peb siv cov laus (); muaj nuj nqi ntawm Arduino lub tswv yim xa peb cov lus tso tawm rau tus hais lus. Peb siv noTone (); muaj nuj nqi kom nres lub suab. Kuv tsuas yog siv cov lus hais hauv lub voj, yog li nws yuav nkag siab yooj yim thiab ua haujlwm tau zoo.
Pom zoo:
Cov Hais Lus Ua Los Ntawm Cov Khoom Siv Rov Los thiab Rov Siv Dua: 6 Cov Kauj Ruam
Cov Hais Lus Ua Los Ntawm Cov Khoom Siv Rov Los thiab Rov Los Siv Rov Los: " Suab paj nruag yog cov lus thoob ntiaj teb ntawm tib neeg. Thiab qhov zoo tshaj plaws-lawv tsis tau them kuv ib dime. Txhua yam nyob rau hauv no pr
Cua Piano Siv IR Qhov Sib Thooj Sensor thiab Arduino Uno Atmega 328: 6 Cov Kauj Ruam (nrog Duab)
Cua Piano Siv IR Qhov Sib Thooj Sensor thiab Arduino Uno Atmega 328: Feem ntau Pianos nws yog hluav taws xob lossis tshuab ua haujlwm ntawm cov txheej txheem yooj yim ntawm thawb khawm. Tab sis ntawm no yog qhov sib tw, peb tsuas tuaj yeem tshem tawm qhov xav tau ntawm cov yuam sij hauv piano los ntawm kev siv qee qhov ntsuas. Thiab Infra-red Proximity sensors zoo tshaj qhov ua rau vim tias t
DIY Logitech Ntshiab Fi Nyob Qhov Twg 2 Rov Tsim Kho & Mini Bluetooth Hais Lus Hloov Kho Hloov Tshiab: 14 Cov Kauj Ruam (nrog Duab)
DIY Logitech Ntshiab Fi Nyob Qhov Twg 2 Rov Tsim Kho & Mini Bluetooth Hais Lus Hloov Kho Hloov Kho: Ib qho ntawm kuv nyiam tshaj plaws qhov no los ua, tab tom noj qee yam kuv pom pheej yig ntawm Kev Ua Siab Zoo, Yardsale, lossis txawm tias cov npe me me thiab ua qee yam zoo dua ntawm nws. Ntawm no kuv pom qhov qub Ipod chaw nres tsheb Logitech Pure-Fi Anywhere 2 thiab txiav txim siab muab nws tshiab
Txee Hais Lus W/ipod Dock (Ntu Kuv - Lub Thawv Hais Lus): 7 Cov Kauj Ruam
Txee Hais Lus W/ipod Dock (Ntu Kuv - Lub Thawv Hais Lus): Kuv tau txais ipod nano thaum lub Kaum Ib Hlis thiab txij li tau xav tau lub tshuab hais lus zoo rau nws. Ntawm kev ua haujlwm ib hnub kuv pom tias cov hais lus hauv computer kuv siv tau ua haujlwm zoo, yog li kuv tau mus rau Goodwill tom qab thiab pom qhov sib tham ntawm lub khoos phis tawj hais lus zoo rau $
Kev Sib Hloov Hloov Kho Hloov Kho rau Qub Guitar Amps: 11 Cov Kauj Ruam (nrog Duab)
Kev Sib Hloov Hloov Kho Hloov Kho rau Qub Guitar Amps: Txuag koj cov tawv nqaij! Txhim kho qhov kev txaus ntshai qub amp nrog kev hloov pauv cais. Muaj ob peb lub suab nrov qub (thiab xov tooj cua) rov qab nyob rau hauv ib hnub rub lub zog los ntawm kev kho tsev neeg ncaj qha " lub ntsiab " xov hlau Qhov no yog kev xyaum tsis nyab xeeb. Feem ntau