apiel
New Member
Posts: 17
|
Post by apiel on Dec 8, 2022 14:39:23 GMT
I wanted to use midi over USB, so I plugged an attiny85 to the bus with small firmware to convert USB midi to CV, gate and clock. github.com/apiel/attiny-midi2cvAlso, it now allow me to power the rack through USB. 
|
|
|
Post by ampersands on Dec 8, 2022 16:16:38 GMT
robertlanger, you need to get the official midi module out there before everyone builds their own!!
|
|
|
Post by robertlanger on Dec 8, 2022 17:01:11 GMT
robertlanger , you need to get the official midi module out there before everyone builds their own!! Ahem, yes... I feel somehow under pressure now...  ... Great work, apiel !
|
|
apiel
New Member
Posts: 17
|
Post by apiel on Dec 8, 2022 18:56:14 GMT
Thanks robertlanger and sorry for the pressure. I actually wonder if just a USB module would be good, would be great to have more features... Maybe a midi module with some keys on it, to trigger notes manually ¯\_(ツ)_/¯ Or a sequencer/tracker using Arduino, that could also accept midi notes / clock through USB (I think this will be my next DIY module) Or a module with midi USB host, this would be really amazing! (I think rp2040 support usb hosting) Or everything 
|
|
pol
Wiki Editors
Posts: 1,083
Member is Online
|
Post by pol on Dec 8, 2022 21:05:29 GMT
I wanted to use midi over USB, so I plugged an attiny85 to the bus with small firmware to convert USB midi to CV, gate and clock. github.com/apiel/attiny-midi2cvAlso, it now allow me to power the rack through USB. Hi, looks great; being an electronics novice (build kits but certainly no designing) could you explain a bit more? I've see the code you wrote on github, I've also no idea how you get the code into the chip! Did you have to make a circuit board/use a breadboard? If you could, it would be great to have a diagram, or at at least a list to what you connected to where....  Also, I assume you select which midi channel it uses on the sending device? This has great potential for something I'm working on so would love to know more.
Pol.
|
|
apiel
New Member
Posts: 17
|
Post by apiel on Dec 9, 2022 9:33:47 GMT
Hi pol, it's actually pretty simple. There is only a Digispark ATTiny85, nothing else, this is a pre-build board with the USB already soldered that allow you to program it... Then you need to install Arduino IDE, install the board, install the midilib library from my fork and finally upload the code (the instructions are inside the README file, even if it's not very clear) Finally, plug the pin0 to gate bus, pin1 to CV bus, pin2 to clock, 5v to 5v bus and GND to GND bus, see www.tangiblewaves.com/diy-info.html (be careful with bus, it's easy to mixup things... but as long you don't mixup GND and 5v everything should be fine) Finish 
|
|
pol
Wiki Editors
Posts: 1,083
Member is Online
|
Post by pol on Dec 10, 2022 9:33:56 GMT
Hi pol , it's actually pretty simple. There is only a Digispark ATTiny85, nothing else, this is a pre-build board with the USB already soldered that allow you to program it... Then you need to install Arduino IDE, install the board, install the midilib library from my fork and finally upload the code (the instructions are inside the README file, even if it's not very clear) Finally, plug the pin0 to gate bus, pin1 to CV bus, pin2 to clock, 5v to 5v bus and GND to GND bus, see www.tangiblewaves.com/diy-info.html (be careful with bus, it's easy to mixup things... but as long you don't mixup GND and 5v everything should be fine) Finish  You had me at "it's actually pretty simple"  Ordered a Digispark ATTiny85 and will give it a go.
Thanks Pol.
|
|
|
Post by waporwave on Dec 20, 2022 6:16:13 GMT
robertlanger , you need to get the official midi module out there before everyone builds their own!! Ahem, yes... I feel somehow under pressure now...  ... Great work, apiel ! The midi from the power module is fine really. It's good enough for most uses, and most setups, especially considering the generative nature of a lot of modular. You don't even have enough envelopes on starter rack 1 for more than 2 voices (without trickery  ). I would like a MIDI module too, but I'm not dying over it 
That being said, it seems like it's a pretty simple DIY project. Now we've got one with attiny, I've made one adapted from a eurorack arduino project, and I'm pretty sure I've seen some other people do similar things. A DIY midi module kit might make it more accessible; I'd love to be the one to do it, but I've got a bit to learn until I could make one :-)
Also for MIDI modules, I think some people (that I saw in the discord server) had been experimenting with having their module accept just accept a midi signal instead of gate and cv, and having a midi module produce seperate channels of midi information instead of gate and cv. And the usb power seems really useful for portability, but iirc the standard allows it to dip below 5v, which I'm assuming is not good.
|
|
|
Post by waporwave on Dec 20, 2022 6:59:19 GMT
yeah, as you can see from my post count, I don't look at this forum often, but just scrolling down I'm already seeing a lot of posts about midi to cv DIY stuff
|
|