Cov txheej txheem:

DIY MIDI CONTROLLER USB Plug & Play (UPGRADE NEOPIXEL RING): 12 Kauj Ruam
DIY MIDI CONTROLLER USB Plug & Play (UPGRADE NEOPIXEL RING): 12 Kauj Ruam

Video: DIY MIDI CONTROLLER USB Plug & Play (UPGRADE NEOPIXEL RING): 12 Kauj Ruam

Video: DIY MIDI CONTROLLER USB Plug & Play (UPGRADE NEOPIXEL RING): 12 Kauj Ruam
Video: DIY USB MIDI CONTROLLER With Arduino 2650 and Neopixel Ring #Arduino #midicontroller #live #ableton 2024, Hlis ntuj nqeg
Anonim
DIY MIDI CONTROLLER USB Plug & Play (UPGRADE NEOPIXEL RING)
DIY MIDI CONTROLLER USB Plug & Play (UPGRADE NEOPIXEL RING)
DIY MIDI CONTROLLER USB Plug & Play (UPGRADE NEOPIXEL RING)
DIY MIDI CONTROLLER USB Plug & Play (UPGRADE NEOPIXEL RING)
DIY MIDI CONTROLLER USB Plug & Play (UPGRADE NEOPIXEL RING)
DIY MIDI CONTROLLER USB Plug & Play (UPGRADE NEOPIXEL RING)

Mob siab rau MAO thiab Hluav Taws Xob Hluav Taws Xob tab sis kuj pom tias nws muaj peev xwm los tsim tus kheej Midi Interface kuv tau ua kuv tus 6 Potentiometers thiab 12 lub nyees khawm (rau / tawm) tab sis kom ua rau qhov chaw nyuaj dua uas nws twb kuv xav ntxiv qhov pom qhov pom tseeb auround txhua lub pob nyem

Kauj Ruam 1: POTENTIOMETERS THIAB BUTTONS

POTENTIOMETERS THIAB BUTTONS
POTENTIOMETERS THIAB BUTTONS
POTENTIOMETERS THIAB BUTTONS
POTENTIOMETERS THIAB BUTTONS

Yuav kom tuaj yeem xa cov lus txib midi nrog lub zog ntsuas nws tau coj kuv mus rau hauv qab tias lub hwj chim ntsuas hluav taws xob yog cov khoom sib piv (0 txog 1023) thiab cov ntaub ntawv uas tau txais Arduino ntawm nws qhov kev nkag siab anologic muaj qhov sib txawv me me uas qhov kev hloov pauv me me cuam tshuam nrog kev sib tham nrog Computer

Kuv qhia koj sim txhua lub zog ntsuas kom tsis txhob muaj qhov yuam kev thiab yog tias qhov sib txawv ntawm tus nqi tseem ceeb heev potentiomtre yog tej zaum HS

Tus nqi yuav tshuaj xyuas los ntawm arduino thiab yuav tsum tau xa mus rau Computer hauv Midi yuav tsum huv (nws cov lej lej)

Qhov sib txawv me me tuaj yeem raug zam ntawm cov ntaub ntawv uas yuav suav nrog hauv qhov program Cov nyees khawm ua haujlwm zoo li qhib / tua

Kauj Ruam 2: NEOPIXEL RINGS NROG ARDUINO

NEOPIXEL RINGS NROG ARDUINO
NEOPIXEL RINGS NROG ARDUINO

Txhawm rau siv neopixel RIng nrog arduino koj yuav tsum teeb tsa NEOPIXEL Libraryhttps://learn.adafruit.com/adafruit-neopixel-uberg …

#include // Library Neopixel

#define PINX X // DATA IN; Tus pin twg ntawm lub microcontroller board tau txuas nrog NeoPixels?

#define NUMPIXELS XX // Muaj pes tsawg NeoPixels tau txuas rau lub rooj tsavxwm?

Adafruit_NeoPixel pixels = Adafruit_NeoPixel (NUMPIXELSX, PINX, NEO_GRB + NEO_KHZ800); // NeoPixel Lub Tsev Qiv Ntawv

pixels.setPixelColor (i, 0, 0, 0); // RGB COLOR CODE hauv zauv

pixels.setBrightness (ci ntsa iab) // Teeb ntawm Brightness

pixels.show () // Qhov no xa cov hloov tshiab pixel xim rau kho vajtse.

Txog cov ntaub ntawv neopixel nrog 16 pixels khiav rov qab-clockwise

Txog kev siv fais fab peb yog

(2x12 + 2x 16 + 2x24) x 3 (txhua feem muaj 3 leds RGB) = 312 leds.

Txhua Led siv 20ma, Tag Nrho 6, 4A tab sis peb siv tsis tau txhua lub teeb pom kev ntawm thiab thib ob tsis tau nrog qhov ci tshaj plaws.

Txhawm rau siv hluav taws xob tsawg dua kuv nrhiav pom cov lus qhia ntawm kev nyob ruaj khov retinienne

Xijpeem 5V tso tawm los ntawm arduino nws tsis txaus rau nws ua haujlwm raug

Kauj Ruam 3: Kev Sib Tham MIDI Nrog Arduino

MIDI Kev Sib Tham Nrog Arduino
MIDI Kev Sib Tham Nrog Arduino

Firstly Luam midi tsev qiv ntawv Midi.h hauv C: / Program Files (x86) Arduino / libraries"

sourceforge.net/projects/arduinomidilib/

Txhawm rau siv cov arduino tib yam li Interface Plug Thiab Plug thiab tuaj yeem xa cov ntaub ntawv nruab nrab hauv USB koj yuav tsum nyem arduino nrog kev cai Firmware

