Cov txheej txheem:

Arcade Button MIDI Keyboard: 7 Kauj Ruam (nrog Duab)
Arcade Button MIDI Keyboard: 7 Kauj Ruam (nrog Duab)

Video: Arcade Button MIDI Keyboard: 7 Kauj Ruam (nrog Duab)

Video: Arcade Button MIDI Keyboard: 7 Kauj Ruam (nrog Duab)
Video: Apple always leaves their products so close to the edge #shorts #appleevent 2024, Hlis ntuj nqeg
Anonim
Arcade Khawm MIDI Keyboard
Arcade Khawm MIDI Keyboard

Nov yog qhov version 2.0 ntawm ib qho ntawm kuv qhov kev tawm tsam thawj zaug rau hauv Arduino thiab DIY MIDI programming. Kuv tau tsim kuv cov txuj ci hauv kev tsim qauv thiab tsim qauv yog li kuv xav tias nws yuav yog qhov ua piv txwv zoo ntawm cov txheej txheem thiab kev nce qib. Nrog cov txheej txheem tsim qauv paub ntau dua Kuv rov siv cov nyees khawm los ntawm kuv thawj zaug sim thiab teeb tsa los tsim 2.0!

Kauj ruam 1: Cov ntaub ntawv

Khoom siv
Khoom siv

Kuv qhov 1st siv Arduino Mega vim tias muaj ntau qhov kev nkag siab nws muaj tab sis kuv nyiam qhov me me thiab HID MIDI lub peev xwm uas Pro Micro muaj thaum siv Midi_controller.h lub tsev qiv ntawv. Yog li kuv txiav txim siab siv ob 16-channel multiplexers kom txaus siab rau qhov xav tau nkag rau 2-octaves ntawm ntau yam.

Nov yog cov npe uas kuv siv:

Cov Loj Loj Arcade X15

Cov Khaub Ncaws Me Me X10

Pro Micro x2, UA

16-channel Multiplexer x2

Neopixel nplhaib

10 k Potentiometer x6

Hookup hlau

Cuab yeej cuab yeej

1/8 `` MDF

Kauj Ruam 2: Tsim thiab Txiav

Image
Image
Solder thiab Hlau
Solder thiab Hlau

Kuv tau suav nrog.svg cov ntaub ntawv txhawm rau nug lub siab yog tias muaj txiaj ntsig, tab sis kuv txhawb txhua tus kom ua kom muaj kev muaj tswv yim zoo thiab sim ua cov txheej txheem tsim. Tej zaum siv acrylic hloov ntawm mdf yuav zoo txaus!

Kuv siv lub laum thiab tho qhov me ntsis hauv 1st version yog li kuv tab tom nrhiav kom tau txais cov khoom lag luam zoo dua siv cov software tsim thiab tshuab txiav laser lub sijhawm no.

Kauj Ruam 3: Cov laug thiab xaim

Solder thiab Hlau
Solder thiab Hlau
Solder thiab Hlau
Solder thiab Hlau
Solder thiab Hlau
Solder thiab Hlau

Qhov no yog lub sijhawm siv sijhawm ntau tshaj plaws. Kuv pom qee qhov ntawm kev kho tshuaj kom thiaj li tau txais qee cov tshuaj yej, muab tso rau hauv ib qho yooj yim jam thiab paub tias cov kauj ruam no yog marathon thiab tsis yog kev sib tw!

Kuv tau sim khaws ntau cov xov hlau ntau li ntau tau los ntawm 1st version thiab sau tseg tias kuv yuav mus qhov twg Arduino thiab mux txhawm rau sim thiab tshem tawm qee qhov ntawm cov hlau loj uas yuav tau nyem rau hauv lub thawv tom qab nws ua tiav

Kuv zoo li lees txais qhov chaos ntawm qhov zoo diy tangle ntawm cov xov hlau ntau dua li qee qhov yog li ua raws koj tus kheej lub hom phiaj thaum txheeb tawm cov xov hlau.

