Difference between revisions of "ER-USB-MIDI"

From Land Boards Wiki
Jump to navigation Jump to search
Line 21: Line 21:
 
== Design ==
 
== Design ==
  
* XAIO RP2040 CPU
+
=== XAIO RP2040 CPU ===
  
 
[[file:ER-USB-MIDI_RP2040.PNG]]
 
[[file:ER-USB-MIDI_RP2040.PNG]]
  
* MIDI Out jack
+
=== MIDI Jacks ack ===
  
 
[[file:ER-USB-MIDI_JACKS.PNG]]
 
[[file:ER-USB-MIDI_JACKS.PNG]]
Line 34: Line 34:
 
** Male Pins on Daughtercard
 
** Male Pins on Daughtercard
  
* MIDI In
+
=== MIDI In ===
  
 
[[file:ER-USB-MIDI_IN.PNG]]
 
[[file:ER-USB-MIDI_IN.PNG]]

Revision as of 06:58, 16 January 2023

Features

Seeeduino XIAO RP2040

There are 14 GPIO PINs on XIAO RP2040, on which there are 11 digital pins, 4 analog pins, 11 PWM Pins,1 I2C interface, 1 UART interface, 1 SPI interface, 1 SWD Bonding pad interface.

Seeed-xinpin-rp2040.jpg

Design

XAIO RP2040 CPU

ER-USB-MIDI RP2040.PNG

MIDI Jacks ack

ER-USB-MIDI JACKS.PNG

  • J5, J6 = PJ366ST
  • Install both Pot/Jack headers/sockets
    • Female sockets on Controls card
    • Male Pins on Daughtercard

MIDI In

ER-USB-MIDI IN.PNG

Daughtercard Prototyping Area

ER-PROTO-02-DB REAR PWR.png

Software

  • Adafruit MIDI Friends
    • Bridges USB MIDI to Serial MIDI
      • Takes in MIDI from the USB (typically from a PC running a MIDI player) and send out MIDI
      • Maintains optical isolation on MIDI
  • Listens to MIDI Channel 1
  • Load CircuitPython to card (using v7.x)
    • Press right button then insert USB cable
    • Drive will appear on PC
    • Drop CircuitPython uf2 onto the drive
  • Drop application and libraries onto card - Drop as code.py to auto-run
  • Download/run MIDIEditor
    • Edit
    • Settings
    • MIDI Output
      • Select CircuitPython Audio
    • Load MIDI file (Free MIDI files sites)
    • Click play button