FH-1 MIDI controller: Difference between revisions

From NURDspace
No edit summary
 
Line 23: Line 23:
=== dualMocoLUFA 16U2 firmware ===
=== 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 [http://morecatlab.akiba.coocan.jp/lab/index.php/aruino/midi-firmware-for-arduino-uno-moco/?lang=en dualMocoLUFA] and soldered on a toggle switch to switch between MIDI mode and normal mode (to upload new sketches).
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 [http://morecatlab.akiba.coocan.jp/lab/index.php/aruino/midi-firmware-for-arduino-uno-moco/?lang=en 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
<code>sudo apt install dfu-programmer dfu-util</code>
* Download the firmware
<code>wget https://raw.githubusercontent.com/kuwatay/mocolufa/master/HEX/dualMoco.hex</code>
* 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
<code>sudo dfu-programmer atmega16u2 erase</code>
* Flash the dualMocoLUFA firmware
<code>sudo dfu-programmer atmega16u2 flash --debug 1 dualMoco.hex</code>


=== Arduino sketch ===
=== Arduino sketch ===
In progress...
In progress...

Latest revision as of 15:15, 6 March 2022

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...