Jump to content

Recommended Posts

Posted

Midio128, ver. 3, LPC17, using three matrices for keyboard encoding.

In connecting the DOUT through the keyboard contact and diode to the DIN, the series 220ohm resistor usually on the DOUT has been eliminated. with this arrangement, I seem to be losing DIN 74HC165 chips. Pressing a key brings the correct note, plus others. Changing the DIN chips corrects the problem. Am I just paranoid, or is there an inherent problem with the circuit arrangement?

Johnc

Posted

Midio128, ver. 3, LPC17, using three matrices for keyboard encoding.

In connecting the DOUT through the keyboard contact and diode to the DIN, the series 220ohm resistor usually on the DOUT has been eliminated. with this arrangement, I seem to be losing DIN 74HC165 chips. Pressing a key brings the correct note, plus others. Changing the DIN chips corrects the problem. Am I just paranoid, or is there an inherent problem with the circuit arrangement?

Johnc

Hi Johnc, There's nothing inherently wrong, in fact it's better to not have the 220 ohm resistor in the circuit. If you've lost more than one IC then something is going wrong for sure. I'd first check that the 10k pullups are correctly installed on the DINs and are working, that is the 74HC165 inputs are staying at about 5v when no keys are pressed. If that checks out I'd be thinking of watching the signals on an o-scope to be sure there are clean "square" transitions and that inputs aren't spending too much time at intemediate values between 0 and +5v. Long cables with high capacitance might be an issue. Certainly you want to be sure the +5v is hooked up on the DIN and DOUT and that each chip has the little rf bypass cap installed {the .01 or .001 capacitor).

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...