Skip to content
じゅん edited this page Jun 11, 2021 · 18 revisions

Welcome to the LrTMAX wiki!

What’s this?

LrTMAX is USB MIDI controller associated with Adobe Lightroom & MIDI2LR .
LrE-6 photo
(sorry, no photos about LrTMAX yet, but not so far.)

How this work?

LrTMAX act as MIDI controller in Lightroom system. LrTMAX has 8 buttons and 8 rotator dial, Once LrTMAX connects to PC/Mac, Then push button / rotate dial,
LrTMAX sends MIDI event assigned with buttons/dials.
LrTMAX expanded from LrE-6 6 to 8 dials.

Due to the nature of the embedded system,
this project does not explain individual development software as if it has learned how to use it.

How to define function assignments?

At This moment, MIDI channel definitions are in program source code. Details are described on “key_code.c”.
In future releases, definitions are set by PC/Mac.
(but,maybe not to do.)

How to build?

LrTMAX has made from 2 elements.

1. Print Circuit Board(PCB)

LrTMAX is embedded hardware project, that needs STM32 Micro-controller on board.
Repository contains PCB board gerber files and panel dimensions,
You can order Acril panel on manufacturing service(such as elecrow/seeed fusion etc.).
Using this gerber files and schematics And solder other electric components. Bills of Materials is placed on same folder with Gerber.

LrTMAX board

from LrTMAX board, that uses 4 layer pcb design. many of pcb manufacturers still expensive for 4 layer design, but JLCPCB services 4 layer pub manufacturing with few extra fee.

2. Microcontroller firmware.

Firmware works on STM32 micro-controller, Watching whether buttons/dials are pushed and moved, Sending MIDI events to PC/Mac via USB...

What Equipments is needed?

1. ST micro 'ST-Link/V2' programmer debugger.

Used for programming STM32 chip.(key definitions also) It's enough with chap ST-V2 clone.

2. PC/Mac (development platform)

LrE-6 uses ST micro STM32CubeIDE
Download and install.
Of course Usable with PC/Mac running Lightroom.

3. Micro-B USB cable

USB type A/C - Micro B cable
Please use fit on your PC/Mac.

4. PC/Mac installed Lightroom and MIDI2LR

MIDI events are sent by LrE-6,converted into Lightroom edits/adjustments by MIDI2LR.

Building firmware from source

Firmware has two build mode, MIDI and HID.
MIDI builds act as MIDI controller. HID builds works as USB HID keyboard.
Two modes are determined on build. It can’t change on operation.
On build, If symbol MIDI value is 1, built binary as MIDI mode. If MIDI symbol value is 0 or not defined, built as HID mode.

About BOM

Almost of parts in BOM can buy at AliExpress .

About OLED module

Parts are generally sold in Aliexpress 0.91 inch OLED SSD1306 128x32 module.
(Please be careful, Do not buy module not mounted on PCB board, Please choose like this...
SSD1306 OLED 0.91in.

Licence

There's several Licences so many sources comes from.

Given and modified from CureMIDI

CC BY

Given and modified from stm32-ssd1306

MIT license

Generated From ST Micro "STM32CubeIDE"

BSD 3 clause Licence

Others, I wrote

GPLv3

Links

STM32CubeIDE

https://www.st.com/en/development-tools/stm32cubeide.html

USB Device Class Definition for MIDI Devices

https://usb.org/sites/default/files/midi10.pdf

Special Thanks

5ちゃんねる デジカメ板 Lighroomスレのみなさん

Clone this wiki locally