MidiKeyboardBluePill

drdpj·MidiKeyboardBluePill·MIDI2M4000/MIDI2M4000.kicad_pcb

MidiKeyboardBluePill PCB layout, top view — open source STM32 board by drdpj

About the MidiKeyboardBluePill PCB

MidiKeyboardBluePill is an open source STM32 PCB design by drdpj, published on GitHub under the GPL-3.0 license. It is a 2-layer board measuring 69.9 × 51.4 mm, with 41 components from 27 distinct parts.

Its main chip is the STM32F103C8Tx, from the STM32 family. Other key parts include the 74LV14, TLP2361_TPL_E and AP2112K-3.3. By type, the board carries 13 capacitors, 10 resistors, 7 connectors, 4 ICs, 4 diodes and 2 switches.

It belongs with the audio designs in this gallery.

From the project

MidiKeyboard for the Blue Pill

A BluePill board, plus optocoupler circuit is all that is required to get this to work, however there is a complete hardware design too which incorporates MIDI-through and blinkenlights.

Pins used: Userport PB0-7 (even pins 6-20) are on GPIOs PB4,6-12 Userport CB1 (pin 2) -> Clk, GPIO PB13 (SPI2) - add external 10k pullup to 5V Userport CB2 (pin 4) -> MOSI, GPIO PB15 (SPI2) MIDI serial in (3.3V) -> GPIO PA3 (USART2) PA5 - Button (to ground) to program channel (press once and next note sets the channel, press twice and channel is ignored), PA4 - LED (active low, 560R to 3.3V) to indicate…

MidiKeyboardBluePill, from the project README
From the project README

Main components on the MidiKeyboardBluePill

MidiKeyboardBluePill bill of materials (BOM)

41 components, 27 distinct parts.

QtyPartRefs
1
74LV14
U1
1
TLP2361_TPL_E
U2
1
STM32F103C8Tx
U3
1
AP2112K-3.3
U4
1
8MHz
Y1
1
MIDI_THRU
J1
1
BOOT_JMP
J2
1
MIDI_IN
J3
1
DEBUG
J4
1
USER PORT
J5
1
5V_POWER
J6
1
SPARE_PINS
J7
1
RESET
SW1
1
SET_CHAN
SW2
1
ACTIVITY_LED
D1
1
SET_CHAN_LED
D2
1
1N4148W
D3
1
POWER_LED
D4
7
0.1uF
C1, C5, C6, C7, C8, C11, C13
2
10uF
C2, C3
Show 7 more
QtyPartRefs
1
1uF
C4
2
18pF
C9, C10
1
47uF
C12
3
220R
R1, R3, R7
4
10k
R2, R6, R8, R9
1
1K
R4
2
560R
R5, R10

MidiKeyboardBluePill design files

The KiCad project lives in the drdpj/MidiKeyboardBluePill repository on GitHub; these links point at the commit this page was built from.

MidiKeyboardBluePill: common questions

What microcontroller does the MidiKeyboardBluePill use?

The MidiKeyboardBluePill is built around the STM32F103C8Tx, from the STM32 family.

How big is the MidiKeyboardBluePill PCB?

The MidiKeyboardBluePill measures 69.9 × 51.4 mm, has 2 copper layers and is 1.6 mm thick.

How many components are on the MidiKeyboardBluePill?

41 components, from 27 distinct parts. The full bill of materials is listed on this page.

Where can I download the MidiKeyboardBluePill design files?

From the drdpj/MidiKeyboardBluePill repository on GitHub, which has the KiCad layout; the links under Design files point to each one.

Can I use the MidiKeyboardBluePill design in my own project?

Yes, under the terms of its GPL-3.0 license, which drdpj chose for the repository.

Can I test firmware for the MidiKeyboardBluePill without the hardware?

Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.

Similar boards