Cov txheej txheem:

MIDI 5V LED Sawb Lub Teeb Tswj rau Spielatron lossis Lwm Yam MIDI Synth: 7 Cov Kauj Ruam (nrog Duab)
MIDI 5V LED Sawb Lub Teeb Tswj rau Spielatron lossis Lwm Yam MIDI Synth: 7 Cov Kauj Ruam (nrog Duab)

Video: MIDI 5V LED Sawb Lub Teeb Tswj rau Spielatron lossis Lwm Yam MIDI Synth: 7 Cov Kauj Ruam (nrog Duab)

Video: MIDI 5V LED Sawb Lub Teeb Tswj rau Spielatron lossis Lwm Yam MIDI Synth: 7 Cov Kauj Ruam (nrog Duab)
Video: How to Quickly Detect Motherboard Short Circuit with the Rosin Dispenser #Shorts 2024, Hlis ntuj nqeg
Anonim
MIDI 5V LED Sawb Lub Teeb Tswj rau Spielatron lossis Lwm MIDI Synth
MIDI 5V LED Sawb Lub Teeb Tswj rau Spielatron lossis Lwm MIDI Synth

Cov maub los no flashes tri-xim LED sawb teeb rau 50mS ib cim. Lub rau G5 rau D#6, liab rau E6 rau B6 thiab ntsuab rau C7 rau G7. Cov maub los yog ALSA MIDI cov cuab yeej yog li MIDI software tuaj yeem tso tawm rau LEDs tib lub sijhawm raws li MIDI cov khoom siv hluav taws xob zoo li Spielatron. Tri-xim 5V LED strips thiab Arduino Nano tau yuav los ntawm Banggood.

Kauj Ruam 1: Ua tibzoo saib qhov ua tiav zaum kawg

Image
Image

Ntawm no tus tswj hwm tau ua haujlwm nrog Spielatron. Ob leeg tau sau npe ua MIDI cov cuab yeej siv ttymidi raws li peb Cov Lus Qhia ntawm kev xa nkauj mus rau Spielatron. Ob lub Spielatron thiab MIDI teeb tau xa tib lub suab nkauj los ntawm LMMS.

Kauj Ruam 2: Ua Tus Luam Luam Circuit Board

Populate PCB
Populate PCB

Peb tau hla PCB siv cov ntaub ntawv dxf muab.

Kauj Ruam 3: Tshaj tawm PCB

Ua kom muaj PCB nrog peb 10K tus tiv thaiv thiab peb BD681 NPN Darlington transistors thiab ib kab hauv kab kab taub hau ib zaug raws li daim duab qhia kev npaj.

Kauj Ruam 4: Rhais PCB rau ntawm Yas Stand-off Mount

Mount PCB rau ntawm Yas Stand-off Mount
Mount PCB rau ntawm Yas Stand-off Mount

Nco tseg tias tsis yog txhua tus pin ntawm Nano tau siv yog li nws tsis tas yuav tsum muab lub taub hau rau tag nrho qhov ntev, kuj tseem muaj qee qhov khoob thiab cov pawm uas yog rau lwm qhov haujlwm uas siv pawg thawj coj no raws li daim duab saum toj no.

Mount PCB rau ntawm 3D luam tawm yas sawv ntsug-tawm mount. Cov yas yas tau luam tawm los ntawm stl cov ntaub ntawv muab.

Kauj Ruam 5: Txiav Cov Thawj Coj ntawm 5V Tri-xim LED Sawb

Txiav Cov Thawj Coj ntawm 5V Tri-xim LED Sawb
Txiav Cov Thawj Coj ntawm 5V Tri-xim LED Sawb

Txiav qhov ua rau ntawm 5V tri-xim LED sawb sau tseg qhov kev txiav txim ntawm tus pin yog

5V +ua

xiav

liab

ntsuab

Kauj Ruam 6: Txuas LED Sawb, Ua Haujlwm Nano thiab Ntxiv rau Pawg Thawj Coj

Txuas LED Sawb, Ua Haujlwm Nano thiab Ntxiv rau Pawg Thawj Coj
Txuas LED Sawb, Ua Haujlwm Nano thiab Ntxiv rau Pawg Thawj Coj

Txuas lwm qhov kawg ntawm cov coj los ntawm cov kab hluav taws xob LED mus rau lub taub hau ntawm PCB nrog thawj tus pin (5V +ve) ntawm sab xis raws li daim duab saum toj no.

Program Nano nrog cov ntawv ino uas tau muab. Qhov no zoo ib yam li cov cai rau Spielatron tsuas yog sau ntawv ntawm kev ua haujlwm tsuas yog txheeb xyuas MIDI tus nqi ntawm daim ntawv thiab xaiv xim rau LEDs nyob ntawm nws tus nqi.

Xiav rau sau ntawv G5 rau D#6, liab rau ntawv E6 rau B6 thiab ntsuab rau ntawv C7 txog G7.

Ib zaug ntxiv tsis muaj txoj cai nyob hauv kev ceeb toom tawm ua haujlwm raws li LEDs tsuas yog flashed rau 50ms thiab tom qab ntawd kaw los ntawm kev ceeb toom ntawm kev ua haujlwm.

Kauj Ruam 7: Xa Suab Nkauj rau MIDI Lub Teeb Tswj

Tam sim no koj tau ua tiav thiab txhua yam koj yuav tsum ua yog xa cov nkauj mus rau MIDI lub teeb tswj thiab LEDs yuav nyem raws li lawv tus nqi sau tseg. Qhov kawg ntawm cov vis dis aus saum toj no muaj daim ntawv sim qhia pom LEDs hloov xim raws li Spielatron nce mus thiab nqis qis dua chromatic.

Pom zoo: