Cov txheej txheem:

Tsim Arduino MIDI maub los: 5 Kauj Ruam (nrog Duab)
Tsim Arduino MIDI maub los: 5 Kauj Ruam (nrog Duab)

Video: Tsim Arduino MIDI maub los: 5 Kauj Ruam (nrog Duab)

Video: Tsim Arduino MIDI maub los: 5 Kauj Ruam (nrog Duab)
Video: NOOBS PLAY CLASH ROYALE FROM START LIVE 2024, Hlis ntuj nqeg
Anonim

Nyob zoo sawv daws! Hauv cov lus qhia no kuv yuav qhia koj yuav tsim koj li Arduino powered MIDI maub los li cas. MIDI sawv rau Cov Khoom Siv Hluav Taws Xob Digital Interface thiab nws yog cov txheej txheem uas tso cai rau khoos phis tawj, cov twj paj nruas thiab lwm yam khoom siv sib txuas lus. Yog tias koj ua raws txhua qib ntawm txhua qhov kev qhia no koj yuav tuaj yeem ua nkauj nrog Arduino!

Yam koj yuav kawm los ntawm Cov Lus Qhia no:

  1. Xaiv cov khoom haum rau txoj haujlwm no.
  2. Sketch tus interface nrog qhov ntev uas yog thiab tsim nws.
  3. Nyeem cov phiaj xwm hluav taws xob thiab txuas/txuas txhua qhov khoom siv rau Arduino.
  4. Xaiv qhov software raug los txuas MIDI maub los nrog DAW uas koj siv.
  5. Txheeb xyuas MIDI Tus Tswj.

Nco ntsoov koj saib cov vis dis aus vim tias nws yog piv txwv ntau dua. Sau npe yuav mus rau kuv tus Youtube channel yog li koj tsis nco txog qhov haujlwm tshiab thiab pab kuv loj hlob!

Kauj Ruam 1: Sau tag nrho Cov Khoom Siv

Sau tag nrho Cov Khoom Siv
Sau tag nrho Cov Khoom Siv
Sau tag nrho Cov Khoom Siv
Sau tag nrho Cov Khoom Siv
Sau tag nrho Cov Khoom Siv
Sau tag nrho Cov Khoom Siv

Nov yog cov npe khoom siv thiab cov cuab yeej peb xav tau kom ua tiav txoj haujlwm no:

1 x Arduino Uno Starter Kit

12 x Arcade Push Button

4 x lauj kaub Pob Kws Potenciometer

2 x Zaub Potenciometer

Cov khoom siv los tsim rooj plaub (Kuv txiav txim siab los tsim rooj plaub ntoo)

Kuv tau xaiv Arduino Starter Kit vim tias cov khoom siv no muab ntau cov ntaub ntawv muaj txiaj ntsig rau txoj haujlwm no xws li cov tiv thaiv thiab txhua qhov thaiv thiab txuas. Tsis tas li, yog tias koj yog tus pib zoo li kuv, lwm yam khoom siv nrog cov khoom siv no tuaj yeem pab koj pib nrog cov khoom siv hluav taws xob

Kuv yuav Cov Arcade Nthuav Tawm los ntawm qhov txuas saum toj no tab sis yog tias kuv yuav rov yuav dua, kuv yuav yuav cov BUTTONS no vim tias kuv xav muab tus qauv rau lub interface thiab nws ua tsis tau nrog cov xim ib leeg yog li kuv yuav tsum pleev xim rau lawv.

Cov cuab yeej koj yuav xav tau:

  • Hobby cov ntaub ntawv
  • Cov ntawv xuab zeb
  • Ntsia hlau tsav tsheb
  • X-acto riam
  • Caliper
  • Tus kav
  • Ntoo khoom
  • Spade ntsis
  • Jumper xov hlau
  • Rwb thaiv tsev kab xev
  • Cov kua roj vanish
  • Xim
  • Hlau stripper
  • Hlau txiav
  • Pom
  • Laum fais fab
  • Mini Axis Pom
  • Dremel
  • Super kua nplaum
  • Soldering Hlau
  • Solder
  • Soldering muab tshuaj txhuam

Koj tuaj yeem tshawb xyuas cov duab kom paub meej ntxiv.

Kauj Ruam 2: Kev kos duab thiab tsim lub interface

Sketching thiab tsim lub Interface
Sketching thiab tsim lub Interface
Sketching thiab tsim lub Interface
Sketching thiab tsim lub Interface
Sketching thiab tsim lub Interface
Sketching thiab tsim lub Interface
Sketching thiab tsim lub Interface
Sketching thiab tsim lub Interface

Kuv pom zoo kom kos duab koj lub interface yog li koj paub tseeb ntawm qhov ntev uas koj xav tau los tsim rooj plaub.

