Cov txheej txheem:

Arduino MIDI-in Shield: 4 Kauj Ruam
Arduino MIDI-in Shield: 4 Kauj Ruam

Video: Arduino MIDI-in Shield: 4 Kauj Ruam

Video: Arduino MIDI-in Shield: 4 Kauj Ruam
Video: MIDI In/Out/Thru Interface for Arduino 2024, Hlis ntuj nqeg
Anonim
Arduino MIDI-hauv Shield
Arduino MIDI-hauv Shield

Cov lus qhia no qhia yuav ua li cas txhawm rau txhim kho daim thaiv txuas cov khoom siv uas xa MIDI cov cim (piv txwv li daim ntawv tseem ceeb) mus rau Arduino. naj npawb = 1187962258/

Kauj ruam 1: Schematic

Lub Schematic
Lub Schematic

Yeej qhov txheej txheem tsuas yog ib qho optocoupler nrog qee qhov tiv thaiv kom txiav tawm MIDI cov cuab yeej los ntawm Arduino. Ntau nco ntsoov tias DIN txuas ntawm sab laug yog pom los ntawm sab nraub qaum (sab laug-sab).

Kauj Ruam 2: Pawg Txheej Txheem, Daim Ntawv Teev Npe, thiab lwm yam

Pawg Txheej Txheem, Tshooj Npe, thiab lwm yam
Pawg Txheej Txheem, Tshooj Npe, thiab lwm yam
Pawg Txheej Txheem, Tshooj Npe, thiab lwm yam
Pawg Txheej Txheem, Tshooj Npe, thiab lwm yam
Pawg Txheej Txheem, Tshooj Npe, thiab lwm yam
Pawg Txheej Txheem, Tshooj Npe, thiab lwm yam

Ib feem ntawm cov npe: Cov tiv thaiv (1 daim txhua): 220 Ohms, 100 kOhms, 3.3 kOhmsDiode: 1N4148Optocoupler: 4N285 PIN DIN txuas (MIDI txuas) 2 pinheads 1x81 pinhead 1x41 pinhead 1x6 4N29) Txuas nrog yog cov ntaub ntawv tsim nyog rau kev kos lub rooj tsavxwm thiab cov ntaub ntawv dav dawb hau yog tias koj xav hloov kho.

Kauj ruam 3: Ntau lawm

Ntau lawm
Ntau lawm

Tsuas yog qee qhov lus qhia rau kev ua daim ntaub thaiv: Ib qho zoo heev yuav ua li cas (uas tau ua haujlwm zoo rau kuv tsis zoo li ntau lwm tus) rau kev kos lub rooj tsavxwm tuaj yeem pom ntawm no: https://hackaday.com/2008/07/28/how- to-etch-a-single-sided-pcb/Yog tias koj yog noob neej zoo li kuv thiab xav hloov kho lub rooj tsavxwm hauv dav dawb hau ces sim cov ntawv qhia no: https://www.instructables.com/id/Draw-Electronic-Schematics- nrog-CadSoft-EAGLEhttps://www.instructables.com/id/Turn-your-EAGLE-schematic-into-a-PCB CAD-cov cuab yeej-los-Soldering tus pinheads nce mus rau ntawm lub rooj tsavxwm kom koj tuaj yeem tso ncaj qha rau ntawm arduino yog qhov mob tiag tiag hauv lub nroog Yeiuxalees. Kuv tau tsoo lub taub hau ntawm kuv cov hlau txuas kom nws dhau los ua qhov txaus los ua txoj haujlwm ntawd. qhia rau kuv paub yog tias koj muaj kev daws teeb meem zoo dua. Rau pawg thawj coj no kuv siv DIN txuas uas tuaj yeem muab ncaj qha rau nws. Yog tias koj xav siv lwm tus nco ntsoov txuas cov pins nrog cov lej ntawm pawg thawj coj saib raws li tus pin ntawm tus txuas. Hauv daim duab ntawm no cov pins tau pom los ntawm sab nraub qaum (qhov uas koj muab tshuaj txhuam).

Kauj ruam 4: Programming

Thawj qhov kuv tau ua yog lwv lub microcontroller ntawm kuv Arduino los ntawm kev rub tus duab kos yam tsis txuas lub rooj tsavxwm ua ntej. Yog li yuav tsum tsis txhob ua li ntawd! Cov kho tshiab ntawm Arduino yuav tsum ntse txaus kom zam qhov no los ntawm lawv tus kheej, tab sis nws tsis yog qhov ua haujlwm ntau kom tshem tawm daim thaiv ua ntej rub tawm…. Txhua koj lub rooj tsavxwm Kuv xav kom siv daim duab kos los ntawm no:

Pom zoo: