MIDI over physical DIN5

This commit is contained in:
Dejvino
2026-02-16 01:48:03 +01:00
parent fcd4396d4a
commit 4c6a4bfbc1
2 changed files with 18 additions and 331 deletions
+8 -4
View File
@@ -1,6 +1,6 @@
# RP2040 MIDI Tracker
A simple MIDI step sequencer using a Raspberry Pi Pico W, an OLED display, a rotary encoder, and an 8x8 NeoPixel matrix.
A simple MIDI step sequencer using a Raspberry Pi Pico (or Pico W), an OLED display, a rotary encoder, and an 8x8 NeoPixel matrix.
## Software Requirements
@@ -8,10 +8,9 @@ A simple MIDI step sequencer using a Raspberry Pi Pico W, an OLED display, a rot
1. Add this URL to your Additional Boards Manager URLs in Preferences:
`https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json`
2. Go to **Tools > Board > Boards Manager**, search for **"pico"**, and install **Raspberry Pi Pico/RP2040**.
3. Select **Raspberry Pi Pico W** from the board menu.
3. Select **Raspberry Pi Pico** (or **Pico W**) from the board menu.
* **Libraries**: Install via Library Manager:
* `Adafruit GFX Library`, `Adafruit SSD1306`, `Adafruit NeoPixel`
* *(Note: `ArduinoBLE` is NO LONGER required. We use the built-in BTStack)*
## Connections & Wiring
@@ -47,6 +46,11 @@ Make sure to establish a **common ground** by connecting the ground from your ex
| 5V / VCC | External 5V Supply `+` | **External 5V Power** |
| GND | External 5V Supply `-` | **External Power Ground** |
| | GND (Pin 18) | **Common Ground with Pico** |
| **MIDI DIN (Serial)** | | |
| TX (MIDI OUT) | GP0 (Pin 1) | To DIN Pin 5 (via 220Ω) |
**MIDI Hardware Note**:
* **MIDI OUT**: Connect **GP0** to DIN Pin 5 via a 220Ω resistor. Connect DIN Pin 4 to +5V via a 220Ω resistor. Connect DIN Pin 2 to GND.
Once everything is wired up, you can upload the code and your tracker should be ready to go!
@@ -87,4 +91,4 @@ For a more integrated build that can fit inside an enclosure, you can use a Lith
* **Navigation**: Rotate the encoder to move between steps.
* **Edit Mode**: Short press the encoder button to toggle Edit Mode. Rotate to change the note.
* **Playback**: Long press the encoder button (> 0.6s) to Start/Stop playback.
* **Bluetooth**: The device advertises as "RP2040 Tracker". Connect to it from your computer or MIDI Bluetooth dongle.
* **MIDI**: The device sends MIDI notes via the Hardware Serial (DIN) port on GP0.