Kuv kwv yees kuv qhov kev cuam tshuam ntawm daim ntawv A4, siv tus xaum xaum tus pas ntsuas thiab lub koob. Koj tuaj yeem pom qhov tshwm sim hauv daim duab hauv qab no. Los ntawm kev kos duab lub interface, koj tau paub qhov ntev uas koj xav tau los teeb tsa txhua yam khoom siv. Kuv Cov Laub Khawm muaj 29.7mm txoj kab uas hla yog li kuv yuav mus rau qhov 30 hli qhov los nruab nws. Txhua lub qhov yog sib nrug los ntawm 10mm. Yeej txhua lub voj voog nruab nrab yog sib nrug los ntawm 40mm (txoj kab uas hla = 30 + qhov chaw = 10).

Cov lauj kaub lauj kaub muaj lub taub 10 hli. Nws raug nquahu kom laum nrog cov kab uas hla nce kom paub tseeb tias tsis txhob tawg ntoo. Kuv kuj tseem tshuav 10mm qhov chaw nruab nrab ntawm cov nyees khawm thiab lub lauj kaub pob qhov rooj potentiometers.

Thiab thaum kawg, zawv zawg potentiometers. Los ntawm cov ntaub ntawv kuv paub lawv qhov kev mus ncig yog li 80mm. Koj yuav tsum siv Dremel los qhib qhov qhib kom haum rau hauv cov zauv potentiometers, aka FADERS. Yog tias koj tsis muaj cov cuab yeej tshwj xeeb no koj tuaj yeem ua nws ib txwm ua raws li kuv qhia hauv video. Xav txog ib lub qhov nrog 80mm ntev thiab 3mm dav.

Nov yog kuv qhov kev tiv thaiv kab mob COVID-19. Kuv tau txiav txim siab los nrhiav txoj hauv kev kom siv kuv lub sijhawm thiab Arduino uas tau tso rau hauv lub tub rau khoom tuaj rau hauv siab. Kuv tau mus rau kuv lub khw muag khoom hauv nroog kom yuav ntoo los ua lub thawv ntawv thiab raws li kuv yuav nws kuv tau hais rau lawv tias tsis txiav ntoo vim tsis muaj cov neeg ua haujlwm thiab vim qhov no cais tus kheej/kaw. Yog li, kuv txiav txim siab yuav cov ntoo thiab txiav nws hauv tsev nrog cov khoom uas kuv muaj.

Tom qab tshem cov kab tawg nrog cov ntawv xuab zeb thiab npaj cov nplaim kuv tau siv cov kua roj vanish. Ob txheej tau siv. Tom qab kuv xaiv cov xim los pleev xim rau lub thawv. Koj tuaj yeem tshawb xyuas cov duab kom pom qhov tshwm sim!

Kauj Ruam 3: Daim Duab Duab Circuit thiab Kev Sib Txuas

Daim duab kos duab thiab Kev Sib Txuas
Daim duab kos duab thiab Kev Sib Txuas
Daim duab kos duab thiab Kev Sib Txuas
Daim duab kos duab thiab Kev Sib Txuas
Daim duab kos duab thiab Kev Sib Txuas
Daim duab kos duab thiab Kev Sib Txuas
Daim duab kos duab thiab Kev Sib Txuas
Daim duab kos duab thiab Kev Sib Txuas

Kuv txiav txim siab los ua piv txwv daim duab qhia chaw hloov chaw ntawm kev kos cov kab kos kab ke ib txwm muaj vim tias nws tuaj yeem ua rau tsis meej pem. Kuv tau siv ntau xim los cais cov xov hluav taws xob kom koj tuaj yeem nkag siab qhov twg txhua cov hlau nyob.

Cov nti siv ntawm Arduino muaj cov rub tawm sab hauv, yog li tsis tas yuav xaim hluav taws xob tiv thaiv rau txhua ntawm cov khawm arcade. Qhov no ua kom yooj yim yooj yim rau cov tswj kev thaiv.

Txhua yam peb yuav tsum tau ua yog xaiv ib sab ntawm Arcade Buttons los ua hauv av, lwm qhov yuav yog lub zog, uas yuav txuas nrog ib qho ntawm cov khoom siv digital ntawm Arduino board.

Faders muaj peb txhais ceg, thawj tus (suav los ntawm hauv qab) yog av (-), thib ob yog lub zog (+) thiab tus thib peb yog lub teeb liab.

Rau lub lauj kaub pob kws potentiometers nws cov hauv qab no: sab laug yog hauv av (-), nruab nrab ceg yog lub teeb liab thiab sab xis yuav yog lub zog (+).

Arduino tab tom yuav yog lub hlwb ntawm MIDI Controller. Nws yuav xa MIDI cov lus qhia rau software, nyob ntawm lub pob nyem thawb tawm.

