Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The limited schematics for the Pi Zero do not depict decoupling capacitor on any of the voltage source pins, leaving those sources unregulated for our use.
I found I needed to add a .1uf capacitor on to the power and ground pins of the PS/2 interface at the Pi GPIO side, and to the 5v and ground pins going to the host computer. The IBM Model 30-286 uses this method to managing the high current draw the PS/2 keyboard places on the keyboard controller (on the original model 30, it was a different controller and they used chokes, to accomplish this). the schematics for review can be found at : http://www.walshcomptech.com/ps2schematics/. IBM also uses a current limiting resistor of 240 ohms, with a modern PS/2 keyboard this might not be necessary my tests without an oscilloscope seam to show it doesn't matter as much as smoothing the current draw. you would need an oscilloscope to be certain. Furthermore it may be a good idea to install a fuse on the 3.3v line to prevent a current spike in the event the keyboard is dislodged while the computer is running, though its unlikely it is depicted on IBM's schematics.