Skip to content

This is a device, that slides on the Akai APC MINI MK2 MIDI controller and adds 9 potentiometers to it.

Notifications You must be signed in to change notification settings

adamvotocek/akaiExpander

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino-based potentiometer expander for the Akai APC Mini MK2

This is a MIDI controller, that slides on the Akai APC MINI MK2 MIDI controller and adds 9 potentiometers to it as well as a USB port for another device. done akaiCorner akaiFront akaiBack

Overview

Currently, I am too lazy to make a full schematic (might add it later if anyone gets interested in this project), but this is the overview of what is happening in the device:

The brains of this device is an Arduino Pro Micro board. It senses the potentiometers and sends MIDI signals to the computer, so this is essentialy a standalone MIDI controller that can be used without the APC mini. In order to connect the APC mini and Arduino to the computer through a single USB, there is a custom USB hub on board, which is basically just an SL2.1A chip on a breakout board with a 12MHz crystal and two small 10uF capacitors. This hub can host up to 4 devices so in order to use more of its potential, there is a USB A port on the back of the device for connecting any other USB 2.0 devices. All is housed in a two-part 3D printed case, which is printable on an Ender 3 sized print bed.

Parts

Electrical

1x Arduino Pro Micro Board

9x WH148 10k Potentiometers

1x USB breakout connector or a cable that you splice up for the arduino

1x SL2.1A USB hub chip

1x SOP16 breakout board

1x 12Mhz crystal oscillator

2x 10uF capacitors

2x 100uF capacitors (not really needed, but it is good practice to include them)

1x USB-C Female breakout board (Specifically this one)

1x USB-A Breakout Board (Specifically this one)

1x USB-B Right angled cable (Specifically this one)

...a lot of wirezzz (i used multiple colors of 26 AWG stranded wire)

Mechanical

1x 3D printed case

9x Potentiometer knobs of your choice

10x M3 12mm bolts

10x M3 square nuts

2x M2 8mm bolts

2x M2 nuts

2x 15*2mm rubber feet (optional, I used these)

How to build

1. Upload the code to the Arduino

2. USB-C breakout board

Solder long enough leads to the VBUS, GND, D+ and D- terminals of the board. Solder in a 100uF capacitor (be careful of the polarity). board

3. Strip the angled USB-B cable

4. Arduino USB connection

Solder long enough leads to the breakout USB connector for your Arduino, or if you decided to sacrifice a cable instead, strip it. connector

5. USB-A breakout board

Solder long enough leads to the VBUS, GND, D+ and D- terminals of the board. Solder in a 100uF capacitor (be careful of the polarity). usbA

6. Potentiometers

Screw in the pots. pots pots

  1. Solder the potentiometers in parallel.
  2. Solder long enough leads to the potentiometers for sensing the divided voltage (yellow, green and blue wires in the picture). These will go to the Arduino's analog inputs.
  3. Solder long enough power leads to the potentiometers (red and black wires). pots

7. USB hub

  1. Solder the SL2.1A chip to the breakout board in the correct orientation.
  2. Solder the 12MHz crystal to XIN and XOUT. The orientation doesn't matter. image
  3. Solder a 10uF capacitor between VDD33 and GND
  4. Solder a 10uF capacitor between VDD18 and GND
  5. Solder long enough power leads to VDD5 and GND
  6. Solder the USB data leads from the USB-C breakout board to DP and DM.
  7. Solder the USB data leads from the Arduino USB, USB-B angled cable and USB-A breakout board to the DPx and DMx terminals.

This is what mine looked like. It looks really messy (mostly because of the hot glue), but it works great.
hub

8. Arduino connections

Solder the potentiometer power leads to VCC and GND. Solder the potentiometer sense leads to pins A0, A1, A2, A3, 4 (A6), 6 (A7), 8 (A8), 9 (A9), 10 (A10). Don't forget to plug in the USB.

When I did this I wanted to be able to disconnect the potentiometers from the board, because I thought it would help ease the building process. I first soldered pins onto the Arduino and then crimped dupont connectors onto the sense leads. For the power leads, I used a small molex connector. In hindsight, I should've soldered everything on the board, because the connectors didn't quite fit in the case and the pins on the board had to be bent. arduino

9. Solder all the power leads together

At this point, the electronics should look somewhat like this: soldered

10. Insulate exposed conductors

I used heatshrink and hot glue (wow so proffesional)

11. Insert the nuts, screw in the boards

12. Close the case

Insert square nuts in the slots under the screw holes. Stuff everything inside. It helps if you use double sided tape to secure the USB hub and the Arduino to the floor of the case. Screw it all together...aaand you're done! Hope everything works:) done done done

About

This is a device, that slides on the Akai APC MINI MK2 MIDI controller and adds 9 potentiometers to it.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages