MIDI Controller, based on Arduino Uno, no third party libraries. However, since Arduino Uno does not have native MIDI support, we use third party software, Hariless MIDI to convert Serial to MIDI. На русском
Two potentiometers, two buttons as MIDI notes, the green button - control bank switch.
int numberOfPots = 2; //Total number of potentiometers
int numberOfButtons = 2; //Total number of buttons
Serial to MIDI convertion:
- Code it
- Potentiometers
- Buttons
- Faders
- Write the efficient code for more sensors
- for pots
- for buttons
- Add the command switch
- for pots
- for buttons
- Add the LED for the switch
- Clean the code
- Construct it
- Design an enclosure
- More buttons
- More stuff
- Wiring and soldering
- circuit design w/ Fritzing
- Tutorial
Sep 02 2019 - Finished the demo project.
- White LED to indicate power on
- Two green LEDs on each side to indicate the switch (one is on, one is off)
- Or! Code an option to add another switch to make all the buttons and pots have 3 modes instead of two
- Replace Uno with Mega for more analog inputs (no multiplexers this time)
- Add two buttons
- Make the wires going to the board much longer
- Connect the remaining pots
- Reconnect faders (switch ground and power to reverse the fader)
- First project that worked for me: https://www.instructables.com/id/Easy-3-Pot-Potentiometer-Arduino-Uno-Effects-Midi-/
- This one has buttons and fader, didn’t work for me yet: https://www.instructables.com/id/Arduino-MIDI-Controller/
- Made the CC work, had troubles with buttons, asked a question: https://forum.arduino.cc/index.php?topic=628697.0
- Got the hint at the forum: Pull Up Resistor: https://www.baldengineer.com/arduino-internal-pull-up-resistor-tutorial.html
- This is a switch example I used to make the button work as I needed: https://www.arduino.cc/en/Tutorial/Switch