Understanding the pinout of your keyboard's cable is a neccessary step when wiring up a converter. However, randomly attempting to identify pins through trial-and-error poses the risk of potential damage. This concern is especially prevalent when dealing with the VCC (+5V) pin, as inadvertently shorting it to another pin (i.e. GND) can result in permanent damage. Adhering to the following methods below allow for a safe determination of the keyboard's pinout.
Note: A multimeter will be required for the following methods.
This segment will guide you through preparing your multimeter, complete with an illustrative example of its operation.
For all the following methods, the dial on your multimeter must be set to the “Resistance mode”, which typically represented by the Ω symbol.
This mode depicts how easy it is for electricity to travel through a medium, such as a wire.
When in Resistance mode, the multimeter can show you when two ends are connected. The photos below demonstrate the following:
Note: For a healthy connection, the multimeter must read a small and stable number. Larger numbers represent more resistance.
Note: An NTC KB-6153 will be used for demonstration purposes.
Cable connectors follow a standardized pinout in most cases, and are already documented online.
Example: In this demonstration, the NTC KB-6153 uses an XT/AT connector.
Caution: In this demonstration, the diagram had to be flipped horizontally to match the male version.
Connect one probe to a pin on the PCB. Any pin can be chosen here, but for this demonstration, the 4th pin is chosen.
Note: As shown above, a pin can probed from multiple areas.
Using the other probe of your multimeter, find the pin on the connector that's connected to the PCB pin.
Note: Cycle through all the pins until you find a pin where the multimeter reads a small and stable number.
When a stable connection is detected, refer back to connector's diagram to confirm the pin's name.
Example: In this demonstration, the 4th pin is connected to GND on the diagram.
[WIP]