Jump to content

DIN Trouble


jwrigh10
 Share

Recommended Posts

I am apparently experiencing an issue with one connection (J5) on a DIN module. When I press buttons corresponding to pins 5 & 6 I get two midi messages per pin. For example, a normal message is: 94 2D 7F 5 A note On. However, when I press a button corresponding to these pins I get: 94 29 7F 5 F note on and 94 2A 7F 5 F# note on. In other words, I get two sets of midi messages per pin.

Here is what I have done to troubleshoot

1. Replaced the cable connectors-same result

2. Plugged in another cable (from J4 for example)-which did not give multiple messages on J4 pins--same result on the J5 pins

3. Plugged in a good cable (e.g., the one from J4 which works fine) into J5-same result of multiple messages

4. Checked midio file-could not find a bug

5. Visually checked DIN-could not see a problem.

Does anyone have any suggestions. All the other ports (J3, J4, J6) work fine. I just have these 2 pins on J5 that are triggering multiple midi messages.

Link to comment
Share on other sites

I'm still very new at this myself, but logically it seems like either the two offending pins are shorted, or the shift register is faulty.

I'd swap the shift register with one connected to a set of non-malfunctioning pins. If the problem persists on the same pins there has to be a short somewhere on the board. If the problem moves to another set of pins you have a faulty shift register.

Will someone please verify my logic? My first DIN is still not yet soldered... ;)

Link to comment
Share on other sites

Sounds about right to me.

jw: by your description it seems that you are not receiving a duplicate message, but a message corresponding to the neighbouring pin. You only explained the behaviour of one pin, so it's not clear whether

Shorting pin5 also triggers pin6, shorting pin6 also triggers pin5

or

Shorting pin5 also triggers pin6, shorting pin6 also triggers pin7

Which one it is, will tell us a fair bit...

Link to comment
Share on other sites

I'd swap the shift register with one connected to a set of non-malfunctioning pins. If the problem persists on the same pins there has to be a short somewhere on the board. If the problem moves to another set of pins you have a faulty shift register.

I swapped the shift register wiith a one connect to a set of non-malfunctioning pins and got the same result. I did this twice and had the same result. Therefore, there must be a short.

jw: by your description it seems that you are not receiving a duplicate message, but a message corresponding to the neighbouring pin. You only explained the behaviour of one pin, so it's not clear whether shorting pin5 also triggers pin6, shorting pin6 also triggers pin5

or shorting pin5 also triggers pin6, shorting pin6 also triggers pin7

When I press the button corresponding to pin 5 I get "94 29 7F 5 F note on" and "94 2A 7F 5 F# note on." Also, when I press the button corresponding to pin6 I get "94 29 7F 5 F note on" and "94 2A 7F 5 F# note on" (i.e., the same message). Both pins are giving me the same message. Pin5 should give me "94 2A 7F 5 F# note on" and pin6 should give me "94 29 7F 5 F note on."

I put another cable on the J5 pins and had the same problem at the same place so it is definately in the board.

How do I track down a short in the board? I have visually checked it with a magnifying glass and have found no shorts. Is there any other way I can track down a short on the board.

Link to comment
Share on other sites

How do I track down a short in the board? I have visually checked it with a magnifying glass and have found no shorts. Is there any other way I can track down a short on the board.

You do know how to use a multimeter to look for shorts? But then again we already know where it is electrically, now you have to find it physically.

Link to comment
Share on other sites

A short is the same as a connection, and connections have little resistance. You set your multimeter to measure resistance, say 1K Ohm, and whenever it says 0 there is a direct connection. What is a short and what isn't you have to deduce for yourself, but I'm guessing the resistance between the two offending pins is 0.

What you want to look for is any place between the pins and the chip header the traces cross. If all else fails desolder the pin header and see if there is still a short.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...