Use Rotary Encoders to control Lightroom (or anything) via Arduino and MIDI connection
This is created to use several rotary encoders as contoller knobs to adjust lightroom sliders
Rotary Encoder/Button > MCP32017 I/O Expander > I2C > Arduino > MIDI signal over USB > MIDI2LR Plugin > Lightroom
Used Libraries
- https://github.com/adafruit/Adafruit-MCP23017-Arduino-Library/
- https://github.com/arduino-libraries/MIDIUSB
Lighroom uses the MIDI2LR Plug-in
- https://rsjaffe.github.io/MIDI2LR/
- MIDI2LR.xml is a pre-made preset for MIDI2LR
Tested:
- Arduino Pro Micro
Should Work:
- Arduino Leonardo
- Atmega 32U4 based microcontroller
Schematics & PCB: https://easyeda.com/phcreery/lightroom-controller
This is the list of future changes:
- Send MIDI commands
- Clean Up code to smooth adaptivity (ex. allow more than 2 MCP devices and more encoders)
- Use interrupts instead of pooling. This will allow smoother input and less power usage
- Bottons - Short
- Bottons - Long, Double, Press & Turn.
- LEDs
- Banks/Modes
- Multi-Encoder Rotation.
- Peyton Creery - Initial work - Website