Saib qhov ntawd rau qhov tuav:

Qhov teeb meem tsuas yog; txhawm rau hloov kho cov cai yog tias muaj qhov ua yuam kev koj yuav tsum tso cov kev cai firmware hauv arduino kom rov qhib kev sib txuas lus

Kauj ruam 4: Kev thaiv kab

Thaiv
Thaiv
Thaiv
Thaiv
Thaiv
Thaiv

Cov teb tau txuas nrog ntawm Analogic Input

Hloov GND, Coj GND, thiab Neopixel DATA IN ntawm Digital Input

www.sparkfun.com/products/9277

Led siv yog mono xim xaiv tib xim tus pin rau coj ntawm pcb

Kauj Ruam 5: Txoj Haujlwm

Txoj Haujlwm
Txoj Haujlwm

Microcontroller txhais tau tias yog Programming

Qhov ntawd yog rau kuv cov kauj ruam nyuaj tab sis nws yog lub sijhawm rov qab los rau hauv nws

Qhov kev zov me nyuam nthuav dav hauv ob peb feem hauv ib lub voj

txhua ntu dhau los ua cov phiaj xwm sub

Teeb hloov DATA tus pin nrog cov ntaub ntawv coj tus Pin sib txuam ntawm Pcb board

ua haujlwm (); // Nyeem tus nqi Potentiometer thiab xa cov ntaub ntawv Midi;

// Tswj NeoPixel nrog Nyeem ntawm Potentiometer Tus Nqi thiab Teeb Xim thiab Broghtness ring1 (); ntiv nplhaib 2 (); ntiv nplhaib 3 (); ntiv nplhaib 4 (); ntiv nplhaib 5 (); ntiv nplhaib 6 (); khawm (); // Txheeb xyuas lub xeev khawm, xa cov ntaub ntawv midi thiab tswj Led

Kuv zoo siab heev kom muaj cov kws tshaj lij los txhim kho kuv qhov program

Kauj Ruam 6: 3D Luam Tshooj

3D Luam Tshooj
3D Luam Tshooj
3D Luam Tshooj
3D Luam Tshooj
3D Luam Tshooj
3D Luam Tshooj

kom tau txais 6 neo pixel ntiv nplhaib nrog qhov ua tsis tau los kov lub zog potentiometres kev txhawb nqa yog tsim

Neopixel yog kua nplaum rau nws nrog rab phom phom

Qhov kev txhawb nqa no nyob rau qib thib ob vim tias tsis tuaj yeem muab tso rau hauv Neopixel 12 lub nplhaib

Kauj Ruam 7: Aluminium Phaj

Aluminium Phaj
Aluminium Phaj
Aluminium Phaj
Aluminium Phaj
Aluminium Phaj
Aluminium Phaj

Kauj Ruam 8: Plexiglass Box 8mm

Plexiglass Box 8 hli
Plexiglass Box 8 hli
Plexiglass Box 8 hli
Plexiglass Box 8 hli
Plexiglass Box 8 hli
Plexiglass Box 8 hli
Plexiglass Box 8 hli
Plexiglass Box 8 hli

Txhawm rau laum thiab tapp ntawm nruab nrab ntawm daim hlais kuv siv lub plexiglass ntawm 8mm tuab

Txiav 5 Daim ntawm plexiglass kuv tau siv lub ntsej muag pom;

1 x 210mm / 270 hli

2 x 210mm / 60 hli

2 x 254mm / 60mm

Txhawm rau ua ke ntawm lub thawv Peb laum thiab Tapp nyob nruab nrab ntawm daim hlais ntawm txhua ntu

Peb ua tib yam los tso tus spacer

Drilling 2, 5 hli

Tapping 3 hli

Kauj Ruam 9: Sib dhos

Los ua ke
Los ua ke
Los ua ke
Los ua ke
Los ua ke
Los ua ke
Los ua ke
Los ua ke

Nrog kev pab ntawm spacer thiab 3mm ntsia hlau peb muab nws tso ua ke

35mm Spacer rau NEOPIXEL txhawb nqa, 50mm spacer rau Sparkfun PCB thiab 5mm rau Arduino

Kauj Ruam 10: KAWG (Video TEST)

Kawg (Video TEST)
Kawg (Video TEST)
Kawg (Video TEST)
Kawg (Video TEST)

www.youtube.com/embed/c_BEFl-kEec

Kauj Ruam 11: Laub

Laub
Laub

6 x Liniar Potentiometers 10KOhm 0.25w

12 x Resistor 220 Ohm 0.25w

12 x Resistor 10Kohm 0.25W

12 x DIODE STANDARD RAU SEMICONDUCTOR 1N4148TA 100V 200MA

6 x Resistor 470Ohm

1 x Capacitor 1000uF

1 x ARDUINO 2650 R3

3 x BUTTON PAD BREAKOUT PCB 2X2

3 x BUTTON PAD YOP BEZEL 2X2

2 x ADAFRUIT NEOPIXEL RGB 12 LED RING

2 x ADAFRUIT NEOPIXEL RGB 16 LED RING

2 x ADAFRUIT NEOPIXEL RGB 24 LED RING

12 x HEXAGONAL Spacer M3 X 50MM

3 x E HEXAGONAL Spacer M3 X 35MM

1 x Sector Adaptator 5V 4A

1 x USB A MALE rau B MALE 20CM

1 x Adaptator USB 2.0 HOM B FEMELLE rau USB 2.0 HOM A

1 x INTERRUPTEUR A BASCULE TRU COMPONENTS

1 X Txuas Tsawg Voltage Vertical Poj Niam 5MM 2.2MM

1 x Phaj ntawm PLEXIGALS tickness 8MM

Pom zoo: