In this Microcontroller Applications project, I will be doing an Arduino Based MIDI Controller using Arduino Mega 2560. I have completed this project by myself and it worked suprisingly well. Competed in a design contest and won second place.
For PC/LAPTOP:
- LoopMIDI Only for Windows (Mac/Linux - no need)
- Hairless MIDI For All users
(If LoopMidi link does not work, download here: https://www.tobias-erichsen.de/software/loopmidi.html)
Open ArduinoIDE > Go to Sketch Tab > Hover mouse over Include Library > Click Manage Libraries
[If ArduinoIDE Libraries do not have the files, click the individual files below]
- Midi.h by Francois Best
- Wire.h
- LiquidCrystal_I2C by Francisco Malpartida
- LCD by Francisco Malpartida
- FastLED by Mark Kriegsman & Sam Guyer
- TimerOne
These are components that I have used in this project, the websites may not be exact as I bought most in person at shops: Koba Electronics & Sun Light Electronics.
- 1x Arduino Mega 2560
- 16x Transparent White Arcaade Buttons 30mm
- 2x Slider Potentiometers 100kΩ
- 8 Potentiometers 100kΩ
- 2x Square Buttons with LED
- 1x 16x2 LCD Green Backlight with I2C
- 1x Rotary Encoder
- 1 x RGB LED Strip WS2812B
- 1 x 3-Pin Rocker Switch
- 1x Long Copper PCB
- 1 x 1000uF Capacitor 40/50V
- 1 x 330Ω Resistor
- 3-4 x 220Ω Resistor
- Cable Sleeves (Red/Black/Yellow)
- Female Crimp Contact 2.54mm (not confirmed)
- Male-Female Spade Crimp 7mm
- Jumper Wires (Male-Male/Male-Female/Female-Female)
- Solid-core Wires (For PCB Connections)
- Stranded-core Wires (For Soldering on Component Pins as extensions)
- Pin Connectors (Male-Male/Male-Female)
- 4 Outer Acrylic Walls
- 1 Top Acrylic Cover
- 1 Base Acrylic Cover
- 4 Big Inner Walls (For RGB Division)
- 12 Small Inner Walls (For RGB Division)
The following diagram shown below is the pin connections between the Arduino Mega 2560 & other seperate components.
- Use a cutter and cut the copper strip pcb into half.
- Terminate connections labelled in picture above.
- Drill through 4 holes on each corner labelled as 'X' in picture above.
- Start Soldering.
Suggestions or soldering:
- Use a breadboard or vise or pair of extra hands when soldering for pin extensions.
- When crimping without crimping tool, use plyers to bend both end pieces together then crimp the tips down towards the wire. (Illustrations coming soon)
In here, I will explain the other steps I have taken to make the device less capable of spoiling from shaking, dropping or vibrations.
More Coming Soon