Arduino (Pro) Micro as a MIDI-USB device

Sdílet
Vložit
  • čas přidán 6. 09. 2024
  • This video is outdated, use these tutorials instead: • Arduino (Pro) micro as...
    Learn how to make your MIDI controller with an Arduino:
    Portuguese: go.musiconerd....
    English: nerdmusician.t...
    *Português abaixo
    In this tutorial I'll will show you how to transform an Arduino Pro Micro or an Arduino Micro into a MIDI-USB device, in order to make a real MIDI class compliant controller.
    Arcore library: github.com/rki...
    Learn how to build your own midi controllers using Arduino: bit.ly/musicone...
    www.musiconerd.com
    ------------------------------------------------------------
    Neste tutorial eu vou mostrar como transformar um Arduino Micro ou Pro Micro em um dispsitivo MIDI-USB, para podermos construir um controlador MIDI class compliant de verdade.
    Aprenda a fazer seus próprios controladores utitilizando um Arduino: bit.ly/musicone...
    Arcore library: github.com/rki...
    *How to make your Arduino Uno and Mega a USB Midi class compliant device: www.musiconerd....
    www.musiconerd.com

Komentáře • 96

  • @sy_chev
    @sy_chev Před 7 lety +6

    my life will never be the same, thank you!

  • @doganseseogullari3267
    @doganseseogullari3267 Před 5 lety +1

    Hi. I made a 12 potantiometers and 6 buttons controller. But i want more pots. Can you add mux codes in software? I m dumb on codes

  • @fabiovinicius6426
    @fabiovinicius6426 Před 6 lety

    Consegui um resultado interessante usando a Arcore enviando velocity para uma PWM. Para isso programei diretamente os registradores do mega32u4 no void setup, e no void loop eu carrego o duty cicle que foi enviado por midi, também direto nos registradores.
    Isso economiza muitas linhas de código e tempo de processamento, pois PWM fica rodando em hardware fora do void loop, só recebendo atualizações.
    O Ableton reconheceu o Pro Micro em Mac e Windows normalmente.

  • @vegansynths7757
    @vegansynths7757 Před 4 lety +2

    Your English is really great!

  • @pierredeslandes9896
    @pierredeslandes9896 Před 7 lety +2

    Try uploading your sketches with a ISP (using the 6 pin header on the board). Pretty cheap solution (1$ on Ebay) and you won't have this USB confusion anymore. Moreover, you'll be able to program your board while it's still plugged onto another computer, can be cool for debugging.
    I'll give it a try and let you know how it goes

    • @NerdMusician
      @NerdMusician  Před 7 lety

      That's a good idea! I need to get one programmer, that's more handy.

    • @pierredeslandes9896
      @pierredeslandes9896 Před 7 lety +1

      i "saved" a arduino nano today that i thought was dead.... "only" the Serial->usb chip is dead. works just fine with the ISP programmer. Never throw away stuffs :-D

  • @pablomadariaga1739
    @pablomadariaga1739 Před 3 lety +1

    Hi. Is it possible to make this polyphonic? Great tutorial btw:)

  • @sherwoodsmallidge9186
    @sherwoodsmallidge9186 Před 3 lety

    tryed on 3 computers 2 raspberry pis and one windows could never get it to work help i will pay

  • @videoraju1
    @videoraju1 Před rokem

    Hello Sir...
    How to rename the Midi Device name so that it is displayed with a different name in the Generic Midi List..?
    Ex: The name Arduino Micro is shown in Midi Settings in PC app. We have a name that we like in the midi list
    Can you tell me how to do Chord as shown..?

  • @nnekalyn4494
    @nnekalyn4494 Před 8 lety +1

    THIS!! Thank you so much! also....Welcome to the States, bro!

  • @robertcroft2591
    @robertcroft2591 Před 3 lety

    You taught us.

  • @Gambiarte
    @Gambiarte Před 5 lety +1

    Amigão, você acha que a parte de comunicação USB consome muito do processador?
    Queria fazer uma bateria eletrônica, mas como ela vai precisar ficar lendo constantemente e rapidamente as entradas então tenho medo que os processos de comunicação USB atrapalhem isso, você tem alguma noção a respeito?
    Obrigado.
    Bom vídeo! Ansioso para por a mão na massa!

    • @NerdMusician
      @NerdMusician  Před 5 lety +1

      Isso não será um problema, porque a comunicação usb só se dá quando algo acontece no Arudino. O Arduino lê o tempo inteiro mas não manda info o tempo inteiro pra USB.

    • @Gambiarte
      @Gambiarte Před 5 lety +1

      @@NerdMusician Obrigado pela informação.

  • @aworthlesslugg
    @aworthlesslugg Před 4 lety

    my sketch is no compiling correctly

  • @lackmou
    @lackmou Před 5 lety

    somehow not working with uno where do i have to plug it in? in the usb-b port?

    • @NerdMusician
      @NerdMusician  Před 5 lety

      This video is just for the Micro. For the Uno you should use this tutorial: czcams.com/video/18OKo9sQ_s0/video.html

  • @pTjz
    @pTjz Před 4 lety

    Poderia me ajudar? Meu change program funciona perfeitamente quando plugado no PC (monitoro pelo midiox) mas quando tiro o USB é alimento externamente, não roda o código.
    Se eu tirar o change program do loop, funciona.

  • @doganseseogullari3267
    @doganseseogullari3267 Před 5 lety

    hi. how can i add potansiyometers on breadboard to control as a fader?

    • @NerdMusician
      @NerdMusician  Před 5 lety

      You need to buy a fader that comes in a pcb with connections to a breadboard. It's not ideal. Ideally,​ you will prototype with rotary pots, since the programming is exactly the same, then you change for faders in your final project.

  • @DarinKadrioski
    @DarinKadrioski Před 7 lety

    May have already been mentioned, but I'm betting if you disable the device in Ableton you'll not have that upload issue.

    • @NerdMusician
      @NerdMusician  Před 7 lety

      The (pro) micro has these "bugs", sometimes it helps pressing the "reset" right after hitting upload too. But, the Ableton thing might be one reason too.

  • @chintanjagtap3262
    @chintanjagtap3262 Před 6 lety

    i am student and i am doing my final year project on pro micro. After loading LED blinking program ('hello world') it is working but now after connecting it back to PC(i want to load program for project) it is showing "USB driver not recognized". Please help me

    • @NerdMusician
      @NerdMusician  Před 6 lety

      Try uploading a code and pressing the reset button right after. Sometimes it helps.

  • @squarefrog
    @squarefrog Před 8 lety

    This is great, thanks for recording.

  • @galbby
    @galbby Před 8 lety

    Amigo...no UNO eu preciso utilizar o ARCORE? Pelo que entendi o arcore foi na época no Leonardo quando não havia como Enviar mensagens midi para o PC mas no UNO hj não preciso do ARCORE para enviar esses sinais MIDI. Por favor me corriga se estiver errado. Pesquisei sobre esse assunto e achei pouquissimo material. Parabéns pelos vídeos.

    • @NerdMusician
      @NerdMusician  Před 7 lety

      No Uno você pode seguir esse outro tutorial aqui que fiz: www.musiconerd.com/single-post/2016/05/31/Hiduino-Transforme-seu-Arduino-em-um-dispositivo-USBMIDI-Class-Compliant
      Espero que seja útil!

  • @andz347
    @andz347 Před 7 lety

    Thanks a lot. this tutorial really help me.. good job dude !!

  • @niklasschmidt9910
    @niklasschmidt9910 Před 7 lety

    Great tutorial, thanks!

  • @cinnamon_stroll
    @cinnamon_stroll Před 6 lety

    This is very helpful, thanks a lot!

  • @marco.scaligeri
    @marco.scaligeri Před 6 lety

    Awesome, great tutorial man!! would it possible to make a tutorial how to make a bluetooth over midi usb device like a keyboard?

    • @NerdMusician
      @NerdMusician  Před 6 lety

      I never done one, but you can do it using the Adafruit Feather board. It's a little bit pricy, but it is the more easy to use bluetooth diy solution for midi. Unfortunately, midi is not as easy to use with bluetooth as a keyboard or mouse.

    • @marco.scaligeri
      @marco.scaligeri Před 6 lety

      thx for your reply

  • @dominooo371
    @dominooo371 Před 6 lety

    Great video. Thanks!

  • @MarcosCosta-mn8gg
    @MarcosCosta-mn8gg Před 6 lety

    Amigo você tem algum esquema de Midi para USB Host usando o arduíno rc3 e o host Shield?

  • @gabrielbeanidasilva
    @gabrielbeanidasilva Před 6 lety +5

    Seu inglês é top cara

  • @Davi0liveira
    @Davi0liveira Před 5 lety

    Sabe me dizer se é possível fazer com ESP32 ou ESP8266?

  • @nahuelmusker
    @nahuelmusker Před 7 lety

    Hola, una pregunta señor, Funciona con arduino uno r3 ? y Arduino Nano Atmega328 ? Gracias!

    • @NerdMusician
      @NerdMusician  Před 7 lety

      Essa técnica só funciona pro Arduino Micro, Pro Micro e Leonardo. Pro Mega e Uno você deve seguir esse procedimento: www.musiconerd.com/single-post/2016/05/31/Hiduino-Transforme-seu-Arduino-em-um-dispositivo-USBMIDI-Class-Compliant

  • @renatinhodaz
    @renatinhodaz Před 8 lety

    Opa, man esse esquema do Midi-USB e pra descarta aquela loopbe que faz ele enviar sinal midi?
    Fazendo esse esquema ele já conecta usb como se fosse midi ne ?

    • @NerdMusician
      @NerdMusician  Před 8 lety

      Exato, amigo...

    • @renatinhodaz
      @renatinhodaz Před 8 lety +1

      Cara se podia tanto fazer esse vídeo em português man, se fera demais ajuda ae man faz ele em português favor, so uma duvida isso funciona em todos arduino ou so no nano ou micro ?

  • @D-One
    @D-One Před 5 lety

    Thanks for this. I used a teensy 3.2 for my MIDI projects since its more simple, but the price is a bit and high and it ends up being a bit overkill just for MIDI.
    Would everything be the same in the code and i just add those 3 functions for note on/off and cc's? I'll try it.
    PS. Tutorial em ingles e OS em portugues vai ficar um pouco confuso para os gringos :D

    • @NerdMusician
      @NerdMusician  Před 5 lety +1

      Heu D, did you watch the updated version? It's more reliable and more complete. Maybe your answer is already there... czcams.com/play/PLDvka7NV8VPC_J40TdxirbjC-LYEZ5-rg.html

    • @D-One
      @D-One Před 5 lety

      @@NerdMusician Sorry didn't see you had update vids. My bad! Thank you!!!

  • @Zwobotmax
    @Zwobotmax Před 7 lety

    Works great with Arduino Nano! Thanks

  • @GabrielNerygabriellneryh

    Se eu compilar um código desses (MIDI)para Arduino e se eu nao quiser mais usá-lo para isso, eu posso voltar a usá-lo para outra coisa depois? fica algum problema? se tiver como posso fazer?

    • @NerdMusician
      @NerdMusician  Před 7 lety +1

      Você pode colocar outro código a hora que quiser, sem problemas!

  • @matiascarou4176
    @matiascarou4176 Před 7 lety

    Hi! Do you know how to change the name of the usb controller manually so i can put a personal name into it instead of "arduino micro" in ableton live? thanks

    • @NerdMusician
      @NerdMusician  Před 7 lety +1

      Unfortunately, no! I'm looking dor this answer too...

    • @FuzzyTekShow
      @FuzzyTekShow Před 6 lety

      I haven't tried it but check the file at "/hardware/avr/boards.txt" before you flash or select the board and change line 90 that says "micro.build.usb_product="Arduino Micro"" to whatever. Let me know if it works. :)

    • @NerdMusician
      @NerdMusician  Před 6 lety

      Hi, I just released some tutorials, on this issue: czcams.com/video/32myesnWLuY/video.html&list=PLDvka7NV8VPC_J40TdxirbjC-LYEZ5-rg&index=1

  • @jorgeluizfernandesferreira8984

    Bom Vídeo pode me ensinar como qual instrução para ele simular um teclado para unlock efi mac pro pos não lembro do password ouvir dizer que ele pode sim simular um discador e encontrar a combinação de senha meu arduino e leonardo mini pro

  • @droupdiphotography
    @droupdiphotography Před 6 lety

    Hi sir I have many questions I am stuck in my project I am building a raspberry pi which is almost done everything is ready but the problem is I am using a laptop touchpad and to control that I am using Arduino pro micro I wanna change it into hid usb which I can plug into raspberry pi I watched one of video on CZcams how to use touchpad with Arduino and I used his mouse librarie which he gave link and I upload it into Arduino software on pc as how he was showing but still not working so please please please help I am really stuck in that my laptop is almost ready I checked on CZcams Google but didn't understand what they r saying cus I am not related to that I am not engineer I didn't study for that I just use my own mind to build that so please please please help I can just request u

    • @NerdMusician
      @NerdMusician  Před 6 lety

      I never used a touch pad, so I can't help you with that! :/
      Btw, I'm not an engineer too, everything I learned was with Google, so you can do it!

  • @DiegoViglionidosSantos

    Como instalar a biblioteca arcore no Windows?? Obrigado pelo conteúdo

    • @NerdMusician
      @NerdMusician  Před 7 lety +1

      É basicamente o mesmo processo, você deve baixar a biblioteca e colar em Documentos > Arduino > Hardware. Se não houver uma pasta hardware, basta criar uma.

    • @NerdMusician
      @NerdMusician  Před 6 lety

      Aconselho a usar estes novos tutoriais: czcams.com/video/32myesnWLuY/video.html&list=PLDvka7NV8VPC_J40TdxirbjC-LYEZ5-rg&index=1

  • @fabiovinicius6426
    @fabiovinicius6426 Před 6 lety

    Oi Gustavo, beleza? Consegui! Não achei nada fácil...A versão 1.5.7 dava erros com meu IMac rodando Yosemite 10.10.5, também no notebook com Windows 8 não funcionava...Só funcionou quando eu instalei a versão 1.8.5, a atual, junto com a 1.5.7 (renomeada, para não sobrescrever, mas fiquei com as duas versões disponíveis) no IMac.
    Quando eu gravo duas vezes seguidas com o driver Arcore (aqui é Arduino Leonardo Arcore), na segunda vez invariavelmente dá erro, então entre uma gravação com Arcore e outra eu gravo um Led Blink com o driver normal (Arduino Leonardo). Mudar de porta aqui não adiantou.
    Muito obrigado pelos ensinamentos, agora é aprender a trabalhar com a biblioteca da Arcore, grande abraço.

    • @NerdMusician
      @NerdMusician  Před 6 lety +1

      A Arcore é meio bugada. Eu estou usando outro método agora, que sempre funciona, usando a usbmidi library. Mas, ainda não tive tempo de fazer um tutorial sobre.

    • @NerdMusician
      @NerdMusician  Před 6 lety

      Novice tutoriais estão feitos. Use esse novos, que vai ser muito mais fácil! czcams.com/video/32myesnWLuY/video.html&list=PLDvka7NV8VPC_J40TdxirbjC-LYEZ5-rg&index=1

  • @bramvanhove59
    @bramvanhove59 Před 7 lety

    You can do this also with a arduino uno ?

  • @DoxDesigner
    @DoxDesigner Před 8 lety +1

    dá pra entender com esse meu inglês de jogos.

  • @MarcosCosta-mn8gg
    @MarcosCosta-mn8gg Před 6 lety

    Desculpa é Arduíno r3 e USB host Shield!

  • @JVBowser
    @JVBowser Před 5 lety

    Cara muito legal estou pensando em fazer um dispositivo capaz de converter mensagens MIDI USB B para DIN com parte do seu código vamos ver se serei capaz haha

    • @NerdMusician
      @NerdMusician  Před 5 lety

      Dale!

    • @JVBowser
      @JVBowser Před 5 lety

      @@NerdMusician caso tenha algo positivo te aviso vi vários projetos que usam isso, para isso vou utilizar um Arduino uno um usb host de Arduino e um proto shield

  • @elievans4369
    @elievans4369 Před 6 lety

    Como muda o nome dele?? Quando reconhece na daw???

    • @NerdMusician
      @NerdMusician  Před 6 lety

      Eli, eu já estou usando outro método agora, pretendo fazer um tutorial sobre isso mais pra frente!

    • @NerdMusician
      @NerdMusician  Před 6 lety

      Cara, fiz os tutoriais novos, no terceiro vídeo mostro como mudar o nome! czcams.com/video/32myesnWLuY/video.html&list=PLDvka7NV8VPC_J40TdxirbjC-LYEZ5-rg&index=1