DIY

How to make an Arduino USB/MIDI controller

How to make a USB/MIDI controller for control Arduino A MIDI controller is a device that converts a certain physical process into a set of digital commands in MIDI format … The received command stream is transmitted via the MIDI protocol to other devices – a computer, hardware samplers, synthesizers or external sequencers and decrypted there in a certain way.
A MIDI controller in a home studio is as important a device as a computer, audio interface or headphones.
USB/MIDI controller is a device for transmitting MIDI commands and messages to a sound editor on a computer. In fact, this is a remote control with which you can determine what needs to be done with a particular signal. All operations are configurable through a set of controls: encoders (rotary knobs), keys, pads, buttons, joysticks, faders, etc.
It is to consider the manufacture of such a device and offers us a master DIYer.
Let's watch a video with the device.
Tools and materials: -Potentiometers B10K – 4 pcs; -Knobs for potentiometers – 4 pcs; -Linear potentiometer B10K + knobs – 4 pcs; -Short-action buttons;
-Lumber;
-Pro Micro 5 V/16 MHz;
-Electric wire;
-Cable ties; -5 mm LED; -Resistor 330 Ohm; -Mounting for LED 5 mm;
-Wood stain;
-Glue;
-Velcro;
-Silicone pads; < br> -Fasteners;
-Breadboard; -Soldering accessories; -A tool for stripping wires; -Drill and drills; -Same paper;
-Knife;
-Metal ruler; -Screwdriver; -Pliers; -Caliper; -Heat shrink tube; -Tweezers; -File;
-Haw;
-Clips;
-Set for wood carving;
How to make a USB/MIDI controller for Arduino control  How to make a USB/MIDI controller running Arduino How to make a USB/MIDI controller for Arduino control  How to make a USB/MIDI controller running Arduino How to make a USB/MIDI controller for control Arduino Step one: about Arduino
There are several Arduino models. After testing and analyzing several different microcontrollers, the wizard settled on the Pro Micro. It uses an atmega32u4 microcontroller. Out of the box, it is configured as a “HID device” or USB keyboard.
It has a USB instead of the old 5-pin MIDI connector.
Pro Micro is cheaper than other microcontrollers.
Small size.
How to make a USB/MIDI controller for control Arduino Step two: case – design and preparation
The first step is to design the enclosure. The dimensions of the case are 14X14 cm, and are due to the dimensions of the components.
How to make a USB/MIDI controller running Arduino Then cuts out details and covers them with a stain.
How to make a USB/MIDI controller running Arduino Next, you need to locate the controls on the front side of the case and carry out a series of measurements of the parts. Based on the measurements, make a template. Holes will be made on it in the front panel.
The template can be downloaded below.
Layout_14x14_DolceWang_CutHoles.pdf
How to make a USB/MIDI controller running Arduino How to make a USB/MIDI controller powered by Arduino How to make a USB/MIDI controller for control Arduino Now you need to make the layout on the panel using the template.
How to make a USB/MIDI controller running Arduino Drills and cuts holes.
How to make an Arduino USB/MIDI controller How to make a USB/MIDI controller running Arduino How to make a USB/MIDI controller powered by Arduino How to make a USB/MIDI controller running Arduino How to make a USB/MIDI controller powered by Arduino By installing the components, you can check their fit. If parts are not installed, the holes need to be reworked. If everything fits well, then the material around the holes is sanded and treated with stain.
How to make a USB/MIDI controller running Arduino How to make a USB/MIDI controller running Arduino How to make a USB/MIDI controller under the control of Arduino Step three: assembly
Now you can place the parts inside the case.
First, the wizard marks inside the body where which part will be attached.
How to make a USB/MIDI controller running Arduino How to make a USB/MIDI controller running Arduino Then you need to prepare some wooden blocks and planks.
How to make a USB/MIDI controller running Arduino How to make a USB/MIDI controller running Arduino How to make a USB/MIDI controller powered by Arduino With the help of them, the master fixes the potentiometers inside the case. Also sticks Velcro inside the body. It is used to attach the Aduino board.
How to make an Arduino USB/MIDI controller How to make a USB/MIDI controller running Arduino How to make a USB/MIDI controller powered by Arduino How to make a USB/MIDI controller running Arduino
How to make USB/MIDI controller running Arduino Glues the silicone feet from the bottom of the case.
How to make a USB/MIDI controller running Arduino Step Four: Assembly
For a better understanding of the assembly of the parts, the master made some sketches.
How to make a USB/MIDI controller running Arduino How to make a USB/MIDI controller powered by Arduino How to make a USB/MIDI controller running Arduino How to make a USB/MIDI controller powered by Arduino How to make a USB/MIDI controller running Arduino Then assembles according to the diagram. Then it turns on the power and checks the LED operation.
 How to make an Arduino USB/MIDI controller How to make a USB/MIDI controller for Arduino control  How to make a USB/MIDI controller running Arduino How to make a USB/MIDI controller for Arduino control Step Five: Software
Now you need to install the software.
1) First you need to install the Arduino IDE.
2) Then download and open the sketch: “midi_controller_Micro_Atmega32u4_DW_v2.ino”.
3) Add the Pro Micro board to the list:
Go to Arduino & lt; Preferences ..
Paste this URL into the Additional Boards Manager URL text box “https://raw.githubusercontent.com/sparkfun/Arduino_Boards/master/IDE_Board_Manager/package_sparkfun_index.json”
4) Add the library MIDIUSB.h
Go to Tools & lt; Manage Libraries
Find “MIDIUSB” by Gary Greval and install the latest version.
5) Next, assign the Pro Micro board
Go to Tools & lt; Boards & lt; Sparkfun AVR Boards. And choose Sparkfun Pro Micro
Go to Tools & lt; Processor. And select ATmega32U4 (5V, 16 MHz)
Next, go to Tools & lt; Port and select the desired port.
6) Press Upload (arrow in the upper left corner) and wait until the message “Upload Complete” appears in the bottom status bar.
The code can be downloaded below.
midi_controller_Micro_Atmega32u4_DW_v2.ino < br> How to make a USB/MIDI controller running Arduino How to make a USB/MIDI controller powered by Arduino How to make a USB/MIDI controller running Arduino How to make a USB/MIDI controller powered by Arduino How to make a USB/MIDI controller running Arduino How to make a USB/MIDI controller powered by Arduino How to make a USB/MIDI controller for Arduino control  How to make a USB/MIDI controller running Arduino How to make a USB/MIDI controller for control Arduino Step six: software Ableton and Resolume
To work with the device master uses two programs: Ableton Live and Resolume Arena. The programs are different, but their interface is roughly the same.
How to make a USB/MIDI controller running Arduino How to make a USB/MIDI controller powered by Arduino How to make a USB/MIDI controller for Arduino control  How to make a USB/MIDI controller running Arduino How to make a USB/MIDI controller running Arduino How to make USB/MIDI controller running Arduino

Source:

usamodelkina.ru

Show More

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Check Also
Close
Back to top button