Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Mount Ir Sensors
- Kauj ruam 2: Txuas lub Sensors
- Kauj Ruam 3: Txuas Cov Zis
- Kauj Ruam 4: Kho Ntau Yam Ntawm Ir Sensor thiab Npog Nrog Cov Ntawv Carsheet Dub
- Kauj Ruam 5: Txoj Cai rau Micro-controller Board
- Kauj Ruam 6: Qhov tshwm sim
Video: Cua Piano Siv IR Qhov Sib Thooj Sensor thiab Arduino Uno Atmega 328: 6 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
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. Kuv tab tom siv lub suab nrov nrov ua suab paj nruag, tab sis koj tuaj yeem siv tus hais lus tsim nyog/ subwoofer. Yav tom ntej kuv tos ntsoov yuav hloov kho txoj haujlwm nrog ntses bass thaj tsam siv Subwoofer.
Khoom siv
1) 10 pcs Ir sib thooj sensor
2) Arduino uno/ mega
3) screws (yeem)
4) Cov xov hlau
5) Piezo-hluav taws xob Buzzer
6) Daim npav dub/ daim kab xev dub
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: Txuas lub Sensors
Txuas txhua qhov zoo ntawm lub ntsuas cua siv cov 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. Yog li, yog tias koj xav txuas nrog coj ua qhov taw qhia hauv Circuit Court, txuas lub davhlau ya nyob twg tsis zoo rau lub zog tso tawm thiab zoo rau 3.3v txoj kev tsheb nqaj hlau zoo ntawm Arduino uno.
Kauj Ruam 3: Txuas Cov Zis
Tam sim no txuas tus lej digital tso tawm rau lub davhlau ya nyob twg zoo ntawm buzzer/ hais lus. Thiab txuas lub davhlau ya nyob twg tsis zoo rau hauv av ntawm Arduino uno. Yog tias koj siv lub suab nrov/ hais lus uas xav tau hluav taws xob siab, nws raug nquahu kom siv npn bjt vim tias nws muaj kev hloov pauv sai heev thiab tuaj yeem ua haujlwm tau zoo nrog kev hloov pauv zaus los ntawm Arduino. Tsis tas li nco ntsoov tias yog tias koj siv lub zog loj buzzer, tsis txhob siv fais fab mov los ntawm arduino. Hloov chaw siv qee qhov chaw sab nraud tab sis hauv kuv qhov xwm txheej kev siv hluav taws xob tsawg yog li kuv siv ncaj qha los ntawm Arduino.
Kauj Ruam 4: 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 5: Txoj Cai rau Micro-controller Board
Txoj cai pib nrog kev txheeb xyuas qhov zaus uas peb xav tau cov suab nrov/hais lus. Tom qab ntawd peb txhais cov pins uas peb yuav siv rau cov tswv yim nkag. Tom qab ntawd peb teeb peb tus pin hauv qhov tsis muaj teeb tsa teeb tsa (). Hauv lub voj void () Kuv tau nyuam qhuav siv cov nqe lus muaj cai vim tias txoj cai dhau los yooj yim thiab zoo txaus rau cov kev xav tau tam sim no.
Pom zoo:
Cua Piano Siv IR Qhov Sib Thooj Sensor, Hais Lus thiab Arduino Uno (Hloov Kho/ntu-2): 6 Cov Kauj Ruam
Cua Piano Siv IR Qhov Sib Thooj Sensor, Hais Lus thiab Arduino Uno (Hloov Kho/ntu-2): Qhov no yog kho dua tshiab ntawm qhov 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- Hard Bass mode, Normal mode, High fr
Qhov muag tsis pom kev Nrog ESP8266, Google Tsev thiab Openhab Kev Sib Koom thiab Kev Tswj Xyuas Web: 5 Cov Kauj Ruam (nrog Duab)
Qhov muag tsis pom kev Nrog ESP8266, Google Tsev thiab Openhab Kev Sib Koom thiab Kev Tswj Xyuas Web: Hauv Cov Lus Qhia no kuv qhia koj li cas kuv ntxiv kev siv tshuab rau kuv qhov muag tsis pom. Kuv xav kom muaj peev xwm ntxiv thiab tshem tawm qhov kev siv tshuab nws, yog li txhua qhov kev teeb tsa yog clip ntawm.Qhov tseem ceeb yog: Stepper motor Stepper tsav tswj bij ESP-01 Iav thiab teeb tsa
Ntev Ntau IR Qhov Sib Thooj Sensor: 3 Cov Kauj Ruam
Long Range IR Proximity Sensor: Infrared sensors yog qhov Module zoo tshaj plaws rau kev txheeb xyuas qhov khoom tab sis qhov teeb meem yog nws ua haujlwm rau qhov luv heev. hauv kab lus no, peb yuav qhia koj li cas koj tuaj yeem nce qhov ntau thiab yam cuam tshuam dab tsi rau qhov ntau
Kev sib thooj Duab Sib Koom IOS App: 6 Kauj Ruam
Kev Sib Faib Duab Sib Txuas IOS App: Hauv cov lus qhia no peb yuav tsim iOS app nrog Swift uas tso cai rau koj qhia cov duab nrog leej twg nyob ze, tsis tas yuav siv lub cuab yeej txuas ua ke. Peb yuav siv Chirp Txuas xa cov ntaub ntawv siv suab, thiab Firebase khaws cov duab hauv clo
Yuav Ua Li Cas Thiaj Li Ua Haujlwm Saib Xyuas Qhov Sib Thooj Sensor: 4 Cov Kauj Ruam
Yuav Ua Li Cas Thiaj Li Ua Haujlwm Saib Xyuas Qhov Sib Thooj Sensor: Hauv Phau Ntawv Qhia no kuv yuav qhia koj yuav ua li cas thiaj yooj yim tab sis zoo tshaj plaws saib kev sib thooj sensor. Koj tuaj yeem saib cov vis dis aus uas tau kos rau hauv cov kauj ruam no rau kev tsim kho, ntu ntu, daim duab qhia chaw & sim lossis koj tuaj yeem txuas ntxiv r