It was inconvenient for me to operate my laptop running a DAW (in my case Cubase) while recording a drum track. So I wanted to have a distraction free method to trigger a few essential commands such as start/stop/record etc without dropping my sticks. The available commerical solutions where too expensive or not practical because e.g. impossible to be mounted to my rack.So I came up with this DIY button-box based on the famous Arduino micro.It can be mounted on standard 38mm tubes used by Roland racks to hold the box.
If you have a 3d printer and would like to built your own remote box, use the instructions below.
Instructions:1. Print out the 2 rack clamp parts and the box body. PLA will work fine, but if you want more stability use PETG. Combine the clamp by a M4x40 screw as axis between the 2 parts, tighten the screw, but make sure it can still rotate easily.Use a M6 wingscrew and nut as tightener to hold firmly on your rack.Use 2x M3x4 screws (or similar) and nuts for combining the upper clamp part to the box.
2. For the front-panel you have several choices. You might want to design your own variant depending on your buttons of choice. Use one the available front-panal templates in either stl (for 3d printer) or svg (for CNC) to create your own front-panel.(I decided to make the panel on my DIY CNC machine because I liked the engraved design...but a 3d printed panel will work just fine.)
3. After your front-panel is ready, insert the buttons and solder to the correct Arduno ports (see assignment below).I decided to use a seperated PCB to have more space, but that is not mandatory. If you do this, use the 4 holes in the corner to hold the PCB.Finally close and secure the front-panel with 2 M3 screws.
4. Programming the Arduino:Any Micro Pro will do, just make sure it's the Adruino Micro PRO (not the standard Arduino micro!) because of the built-in USB. An Arduino Micro Pro conntected to any PC or laptop can natively emulate a USB keyboard and so can trigger any keystroke, even function keys and num block keys etc. Micro pros are available from different sources, so you might need to modify your code depending on the included libraries. In my case, I decided to use the digial ports 2-8 which will be initalized as internal pull-ups first.The connected push buttons (normally open) will pull the pins to GND which is detected by the code and triggers the programmed action (emulated key press).
For my DAW (Cubase), I decided to use the following setup:
Port Button Key Cubase Function
------------------------------------------
2 M c Metronome On/Off
3 L [Num] 1 Goto Left Locator
4 >> [Num] + Forward
5 << [Num] - Backward
6 P SPACE Play/Stop
7 B b Begin
8 R [Num] * Record
It can be easily changed in the code to match your configuration. Use my enclosed code as example.
Enjoy.
Comments
Please log in or sign up to comment.