Cov txheej txheem:

HX1 -DM - Upcycled Arduino DUE Powered DIY Nruas Tshuab (ua Nrog Tuag Maschine MK2): 4 Cov Kauj Ruam
HX1 -DM - Upcycled Arduino DUE Powered DIY Nruas Tshuab (ua Nrog Tuag Maschine MK2): 4 Cov Kauj Ruam

Video: HX1 -DM - Upcycled Arduino DUE Powered DIY Nruas Tshuab (ua Nrog Tuag Maschine MK2): 4 Cov Kauj Ruam

Video: HX1 -DM - Upcycled Arduino DUE Powered DIY Nruas Tshuab (ua Nrog Tuag Maschine MK2): 4 Cov Kauj Ruam
Video: q3d quickfit extruder 2024, Hlis ntuj nqeg
Anonim
Image
Image
Kho
Kho

Qhov Spec

  • Hybrid Midi maub los / tshuab nruas: Arduino DUE powered!
  • 16 Tshaj tawm qhov ntsuas qhov nrawm nrog qis qis heev 1> ms
  • 8 pob qhov rooj siv rau tus Midi #CC hais kom ua
  • 16ch Built-in sequencer (tsis xav tau lub computer !!)
  • MIDI hauv/tawm/hla kev ua haujlwm (tuaj yeem siv ua USB midi interface!)
  • Ib nrab ntawm MIDI moos & MTC kev txhawb nqa (ua haujlwm ntawm MMC thiab DAW tswj)

Qhov no yog qhov tseeb ib qhov haujlwm nyuaj tshaj plaws uas kuv tau ua haujlwm, tau tham txog 17 qhov hloov pauv rau npe, 6 qhov hloov pauv rau npe, 2x 16 channel multiplexers ua haujlwm ntawm lub rooj tsav xwm hauv Circuit Kuv tsis muaj lub tswv yim dab tsi thiab qhov twg ntxiv Kuv tsis tau messed nrog ua haujlwm sau npe / multiplexers ua ntej ……

Nws pib ua qhov tsis txaus ntseeg yuav tawm ntawm eBay, Kuv yeej xav tau Native Instruments Maschine vim tias Ive ib txwm nyiam cov nruas los ntawm lawv piv rau cov uas nyob hauv MPC studio kuv muaj yog li thaum kuv pom qhov ua tsis raug ntawm eBay rau £ 40 quid Kuv xav Kuv yuav muab kho nrog qhov xwm txheej phem tshaj yog 'yog tias kuv kho tsis tau nws kuv tau txais Arduino DUE thiab ob peb UNO dag ib puag ncig, Kuv ib txwm tuaj yeem ua qee qhov hack'

Kuv yeej nyiam cov nruas los xij !!!!

Khoom siv

1 x ua tsis zoo Native Instruments Maschine MK2

1 x Arduino Dua.

17 x SN74HC595's - 8 -ntsis tso zis hloov pauv rau npe

6 x SN74HC165's - 8 -ntsis kev hloov pauv rau npe

2 x 74HC4067 - 16 channel multiplexers.

2 x 3.2 256x64 OLED zaub.

qee cov xaim xaim (cov kab yas qub yuav ua)

Kauj ruam 1: Kho

Tus muag eBay tau ua siab zoo txaus los muab lub tswv yim ntawm qhov yuav tsum tau ua hauv qhov kev piav qhia thiab tau tshem lub USB chaw nres nkoj. Lub rooj tsavxwm tau raug kev kub ntxhov ntau dhau thiab tsis muaj zog. Cue lub multimeter…. Lub Rooj Tswjhwm Saib tau tshwm sim luv.. 'Kuv tau kho cov suav tsis txheeb suav nrog lub luv ua ntej Yog li nyuaj npaum li cas nws tuaj yeem ua tau?!' tivthaiv ntawm lub rooj tsavxwm suav nrog lub ntsiab CPU. Pawg thawj coj no tau ua phem heev!

