Author Topic: PIC based MIDI controller?  (Read 4822 times)

potul

Re: PIC based MIDI controller?
« Reply #40 on: April 10, 2018, 12:27:40 PM »
Hi

I don't see anything at first glance....

I would suggest you use a serial TTL to usb converter and monitor the data somehow....
Does your scope have a digial analyser? Maybe you could get the values from there.

Another topic I have come up more than once is... did you connect the MIDI OUT corretly? It is not trivial to know what goest to pin 4 or 5 of the DIN connector... I've failed multiple times, so if it does not work, I always try it reversed.


tempus

Re: PIC based MIDI controller?
« Reply #41 on: April 10, 2018, 01:46:51 PM »
Thank you so much - I switched my connections on pins 4 and 5 and I've got it running now. I originally got my pinout from this site:

http://www.rossbencina.com/code/midipic  where it shows pin 4 being the TX pin and pin 5 being the V+ pin, but checking this site:

https://www.midi.org/specifications/item/midi-din-electrical-specification

shows the opposite. The funny thing is that I tried switching the pins on a whim a week or so ago, with no success. Clearly my code wasn't up to snuff either. Just goes to show that you can't believe everything you read on a website.

Thanks a ton to you as well Tom for persevering and helping me to get this sorted out. You've been a great help.


ElectricDruid

Re: PIC based MIDI controller?
« Reply #42 on: April 10, 2018, 05:47:45 PM »
Excellent! Glad to hear you've got it running! Nice work!

T.

potul

Re: PIC based MIDI controller?
« Reply #43 on: April 11, 2018, 02:22:16 AM »
Good to see it works now. As I mentioned,... you are not the first one to fall into the trap.
In my case, I always have trouble figuring out which pin is 4 and 5 in the connector. I never remember if the schematics you find around are looking from behind or from the front of the connector.
I ended up taking pictures of my build and labeling the cables in the picture so that I can check it when needed.