Raws li kev taug mus rau kev sib txuas, sau cov cai ua ntej thiab tom qab ntawd cia qhov hais qhia qhov twg cov xov hlau yuav mus …

Kuv ua cov keyboard los ntawm qhov qis tshaj mus rau qhov siab tshaj plaws nrog 1st 16 sau ntawv mus rau mux1 thiab cov ntawv sau ntxiv mus rau mux2 tej zaum yuav muaj kev nce me ntsis nyob rau hauv latency nrog kev teeb tsa mux tab sis 16mhz processor zips los ntawm nws nrawm txaus kom kuv tsis pom.

Kuv sim dhia dej mus rau hauv midi multiplexing ua ntej ib qho kev qhia thiab ntaus phab ntsa, yog li kuv pom zoo ua ob peb yam kev qhia yooj yim kom tau txais lub hauv paus nkag siab yog tias txhua yam zoo li tsis ncav cuag.

Kuv ua raws cov kauj ruam daws teeb meem yooj yim no: 1. Nco ntsoov txhua yam yog hauv av2. Txheeb rau luv luv 3. Cov pob tau 5v4. Txheeb ob zaug tias txhua yam yog hauv paus

Kauj Ruam 4: Muaj Ntau Lub Xov …

Cov kab ntau dhau…
Cov kab ntau dhau…
Cov kab ntau dhau…
Cov kab ntau dhau…
Cov kab ntau dhau…
Cov kab ntau dhau…

Kuv tsis suav qhov tob ntawm lub thawv thiab muaj teeb meem ua rau sab saum toj zaum zoo nrog saib zoo li nws tab tom yuav tawg "Akira Style" yog li kuv tau tham nrog nws nrog qee tus phooj ywg hauv chav ua yeeb yaj kiab thiab tuaj nrog lub tswv yim los tso nws tso saib ntawm lub kaum sab xis. Kuv tau ua qee qhov qauv nrawm nrog cov khoom seem acrylic thiab xaus nrog kev daws teeb meem zoo. Nws yog qhov ua kom pom cov noog zes tawm sab nraub qaum zoo li tshawb nrhiav ntawm thaj txuas hauv 60s Moog cov khoom sib txuas. Tiav lawm, txoj cai?

Kauj ruam 5: Neopixel

Image
Image

Kuv tau siv Neopixels hauv qhov haujlwm yav dhau los siv MIDI thiab tau pom tias MIDI xav tau lub rooj tsav xwm tshwj xeeb los ua nws txoj haujlwm yog li kuv tau txuas lwm Pro Micro siv "RAW" cov tswv yim rau 5v lub zog khiav los ntawm thawj pawg thawj coj. Kuv tsis tau teeb tsa ib yam dab tsi zoo nkauj, tsuas yog pom qhov program los ntawm cov qauv piv txwv zoo nkauj los ntawm Adafruit lub tsev qiv ntawv.

Kauj ruam 6: Code

Txhawm rau upload: 1. Nco ntsoov tias koj rub tawm Midi_Controller.h library2. Xaiv "Arduino Leonardo" los ntawm pawg thawj coj saib 3. Xaiv borad los ntawm Port menu4. Compile thiab upload

Tom qab xa cov ntawv xeem nrog daim ntawv thov saib xyuas midi. Yog tias txhua yam zoo li ua haujlwm raws li tau npaj tseg nws yog lub sijhawm los ua suab paj nruag!

Kauj ruam 7: Jam tawm

Kuv siv Ableton Live nrog kuv cov phiaj xwm vim nws hloov pauv tau. Yog tias koj siv Garage Band nws tseem yuav ua haujlwm tab sis cov pob qhov rooj yuav muaj lub luag haujlwm ruaj khov nyob ntawm seb koj teeb tsa tus lej MIDICC li cas hauv daim duab. Tso lawv rau hauv cov lus! Zoo Siab Ua!

Pom zoo: