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 Наука
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!
Nice introduction to MIDI and a great way of showing how easy it can be used for something other than music!
What a great idea using midi control surfaces as prototyping inputs!
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. :)
Great Bitluni! Your projects are always interesting!
My editing software seems to mess up the zoomed in parts.. sorry for the jitter...
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
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
Awesome video..!! I Learned so much about MIDI and multi-serial communication. Please keep making such awesome videos.
Amazing, I'd never thought of doing that.
Very nice Video, cause you keep this simple, it is also a generic lesson. Great!
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!
I didnt know what MIDI even meant. But now I will be looking for discarded midi controllers at my transfer station. Great video !
This is exactly what i wanted to learn :D! Thank you!
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.
I'd love to see that project.
This is actually so cool !!
Great Tutorial. Thanks.
Cool stuff. I like it! 👍
Sorin Negulescu
Yes, very cool!
Great idea, thanks.
this IS cool!
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
Wow cool bro... What about having some music input?
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
Very nice. And, how could you forward a MIDI from the USB host to the classic MIDI DIN socket?
Is there somewhere else to get the MIDI USB host adapter? Doesnt seem available to buy on the link provided.
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?
I'm curious about the esp32 synth, what did u use for sound generation? Is there a library for generating audio waveforms, filters etc?
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
I Have a Arturia MicroBrute. Would it be possible to midi automate a knob with this motor?
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.
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.
I understand that the midi send a serial pulses and the interphase charge it in a hexadecimal format. It is correct? Thanks.
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
Can I do this without that host board?
@15:33, YES!
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 :-)))
Probably.. the atmega32u4 is probably capable of host modes... I don't know of any libraries.. maybe we could dig into it
The atmega32u4 has only device capabilities
Does anyone know if ESP32 can communicate at the quirky MIDI baud rate (31250)? I know the ESP8266 can.
DMX??? (instead of midi)
what happens if you plug a hid device into it ?
There are different firmwares for this module.. should be mentioned in the shop. You can buy them also preprogrammed for different device types
bitluni's lab ohh yeah I have looked at their usb host modules before, looks like the prices are more reasonable now.
basically u can do anything with programming and components.
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.
I want tuis so bad
The video is black man.. There is no image
The video is not black - the video is South African!
Open your eyes and see the truth!
Not black here.