Kuv txuas ntxiv mus prod & poke nrog kuv lub multimeter, tau tshawb fawb me ntsis ntawm cov khoom siv thiab txiav txim siab seb txhua tus ua li cas ntxiv rau NI ua txoj haujlwm zoo ntawm kev ua tej yam zoo nkauj nrog ntau yam kev ntsuas ntsuas ib puag ncig ntawm lub motherboard ??

Kauj ruam 2: Hack

Cov Hack
Cov Hack
Cov Hack
Cov Hack
Cov Hack
Cov Hack

Paub tias kuv yuav xav hloov txhua yam bar qhov tseem ceeb CPU (uas yuav tsis xav tau) Kuv tig mus rau eBay. Ua tsaug txhua yam uas xav tau yog pheej yig yog li xaj kom thauj khoom ntawm lawv tau lom zem. ?

17 x SN74HC595's - 8 -ntsis tso tawm ua haujlwm tso npe

17 qhov kev hloov pauv rau npe tau siv los tswj lub nruas ncoo ntau lub xim LEDs thiab txhua lub khawm LEDs (136 kom yog qhov tseeb !!) Cov no yog qhov yooj yim siv thiab pom sai sai lub tsev qiv ntawv siv Arduino IDE los cawm kuv tus kheej ua ib qho.. lawv raug kaw ua ke.

6 x SN74HC165's - 8 -ntsis kev hloov pauv rau npe

Cov tswv yim hloov pauv no yog qhov zoo rau ntau cov tswv yim ntawm 1 channel. Muaj tag nrho 48 cov nyees khawm.

2 x 74HC4067 - 16 channel multiplexers

Peb tau txais 16 lub ncoo thiab 8 pob qhov rooj tawm ntawm cov no yog cov piv txwv. Kuv pom nws yooj yim siv cov no raws li cov uas nyob hauv pawg thawj coj yog 8channel thiab kuv muaj teeb meem nrhiav qhov twg los txuas cov ntaub ntawv pins.. cue spaghetti hlws ris….

2 x 3.2 "256x64 OLED zaub

Nws yuav tsum muaj qee cov ntxaij vab tshaus !!! Kuv tsis tuaj yeem nrhiav cov ntaub ntawv ntawm thawj cov ntxaij vab tshaus LCD uas tuaj hauv NI Maschine thiab kuv tsis tuaj yeem txhawj xeeb nkim sij hawm sim ntxiv yog li kuv txiav txim siab xaj qee qhov los ntawm Suav teb … Kuv siv UG8x8 lub tsev qiv ntawv kom tau txais cov haujlwm no. Cov ntxaij vab tshaus tshiab tau me dua me dua qhov qub yog li kuv tsuas yog tawm ntawm 'cov khoom tsis zoo'.

1 x Arduino Dua

Kuv tau pw qhov no ib puag ncig rau qee lub sijhawm tos ntawm qhov haujlwm tsim nyog txaus rau txhua lub zog ntawd !! Muaj teeb meem kuv tau ntsib, Nws zoo li qee qhov kev hloov kho ntawm cov laug cam no muaj qhov teeb meem rov pib dua uas txhais tau tias kuv yuav tsum ntaus lub pob pib dua qee zaum kom tau txais yam khoom ua haujlwm tom qab rub tawm daim duab. Qhov no tau yooj yim kho nrog 10K tus tiv thaiv (muaj cov ntawv tshaj tawm ntawm Arduino lub rooj sab laj txog qhov no).

Kauj Ruam 3: Txoj Cai

Kuv tau txaus siab heev txog kev txhawb nqa ntau npaum li cas hauv Arduino zej zog, nrhiav cov piv txwv thiab cov tsev qiv ntawv rau ntau yam khoom siv yog yooj yim heev thiab ncaj nraim mus.

Ua kom USB midi nce thiab khiav tau yooj yim thiab siv ob peb feeb. Cov LEDs tau siv qee lub sijhawm thiab kuv yuav tsum tsim cov duab kos uas tau teeb tsa txhua tus pin HIGH hauv 1 thib ob ua ntu zus thiab tau sau tseg.. Kuv tau ua ib qho array uas tuav tus lej PIN kom yooj yim dua thaum nws los rau coding txhua yam.

