Skip to the content
2 layers152.9 × 57.2 mmBluetoothMidiController, the printed circuit board in 3D

BluetoothMidiController

boomninjavanish/portaMid

The portaMid keyboard is a MIDI keyboard that works over the Bluetooth Low Energy (BLE) protocol which allows one to control music apps on any Apple iOS device.

Size
152.9 × 57.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
28
Nets
29
Pads
152
Tracks, vias
293, 27
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
2 Feb 2019
Updated
18 Jun 2020

Overview

BluetoothMidiController is an open-source printed circuit board by boomninjavanish, from the boomninjavanish/portaMid repository on GitHub, published under the LGPL-3.0 licence. It is a 2-layer board of 152.9 × 57.2 mm with 28 parts on 29 nets, routed with 293 tracks and 27 vias.

Its parts include 17 switches, 3 resistors, 1 capacitor, 1 IC and 1 diode.

README

README.md

portaMid

portaMid without phone docked

Click to view video of portaMid in use.

Click here to download the manual.

The portaMid keyboard is a MIDI keyboard that works over the Bluetooth Low Energy (BLE) protocol which allows one to control music apps on any Apple iOS device. The device contains a 500 mAh lithium polymer rechargeable battery which lasts for many hours of use.

The one octave of piano style keys are soft to the touch but contain tactile feedback so that the user knows when the key has been pressed. Utilizing the octave keys, the user may lower or raise the octave in which the piano-style keys play. The LED represents the octave selection via different color output.

A removable phone mount allows for use on the go for different sizes of iPhone. In fact, every iPhone since the 4S is supported by the device. Most music apps support MIDI over BLE natively and connect to the portaMid with no configuration required: just connect and use. An example of set-up with the GarageBand app may be found in the user manual.

Motivation

I chose to create a portable MIDI controller that will allow one to dock a phone and use like a gaming controller. Often, I create music on train trips using my phone and hate inputting notes on the tiny keyboards presented on screen.

Creation

Board

A circuit board was designed using KiCAD and is centered around the Adafruit Feather 32u4 Bluefruit LE development microcontroller. The PCB design may be sent to a company such as OSH Park or PCB Way to be printed. The following is a bill of materials for the project (sans circuit board and case):

QTYPart
1Adafruit Feather 32u4 Bluefruit LE Microcontroller
1Microchip MCP2307 I2C I/O expander (SPDIP)
1Adafruit NeoPixel Through-Hole 5mm LED
1312mm tactile switches
35mm tactile switches
1100nF ceramic capacitor
12mm DPDT surface mounted slide switch (DigiKey PN: 401-2002-1-ND)
11K SMD 1206 resistor
24.7K SMD 1206 resistor
13.7V/500mAh Lithium Ion Polymer Battery with 2-pin JST-PH connector

Case

The final case was modeled in Fusion 360 and was designed to accept an existing phone mount that was found in Thingiverse. In order to ensure that the dimensions were correct, the board was exported from KiCAD as a STEP file. Other components such as switches, USB ports, and LEDs were imported into Fusion from a website called GrabCAD. This website is a community website similar to Thingiverse, but contains mostly engineering components.

I printed the buttons in NinjaFlex 85A TPU, which leaves the buttons tactile but feeling soft and reduces noise. The phone clamp connects to the case utilizing a ball joint which allows the keyboard to be used without the phone attached.

The side of the case contains an indentation that allows a USB micro cable to be plugged into the Adafruit feather for charging. The charging LED is visible through one hole near the port and a programmable LED is visible through another.

User Feedback

For testing, the portaMid was given to two people for a week each. The following is the feedback from the first person:

I love the PortaMid!! As a musician who uses midi for all of my projects, it’s so convenient to be able to have an external midi controller. Especially because it’s so portable! I can easily fit it into my purse or backpack and use it wherever I go, train, bus, or at home. I also really love the design, the PortaMid looks as fun as it is to use. The buttons are accessible and labeled to help easily find the functions. I can’t wait to have a PortaMid of my own!

The second person had the following to say:

  • Good size to hold
  • Clear and simple user manual
  • LOVE the color change for different octaves- that was very useful
  • Bluetooth easy to set up
  • It only took me 10-15 min to get the hang of it and start playing melodies
  • I was really excited about the product, and it was more fun to use than I thought it would be
  • Thank you for letting me test it!

Improvements and Future Work

Going forward, further refinements to the device will be made. For example, it would be nice to have buttons that have the tactile feeling but are less difficult to press and create less noise. Research needs to be done on what could replace the standard tactile buttons with something that is better. In addition, it would be nice to have some velocity sensitive keys for playing more than one dynamic.

