hey guys
so i've been running into this problem more and more often lately, where my hardware or lets say the whole prototype system of my diy syth starts behaving really weird, depending on power supply/grounding situation. I'm not talking about the "usual" digital SD etc noise that you get sometimes, but let me start with explaining my current setup:
- i have a midibox sending midi on DIN going into an arduino midi shield with midi through, from there into a control axoloti which does poly voice handling and then forwards midi to several axo synth voice boards.
- midibox and arduino are powered through an usb hub with probably shitty power supply.
- axolotis are either poweredd through the same usb hub or sometimes via 12v from a linear eurorack power supply
- some analog gear is also powered by that linear supply
- midi/data lines between all boards, serial only. between midibox/arduio/axxo only via optocoupled DIN midi
- audio connections w ground between axolotis and audio gear
- random extra ground connection here and there but not comprehensive or even systematic
- macbook pro conected to usb hub and to macbook power supply
- all the AC converters go to the same power outlet
now i always had issues here and there but in general it worked quite stable and the random issues were nothing a system power cycle couldn't fix. but two days ago it started really fucking up:
i was working on changing the axo to axo communication, from DIN midi first to serial, then to usb. at some point i had the latter working, 4 axolotis in a usb chain, the last one i was patching also was connected to the hub. i think about 3 of the 4 had addtl power conenctions to linear 12v. everything was working as expected, super snappy and i was super happy. it was already acting kind of weird where i got heavy humming whenever i unplugged the macbook power supply or the macbook to hub connection. but it was working. now here comes the fuckup. i don't remember what exactly i changed but i was just starting to clean the dev code and wire patching up a bit and everything stopped working.
- the control axo seemed to receive an endless loop of the last received midi message, with data1 and data2 set to 0. like a half assed midi feedback loop.
- this made the whole system unresponive and lag/crash/deconnect all the time.
- it got better after a power cycle and the control axo now is working when the usb-to-hub-to-macbook connection is intact. as soon as i unplug that on either port the midi hammering starts and it will stop working. half of the time this oly depends on the physical connection, but sometimes i have to start the patcher and connect in order to make it run. most times i can hot-plug the usb in and out, and the axoloti will hang/run accordingly
- i tried going back to very basic midi i/o forwarding patches to debug and diagnose but i barely get anything. like, i have the midi poly forwarding on the control axo, and it works fine (as long as usb connected...), log shows the sent midi data, but the receiving axo doesn't get any input anymore, no matter what, not on usb, not on DIN midi
- tried swapping around the axolotis to make sure its not a faulty unit, same behaviour
- i rarely do get the control board to work properly with the macbook not connected so its not a osx/usb midi issue
- tried disconnecting all analog gear and connections. problem persist with just midibox, arduino and one axoloti.
i know these symptoms i described are pretty erratic and probably just a weird showing of some fundamental problem. i strongly suspect a big fuckup in my powersupply/groud loop situation. so, whats to do here? anybody has specific advice or even some general (electric? or axo specific) guidelines and rules how to power-connect a system like this properly? obvisouly the macbook wont be a part of the system after developing so keeping that plugged in is not really an option....
i was already tempted to find workarounds on the software/pather side but the whole thing was running perfectly for half an hour before it started acting up. also after writing all this up i am pretty sure i will come back tomorrow, just fire everythig up and it will maggically work again.