Kuv tau ua 2 lub tsev qiv ntawv los tham nrog cov sib txuas sib txuas, ib tus tuav cov ntaub qhwv sib piv thiab lwm qhov pob qhov rooj. Dua qhov no yooj yim heev. Kuv tau txuas nrog lawv zoo siab siv kev hloov kho thiab lwm yam.

Kuv xav kom muaj tus lej txuas thiab muaj peev xwm sau tsis tas yuav siv lub khoos phis tawj, Kuv pom qee cov ntaub ntawv yuav hloov pauv BPM rau ms thiab pom qhov zoo Arduino DUE timer library.

Siv lub tsev qiv ntawv timer Kuv muaj peev xwm teeb tsa kev nyeem ntawv nkag thiab cov khoom hauv ntu:

Pads @ 1ms - Kuv pom qhov no los muab qhov sib npaug zoo tshaj ntawm cov lus teb / de -bounce artifacts.

Khawm @ 40ms - Kuv siv lub tsev qiv ntawv kab ntawv yog li tsis muaj qhov nias tsis tau ploj.

Kev ua tiav hauv lub voj tseem ceeb, koj tsis tuaj yeem ua ntau dhau thaum koj cuam tshuam vim qhov no yuav kaw Arduino.

Cov khoom Midi @BPM (hauv ms) - rau qhov ua ntu zus, ntawm qhov xav tau BPM txoj haujlwm yog hu ua qhov hloov tshiab uas sau tseg ETC yuav tsum tau ua si thiab nce qhov kev sib ntaus.

Kauj ruam 4: Xaus

Xaus
Xaus

Tsis paub meej tias kuv tau ua dab tsi ntawm no tab sis kuv zoo siab heev, cov ntaub qhwv teb tau zoo heev, Kuv yuav tsum tau fiddle nrog lub sijhawm kom tau txais qhov sib npaug raug nrog kev lees paub thiab daws teeb meem. Kev ua ntu zus ua haujlwm tau zoo thiab thaum kuv xam tawm DAW kev txhawb nqa kuv tuaj yeem ua tiav qhov no rau hauv kuv cov haujlwm thiab muaj peev xwm ntxiv cov khoom hauv tus tswj kuv tau ib txwm xav tau!. nyob rau hauv kom tau tuav nrog C, nkag siab thim rov qab-engineering thiab yuav ua li cas multiplexers, hloov npe thiab MIDI ua ntu zus ua haujlwm. Kuv tab tom txuas ntxiv txhim kho cov cai tseem ceeb thiab yuav tso nws ib hnub raws li qhov qhib qhib qhov tsim tawm suab paj nruag.

Tswv yim:

Kuv pom yuav ua li cas hloov pauv USB lub npe ntawm DUE los ntawm kev kho ib qho ntawm cov ntawv header hauv Arduino/SAM nplaub tshev.

MIDI-OX yog lub cuab yeej zoo rau kev ntsuas Midi kev ua haujlwm

LINKS:

www.usb.org/sites/default/files/midi10.pdf - USB MIDI Hais lus -mi… Qee cov ntaub ntawv yuav hloov pauv BPM rau ms

travis-ci.com/SMFSW/Queue - Rau khawm cov tswv yim yog li peb tsis nco ib qho nias!

github.com/olikraus/u8g2/wiki/u8x8referenc… - UG8 lib rau LED/LCD Screens

github.com/ivanseidel/DueTimer/releases - Arduino DUE Timing lib

www.pjrc.com/teensy/td_libs_Encoder.html - Encoder Lib rau pob qhov rooj loj

shiftregister.simsso.de/ - ShiftIn Register lib - Tsim los ntawm Henrik Heine, Lub Xya Hli 24, 2016

forum.arduino.cc/index.php?topic=57636.0 - MIDI Lub Sijhawm Code cov khoom

Pom zoo: