News:

SMF for DIYStompboxes.com!

Main Menu

PIC based MIDI controller?

Started by tempus, March 28, 2018, 03:24:44 PM

Previous topic - Next topic

potul

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

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

Excellent! Glad to hear you've got it running! Nice work!

T.

potul

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.