Soulsby Synths Forum

Title: how to get midi working
Post by: klaus on March 19, 2016, 08:46:13 PM

Hi, I am new to arduino and the miniAtmegatron.While I succeeded to assemble the board - even the LEDs - and implemented the midi hack, I am not able to get my macbook and the miniAtmegatron to exchange midi signals. The MB sees the midi over USB connected arduino as MIDI/MOCO for LUFA but there is no exchange of notes. I use MidiPipe to test it.

Have I forgotten to initialize anything?

Thanks,Klaus

Title: Re: how to get midi working
Post by: paulsoulsby on March 21, 2016, 12:50:20 PM

This has got me a bit stumped to be honest! You've set midi channel in DAW = 1? Can I confirm that you're hearing sound from the built-in pattern player. You're def using an Arduino with a 16U2 USB controller chip (this is the tiny black square chip near the USB connector)?It sounds like you've set it up correctly to me.

Title: Re: how to get midi working
Post by: klaus on March 22, 2016, 02:18:37 PM

Yes DAW is at channel 1. I use the original Arduino Uno and the MacBookPro recognizes the midi device (MIDI/MOCO for LUFA) but there is no traffic either way. I also checked it on another Mac and with another cable with no success.And yes, it works great through the internal audio out connected to my amp.Maybe I should try to redo the Midi Hack. I'm a bit lost now...

Title: Re: how to get midi working
Post by: paulsoulsby on March 22, 2016, 09:24:14 PM

Yes I'm not really sure what to suggest either! It sounds like it should work fine.Def try uploading the MOCO firmware again.Make sure the connection on pins D0 and D1 is clean. If they have a dodgy solder joint (eg going to 0V or 5V), they will block all data coming through the USB. You could even chop those pins off to be safe.Can I confirm the jumper is off of the ISP connector (for MIDI mode). You put it on for Arduino mode.I assume you've loaded all the miniAtmegatron libraries and sketch from here: http://soulsbysynths.com/miniatmegatron-downloads/ (not the Atmegatron page)?Umm... I'm not sure I can think of any other suggestions at the moment.

If you want to prove that the serial is working, you could try uploading the SerialCallResponse example sketch in Arduino. (make sure the shield is off when doing this)

Title: Re: how to get midi working
Post by: klaus on March 26, 2016, 06:22:16 PM

IT WORKS!What I did:1. cut the connections of Tx and Rx2. went back to original firmware3. tested midi via Tx and Rx (serial) > worked4. reinstalled moco firmware5. reinstalled miniAtmegatron firmware6. tested it with Tracktion 6 > it works!

Maybe the solution was to not connect the UNO with the miniAtmegatron board thru Tx and RX.

Title: Re: how to get midi working
Post by: paulsoulsby on March 28, 2016, 09:23:46 AM

Great news! Yes, if there's any connection to D0 and D1, it'll block the USB from working. In theory the pins on the shield don't go anywhere, so won't normally effect it. Glad you got it working though!