Sab hauv yuav dhau mus tsis txaus vim tias txhua lub xov hlau, Kuv yuav qhia koj kom txhim kho cov txheej txheem txheej txheem. Piv txwv li, Kuv txiav txim siab los txhuam tag nrho cov xov hlau hauv av ua ntej, lub zog thiab thaum kawg kuv tau siv lub teeb liab jumper xov hlau.

Tom qab siv cov laug thiab txuas txhua tus pin rau Arduino pawg thawj coj, peb tuaj yeem kaw qhov thaiv. Saib cov duab kom pom qhov tshwm sim zaum kawg!

Kauj Ruam 4: Softwares thiab Programming

Softwares thiab Programming
Softwares thiab Programming
Softwares thiab Programming
Softwares thiab Programming
Softwares thiab Programming
Softwares thiab Programming

Koj yuav xav tau peb daim software txhawm rau txhawm rau ua suab paj nruag nrog koj Arduino.

Ua ntej, koj yuav tsum rub tawm Arduino IDE software txhawm rau pib sau koj tus lej thiab xa cov duab kos mus rau Arduino board.

Qhov thib ob, koj yuav tsum rub tawm LoopMidi software uas yog qhov tseem ceeb ntawm lub xov tooj cua nruab nrab.

Thaum kawg, kom xa koj cov ntaub ntawv nruab nrab mus rau LoopMidi software koj yuav xav tau Hairless Midi rau Serial Bridge software. Qhov software no zoo kawg rau qhia rau koj paub yog tias koj lub xov tooj txuas tau raug vim tias koj tuaj yeem pom cov ntaub ntawv hloov pauv ntawm MIDI Controller thiab Hairless Midi Serial.

Thawj kauj ruam yog qhib Arduino software thiab tus lej kuv tab tom txuas rau Cov Lus Qhia no (hu ua MIDI_Controller). Cov qhab nia raug muab rau Tus Sau Michael Balzer. Koj yuav tsum tsis tas yuav hloov kho txoj cai. Tsuas yog txheeb xyuas daim duab uas zoo ib yam li "debug" thiab thaum koj tau txais cov lus tias kev sib sau ua tiav koj tuaj yeem xa nws mus rau Arduino board.

Tom qab ntawd taub hau mus rau LoopMidi thiab xaiv lub npe chaw nres nkoj tshiab. Thaum koj xaiv ib qho tsuas yog nias lub pob ntxiv uas yuav tsim qhov chaw nres nkoj tshiab. Tom qab cov kauj ruam no qhib Hairless Midi Serial Choj thiab pib los ntawm kev xaiv MIDI Hauv qhov chaw nres nkoj uas koj nyuam qhuav tsim. Tom qab ntawd xaiv tib lub MIDI Out chaw nres nkoj. Thaum kawg xaiv qhov chaw nres nkoj ntawm koj lub computer (feem ntau yog COM#). Nrog koj zoo siab, koj nyuam qhuav qhib koj li MIDI maub los sib tham nrog lub khoos phis tawj!

Kauj Ruam 5: Kav MIDI Tus Tswj

Txheeb xyuas MIDI Tus Tswj
Txheeb xyuas MIDI Tus Tswj
Txheeb xyuas MIDI Tus Tswj
Txheeb xyuas MIDI Tus Tswj

Yog tias koj tau txais qhov no Zoo Siab Tos Txais !!! Koj tsuas yog ob peb kauj ruam los ntawm kev pib ua suab paj nruag nrog Arduino thiab ua si nrog koj li MIDI maub los!

Tam sim no koj xav tau taub hau rau koj DAW (Digital Audio Workstation) thiab teeb tsa qhov chaw kom paub txog cov lus tawm sab nraud uas yog koj li MIDI Controller. Qhov piv txwv kuv tab tom muab yog Ableton Live. Koj yuav tsum mus

Kev Xaiv >> Nyiam: Qhov Chaw Nkag Mus Nkag Midi yuav tsum yog qhov koj tau txhais ua ntej thiab koj xav tau tig txoj kab thiab cov chaw taws teeb toggle khawm.

Tam sim no yog tias koj nias ib lub pob ntawm koj li MIDI interface koj yuav tsum pom lub teeb ci ntawm lub kaum sab xis saum toj ntawm DAW uas txhais tau tias software tau txais cov cim nruab nrab uas koj xa! Txhawm rau qhia daim MIDI Tus Tswj tsuas yog nyem rau ntawm "MIDI" khawm thiab DAW xim yuav tsum tig liab. Tam sim no nyem rau ntawm ib qho twg thiab tom qab ntawd nyem ib lub pob, koj yuav pom cov ntawv ceeb toom/tswj cuam tshuam nrog nws uas txhais tau tias khawm tau teeb tsa!

Thiab koj ua tiav! Nrog koj zoo siab! Txoj haujlwm zoo thiab ua haujlwm zoo! Qhia rau kuv paub yog tias koj ua nws!

Pom zoo: