Control Arduino Maker Projects with MIDI - Beginner Tutorial

Поделиться
HTML-код
  • Опубликовано: 3 июл 2024
  • First #fillerfriday unscripted video showing how to use USB MIDI devices to control servo motors and RGB LEDs. It also shows how MIDI messages can be decoded. Very detailed...
    Code: github.com/bitluni/UsbMidiHos...
    MIDI Messages: www.midi.org/specifications-o...
    MIDI USB host adapter bit.ly/2Oj5hkB
    Some other parts I have used (affiliate links):
    AKAI MIDIMIX amzn.to/2AeF3Ng
    AKAI APC KEY 25 amzn.to/2Ojqf2O
    Arduino Pro Micro:
    $3.60 on Aliexpress s.click.aliexpress.com/e/N7Mrfi6
    $4.04 on Ebay US ebay.to/2LsS4qO
    RGBW Strips:
    Aliexpress s.click.aliexpress.com/e/beyPwT5Q
    Amazon US amzn.to/2uT5LWo
    SG 90 Servo:
    $1.09 s.click.aliexpress.com/e/v7EqvfU
    $11.19 10 pieces s.click.aliexpress.com/e/Aeqj6Ee
    plz share :-)
    Consider supporting our work on Patreon for some extras:
    / bitluni
    We are also thankful for any donation on PayPal:
    paypal.me/bitluni
    Twitter: @bitluni
    reddit: r/bitluni
  • НаукаНаука

Комментарии • 52

  • @UnexpectedMaker
    @UnexpectedMaker 6 лет назад +3

    I LOVE learning new stuff! I had never played with multi-serial before and had often wondered how it would work! And now I know! Awesome video - have fun on your weekend away!

  • @MaxintRD
    @MaxintRD 6 лет назад +1

    Nice introduction to MIDI and a great way of showing how easy it can be used for something other than music!

  • @rallymax2
    @rallymax2 3 года назад +1

    What a great idea using midi control surfaces as prototyping inputs!

  • @DAveShillito
    @DAveShillito 6 лет назад

    Great timing, I was literally just out for a walk thinking about how I could control a circuit via a USB interface, and when I got in saw this video in my feed. :)

  • @Axpsonix
    @Axpsonix 6 лет назад +1

    Great Bitluni! Your projects are always interesting!

  • @bitluni
    @bitluni  6 лет назад +1

    My editing software seems to mess up the zoomed in parts.. sorry for the jitter...

    • @gaspardeelias2485
      @gaspardeelias2485 4 года назад

      Hi bitluni, I'm a fan of yours. Do you know if the midimix controller is compatible with the usb midi host? Because it is not listed as known compatible in the website. I want to buy one to handle my home automation. Thanks , I love your sense of humour and content. From Argentina

  • @deathshaker0026
    @deathshaker0026 4 года назад

    This is too awesome my Man! This has helped me connet the dots I was missing. I have been wanting to make midi controllers and synthesizers for awhile. I have no idea how to play music, but want to make musical things. lolz

  • @ameykulkarni1885
    @ameykulkarni1885 6 лет назад

    Awesome video..!! I Learned so much about MIDI and multi-serial communication. Please keep making such awesome videos.

  • @Tarbard
    @Tarbard 6 лет назад +3

    Amazing, I'd never thought of doing that.

  • @petermeiner3574
    @petermeiner3574 5 лет назад

    Very nice Video, cause you keep this simple, it is also a generic lesson. Great!

  • @abdullahseba4375
    @abdullahseba4375 6 лет назад +1

    Great project! I actually have a Korg nanoKontrol 2 which I would experiment with. I've been trying to figure out MIDI messages before but never really got it until now. I have something very similar to the bit with the LED strip, but using DMX. I have an arduino with ethernet and it acts as a dmx controller over the arpnet protocol. Looks like MIDI is extremely similar to DMX. Also this vid was great with no background music! Keep it up!

  • @noweare1
    @noweare1 6 лет назад

    I didnt know what MIDI even meant. But now I will be looking for discarded midi controllers at my transfer station. Great video !

  • @SchokokuchenLP123
    @SchokokuchenLP123 3 года назад

    This is exactly what i wanted to learn :D! Thank you!

  • @Jones12ax7
    @Jones12ax7 6 лет назад +1

    Nice video! It will help me in a near future. I'm planning to improve all my own hand made guitar pedals using digital potentiometers and some Arduino boards, so that I can create complex presets but keep the audio path completely analog.

  • @natanfourie
    @natanfourie 5 лет назад

    This is actually so cool !!

  • @ajaybnl
    @ajaybnl 6 лет назад

    Great Tutorial. Thanks.

  • @sorin.n
    @sorin.n 6 лет назад +1

    Cool stuff. I like it! 👍

  • @craigleemehan
    @craigleemehan 6 лет назад +1

    Great idea, thanks.

  • @TheUnofficialMaker
    @TheUnofficialMaker 2 года назад

    this IS cool!

  • @azyfloof
    @azyfloof 5 лет назад

    Nice, Luni! :D
    I wonder if the Neopixel timing being off is down to servos and Neopixels not playing nicely together? Neopixels need control over the interrupt routines of the MCU, as does the servos, so they clash. Adafruit has tutorials as well as libraries to help you use both together though without problem :D

  • @soovui
    @soovui 5 лет назад

    Wow cool bro... What about having some music input?

  • @DavcomBass
    @DavcomBass 2 года назад

    You could do Glynis cheaper by using a 5 pin as your midi in AnD since your only dealing with midi info you can use byte instead of int in your arduino code

  • @fibranijevidra
    @fibranijevidra 3 года назад

    Very nice. And, how could you forward a MIDI from the USB host to the classic MIDI DIN socket?

  • @Bassquake76
    @Bassquake76 5 лет назад

    Is there somewhere else to get the MIDI USB host adapter? Doesnt seem available to buy on the link provided.

  • @mickeygentry6033
    @mickeygentry6033 Год назад

    Thanks this is very helpful! I have a question, I have an Arduino based MIDI controller working as a MIDI *device*. If I plug that into the USB host board then take the host output into a MIDI capable guitar pedal, that should pass the MIDI messages to the pedal and control it, correct?

  • @bardenegri21
    @bardenegri21 6 лет назад

    I'm curious about the esp32 synth, what did u use for sound generation? Is there a library for generating audio waveforms, filters etc?

    • @bitluni
      @bitluni  6 лет назад +2

      It's just an esp8266. The waveform is a simple trinagle wave.. you can change the angle to smoothly fade to sawtooth.. the implementation also supports amplitude and frequency lfos and a basic reverb. I stopped developing it since esp32 is more suitable to do this

  • @PoulLarsenmusic
    @PoulLarsenmusic 5 лет назад

    I Have a Arturia MicroBrute. Would it be possible to midi automate a knob with this motor?

  • @josegregoriocontrerasvarga5693
    @josegregoriocontrerasvarga5693 2 года назад

    Hi. I want to transfer across a microphone the sound of a guitar to a computer in MIDI format. It's possible whith the ship the you presented in this video? Thanks.

  • @enfieldman
    @enfieldman 4 года назад

    I'm very interested in this concept. I would like to control 2 servo motors by switching between patches on my Boss GT-5. I still have to check what is sent out by the effect board when I change patches. But that message should trigger the servos in a certain position. The servos will be mechanically coupled to the level and drive knob of a tube amplifier. The goal is to slightly increase level and drive of the amp for lead parts. I have a Roland edirol UM1 midi to usb controller. What microcontroller board can take in midi via a large usb socket? The controller should only take in the program change message for each patch and translate it to a PWM for 2 servos.

  • @josegregoriocontrerasvarga5693
    @josegregoriocontrerasvarga5693 2 года назад

    I understand that the midi send a serial pulses and the interphase charge it in a hexadecimal format. It is correct? Thanks.

  • @sebakiller9736
    @sebakiller9736 3 года назад

    Hello bitluni, is the USB host board - MIDI device available elsewhere?
    I looked at Amazon and found nothing on Aliexpress.
    Would be nice if you could give me information

  • @haley8004
    @haley8004 2 года назад

    Can I do this without that host board?

  • @mrbiznessguy
    @mrbiznessguy 5 лет назад

    @15:33, YES!

  • @martingerken7094
    @martingerken7094 6 лет назад +2

    Hnmm... I'm just wandering if I need the USB hosta adapter or could just use an Arduino Leonardo for this?
    (I'm really surprised of all the posibilities :-)))

    • @bitluni
      @bitluni  6 лет назад +1

      Probably.. the atmega32u4 is probably capable of host modes... I don't know of any libraries.. maybe we could dig into it

    • @PeterMedvesek
      @PeterMedvesek 5 лет назад +2

      The atmega32u4 has only device capabilities

  • @gustinian
    @gustinian 6 лет назад

    Does anyone know if ESP32 can communicate at the quirky MIDI baud rate (31250)? I know the ESP8266 can.

  • @polakdan
    @polakdan 6 лет назад

    DMX??? (instead of midi)

  • @tablatronix
    @tablatronix 6 лет назад

    what happens if you plug a hid device into it ?

    • @bitluni
      @bitluni  6 лет назад +1

      There are different firmwares for this module.. should be mentioned in the shop. You can buy them also preprogrammed for different device types

    • @tablatronix
      @tablatronix 6 лет назад

      bitluni's lab ohh yeah I have looked at their usb host modules before, looks like the prices are more reasonable now.

  • @rodstartube
    @rodstartube 6 лет назад

    basically u can do anything with programming and components.

  • @ABaumstumpf
    @ABaumstumpf 6 лет назад

    Why? Why do those products not have a standard MIDI port but USB!?!? That is just messed up.
    MIDI is such a simple protocol yet really powerful for music.

  • @TBL_stevennelson
    @TBL_stevennelson 4 года назад

    I want tuis so bad

  • @mahmoodmamoon411
    @mahmoodmamoon411 6 лет назад

    The video is black man.. There is no image

    • @zmeygavrilych
      @zmeygavrilych 6 лет назад

      The video is not black - the video is South African!

    • @lightdark00
      @lightdark00 6 лет назад

      Open your eyes and see the truth!

    • @TheKetsa
      @TheKetsa 6 лет назад +1

      Not black here.