Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edwardsharp/midi2cv
some modular hardware musingz
https://github.com/edwardsharp/midi2cv
Last synced: 28 days ago
JSON representation
some modular hardware musingz
- Host: GitHub
- URL: https://github.com/edwardsharp/midi2cv
- Owner: edwardsharp
- Created: 2024-07-29T16:52:03.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-13T10:41:56.000Z (5 months ago)
- Last Synced: 2024-08-13T20:51:13.055Z (5 months ago)
- Language: C++
- Size: 6.14 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MIDI2CV
just some musing on a midi to cv (control voltage) converter for eurorack.
this is the code for the second revision. which uses usb midi!
there's 4 mcp4728 DACs that provide 16 channels of control voltages (0-5v). 8 of those are for notes, the other 8 are for note velocities, and the other 8 are gates (the gates and leds are controlled via a [74HC595 shift register](https://www.adafruit.com/product/450)). there's a usb midi interface which uses [adafruit's rp2040 with usb host board](https://learn.adafruit.com/assets/120411). the [EZ_USB_MIDI_HOST](https://github.com/rppicomidi/EZ_USB_MIDI_HOST/) handles usb midi and uses the [sekigon-gonnoc/Pico-PIO-USB](https://github.com/sekigon-gonnoc/Pico-PIO-USB) library (programmable input/output) as a [bit-bangin'](https://en.wikipedia.org/wiki/Bit_banging) software usb host controller.
**IMPORTANT NOTE:** i ended up using v`0.5.3` of this library because the newest version (v`0.6.0` at the time of writing this) was very unstable [read more in this github issue](https://github.com/sekigon-gonnoc/Pico-PIO-USB/issues/122).
i also ran into another dead end where my rp2040 would crash when sending i2c data to more than one mcp4728 DAC so i used another rp2040 (a [kb2040](https://learn.adafruit.com/assets/106984), that adafruit sent me as a freebie) to do the i2c communication with the DACs and use serial UART between the two rp2040s. :feelsgood:
_so please note:_
1. `midi2` is the arduino sketch for the [rp2040 with usb host](https://www.adafruit.com/product/5723)
2. `2cv` is the arduino sketch for the [kb2040](https://www.adafruit.com/product/5302)![midi2cv prototype](midi2cv.png)
---
made with 🖤 in NYC