FH-1 MIDI controller

From NURDspace
Revision as of 15:15, 6 March 2022 by Dennis (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
FH-1 MIDI controller
FH-1 MIDI controller.jpg
Participants Dennis
Skills Arduino
Status In progress
Niche Music
Purpose Instrument
Tool No
Location
Cost
Tool category

FH-1 MIDI controller

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

sudo dfu-programmer atmega16u2 erase

  • Flash the dualMocoLUFA firmware

sudo dfu-programmer atmega16u2 flash --debug 1 dualMoco.hex


Arduino sketch

In progress...