FH-1 MIDI controller | |
---|---|
Participants | Dennis |
Skills | Arduino |
Status | In progress |
Niche | Music |
Purpose | Instrument |
Tool | No |
Location | |
Cost | |
Tool category |
FH-1_MIDI_controller.jpg {{#if:No | [[Tool Owner::{{{ProjectParticipants}}} | }} {{#if:No | [[Tool Cost::{{{Cost}}} | }}
What
Trying to build an Arduino MIDI controller for controlling the Expert Sleepers FH-1 Eurorack module.
Hardware
- Funduino Arduino Uno R3 clone
- Joystick Shield (marked as V1.A)
- Breakout board with SSD1306 I2C OLED screen (address 0x3C)
- Toggle switch
Software
dualMocoLUFA 16U2 firmware
The USB to serial chip on this Funduino board is actually a ATmega16U2 microcontroller. It is possible to reprogram this to act as a USB MIDI -> serial bridge. I used dualMocoLUFA and soldered on a toggle switch to switch between MIDI mode and normal mode (to upload new sketches).
Flashing dualMocoLUFA to the ATmega16U2
- Install prerequisites
sudo apt install dfu-programmer dfu-util
- Download the firmware
wget https://raw.githubusercontent.com/kuwatay/mocolufa/master/HEX/dualMoco.hex
- Short pins 4 and 6 on ICSP connector (see http://morecatlab.akiba.coocan.jp/lab/wp-content/uploads/2013/09/IMGP9378.jpg)
- Connect the Arduino to your PC with USB cable
- Erase atmega16u2 flash
sudo dfu-programmer atmega16u2 erase
- Flash the dualMocoLUFA firmware
sudo dfu-programmer atmega16u2 flash --debug 1 dualMoco.hex
Arduino sketch
In progress...