In addition, I will need to create a circuit that can poll the battery level at intervals in order to indicate the current charge level or if the battery is dying.

The stand could use a wing-nut to allow the user to adjust the tension so as to keep the unit in the proper position when in use. Also, it would allow for ease of removing the stand entirely.

While using the product, I found myself gripping the device like a game-pad. I had the thought of incorporating shoulder buttons which could be used for modulation, pitch bend, after-touch pressure, etc.

I envision an entire line of these being made with different properties. For example it would be nice to have a version that mimics the Moog style ribbons, or another version that is a mini sequencer. It would only take finding different sensors or button layouts and incorporating them into the current design for a completely different type of interface.

Parts

28
QtyValueFootprintReferences
24.7KResistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolderR2, R3
10.1uFCapacitor_THT:C_Disc_D3.0mm_W1.6mm_P2.50mmC1
11KResistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolderR1
1A#1Button_Switch_THT:SW_PUSH-12mmSW14
1A1Button_Switch_THT:SW_PUSH-12mmSW13
1B1Button_Switch_THT:SW_PUSH-12mmSW15
1C#1Button_Switch_THT:SW_PUSH-12mmSW4
1C1Button_Switch_THT:SW_PUSH-12mmSW3
1C2Button_Switch_THT:SW_PUSH-12mmSW16
1D#1Button_Switch_THT:SW_PUSH-12mmSW6
1D1Button_Switch_THT:SW_PUSH-12mmSW5
1E1Button_Switch_THT:SW_PUSH-12mmSW7
1F#1Button_Switch_THT:SW_PUSH-12mmSW9
1F1Button_Switch_THT:SW_PUSH-12mmSW8
1G#1Button_Switch_THT:SW_PUSH-12mmSW12
1G1Button_Switch_THT:SW_PUSH-12mmSW10
1MCP23017_SSPackage_DIP:DIP-28_W7.62mmU1
1NeoPixel_THTLED_THT:LED_D5.0mm-4_RGB_Wide_PinsD1
1OCT+Button_Switch_THT:SW_PUSH_6mmSW2
1OCT-Button_Switch_THT:SW_PUSH_6mmSW1
1OPTButton_Switch_THT:SW_PUSH_6mmSW17
1PWRbluetoothMidiController:SW_SMD_DPDT_JS202011SCQNSW11
1To FeatherConnector_Wire:SolderWire-0.5sqmm_1x06_P4.8mm_D0.9mm_OD2.3mmJ1

The 24 most common of 28 parts.

Similar boards

  • 2 layers44.5 × 72.7 mmOSO SWAT C1-jig, the printed circuit board in 3D

    OSO SWAT C1-jig

    joeycastillo/Sensor-Watch

    A board replacement for the classic Casio F-91W wristwatch

    28 parts2.1k
  • 2 layers95 × 54 mmEinkPDA screen, the printed circuit board in 3D

    EinkPDA screen

    TalismanDesign/PocketMage_PDA

    An E-Ink PDA device using the ESP32 S3.

    28 parts2kApache-2.0
  • 2 layers45 × 45 mmSmartbuttons, the printed circuit board in 3D

    Smartbuttons

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    28 parts915
  • 2 layers24.1 × 36.2 mmEsp32miniBT, the printed circuit board in 3D

    Esp32miniBT

    asterics/esp32_mouse_keyboard

    ESP32 implementation for HID over GATT Keyboard and Mouse (Bluetooth Low Energy). Including serial API for external modules (similar to Adafruit EZKey HID)

    28 parts911GPL-3.0
  • 2 layers34.8 × 12.2 mmInfnoise goldfingers, the printed circuit board in 3D

    Infnoise goldfingers

    waywardgeek/infnoise

    The world's easiest TRNG to get right

    28 parts854CC0-1.0
  • 2 layers55.9 × 99.1 mmStm32f0 disco Luos shield, the printed circuit board in 3D

    Stm32f0 disco Luos shield

    Luos-io/luos_engine

    Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

    28 parts546MIT
  • 2 layers88 × 25 mmEleLab v2 Frontpanel a, the printed circuit board in 3D

    EleLab v2 Frontpanel a

    Chrismettal/EleLab_v2

    Cheap DIY lab system for hobbyists and the tinkering folk

    28 parts531GPL-3.0

Questions

How big is the BluetoothMidiController PCB?

It measures 152.9 × 57.2 mm and has 2 copper layers, 1.6 mm thick.

What parts does the BluetoothMidiController use?

28 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the BluetoothMidiController KiCad files?

From the boomninjavanish/portaMid repository on GitHub, at the commit this page was made from: the board is schematic/bluetoothMidiController/bluetoothMidiController.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the BluetoothMidiController design in my own project?

Its repository publishes it under the LGPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).