Cov txheej txheem:

Arduino MIDI Keyboard Nrog Nkauj Qhia LEDs: 8 Kauj Ruam
Arduino MIDI Keyboard Nrog Nkauj Qhia LEDs: 8 Kauj Ruam

Video: Arduino MIDI Keyboard Nrog Nkauj Qhia LEDs: 8 Kauj Ruam

Video: Arduino MIDI Keyboard Nrog Nkauj Qhia LEDs: 8 Kauj Ruam
Video: Playing the Arduino MIDI Keyboard 2024, Hlis ntuj nqeg
Anonim
Arduino MIDI Keyboard Nrog Nkauj Qhia LEDs
Arduino MIDI Keyboard Nrog Nkauj Qhia LEDs

Nov yog kev qhia yuav ua li cas thiaj tsim tau MIDI keyboard, nrog rau LEDs qhia koj txoj nkauj, thiab LCD los tso saib zaj nkauj twg uas raug xaiv.

Cov LEDs tuaj yeem coj koj ntawm cov yuam sij twg los nias rau ib zaj nkauj tshwj xeeb. Xaiv cov nkauj nrog khawm sab laug thiab sab xis, thiab pib nws los ntawm nias ib nrab.

Kauj Ruam 1: Kauj Ruam 1: Cov Khoom

Koj yuav xav tau dab tsi:

  • 6 LEDs
  • Jumper xov hlau (ob leeg txiv neej-txiv neej thiab txiv neej-poj niam)
  • Tus txiv neej tus pin header
  • I2c LCD zaub
  • Arduino Uno thiab Arduino Mega
  • 3 x zog
  • 9 x 10k resistors
  • 1330 ohm tiv thaiv
  • Cov keyboard qub (Kuv siv Casio CT-638)
  • Ib USB cable los txuas cov arduino rau lub khoos phis tawj

Kauj Ruam 2: Kauj Ruam 2: Rho Tawm Cov Keyboard

Kauj ruam 2: Disassemble Keyboard
Kauj ruam 2: Disassemble Keyboard

Sib cais cov ntaub ntawv keyboard, thiab tshem lub PCB tseem ceeb, cov nyees khawm, thiab cov hais lus. Txhua yam koj yuav xav tau yog cov keyboard thiab cov keyboard PCB / ribbon cable.

Kauj Ruam 3: Kauj Ruam 3: Keyboard Matrix

Kauj ruam 3: Keyboard Matrix
Kauj ruam 3: Keyboard Matrix
Kauj ruam 3: Keyboard Matrix
Kauj ruam 3: Keyboard Matrix

Qhia tawm cov txheej txheem tseem ceeb rau cov keyboard matrix. Koj tuaj yeem ua qhov no nrog ntau lub ntsuas, tab sis yog tias koj tuaj yeem nrhiav cov lej rau nws, txawm tias zoo dua! Tom qab koj daim ntawv qhia tawm cov keyboard matrix, muab tus txiv neej tus pin lub taub hau rau cov keyboard ribbon, yog li koj tuaj yeem muab nws txuas rau ntawm lub khob cij.

Kauj Ruam 4: Kauj Ruam 4: Lub Creadboard Circut

Kauj ruam 4: Breadboard Circut
Kauj ruam 4: Breadboard Circut
Kauj ruam 4: Breadboard Circut
Kauj ruam 4: Breadboard Circut
Kauj ruam 4: Breadboard Circut
Kauj ruam 4: Breadboard Circut

Txuas txhua yam rau arduino raws li daim duab. Saum toj no yog cov duab ntawm kab lus, nrog rau yuav ua li cas nws yuav saib nrog lub khob cij.

Kauj Ruam 5: Kauj Ruam 5: Txuas rau Keyboard

Kauj ruam 5: Txuas rau Keyboard
Kauj ruam 5: Txuas rau Keyboard
Kauj ruam 5: Txuas rau Keyboard
Kauj ruam 5: Txuas rau Keyboard

Rub cov keyboard txuas rau ntawm daim ntawv tais, thiab kho cov LEDs rau lawv cov yuam sij raug.

Kauj Ruam 6: Kauj Ruam 6: Txoj Cai

Tshaj tawm cov cai rau koj Uno thiab koj Mega. Yog tias koj siv cov keyboard sib txawv, koj cov tswv yim thiab cov pins tuaj yeem sib txawv. leduno.ino yog rau Uno, thiab midipiano2 yog rau Mega.

Kauj Ruam 7: Kauj Ruam 7: MIDI Code

Kauj Ruam 7: MIDI Code
Kauj Ruam 7: MIDI Code

Rub tawm thiab teeb tsa Atmel Flip. Tom qab ntawd, txuas Mega rau koj lub khoos phis tawj nrog USB thiab muab tso rau hauv DFU hom kev ua haujlwm. Qhov no yuav tso cai rau koj ua haujlwm nrog Atmel Flip.

Rub tawm Atmel Flip los ntawm no:

www.microchip.com/DevelopmentTools/Product…

Tom qab ntawd, rub cov ntaub ntawv arduino hex los ntawm no:

github.com/ddiakopoulos/hiduino

Tshaj tawm nws rau koj pawg thawj coj ntawm Atmel Flip.

Kauj Ruam 8: Kauj Ruam 8: Txuas rau Koj Lub Computer

Tam sim no, yog tias koj xav ua si ntawm koj cov keyboard MIDI, txhua yam koj yuav tsum ua yog txuas nws rau koj lub khoos phis tawj, tua hluav taws koj nyiam VST tus tswv lossis DAW, thiab koj npaj txhij mus!

Pom zoo: