Questions tagged [ps2]

PS/2 is the old-style connector and protocol used for connecting a keyboard and mouse to a PC.

PS/2 is the old-style connector and protocol used for connecting a keyboard and mouse to a PC.

Even if the connector and protocol is considered obsolete after the introduction of USB-based keyboards and mouse, it is still popular among hobbyists as it is easy to implement both senders and receivers with small microcontrollers and FPGAs.

See Also

33 questions
6
votes
1 answer

How to make your own ps/2 to usb convertor for old keyboards

I am quite aware you can get ready made off the shelf adaptors to connect old ps/2 keyboards to USB. But I am curious as how would one do it themselves? I have tried just rewiring an old keyboard to a USB cable as they both have 5V and ground and 2…
crowie
  • 522
  • 1
  • 3
  • 10
4
votes
1 answer

Scan codes from PS/2 keyboard misbehaviors

In my quest to build my first CPU, I am trying to hook up a PS/2 keyboard to my FPGA. The keyboard is a Perixx PERIBOARD-409P. After a bit of reading, I hooked up the keyboard to a scope to verify its correct behaviour. Unfortunately, what I get is…
3
votes
1 answer

How to correctly set logical high level on a PS/2 port?

I'm trying to make a keyboard emulator on ATmega16A. I'm currently implementing logical low as output-zero, and, since the host(?) is supposed to pull up the line, I send logical high state as input mode of my pins. This lets me easily check that…
Ruslan
  • 854
  • 7
  • 16
3
votes
1 answer

Repairing a PS/2 mini-DIN connection w/o clock pulses

I have a Fanatec CSR racing wheel with an optional sequential shifter. Since I last used them I lost the stock PS/2 cable and haven't been able to locate it. I bought an off-the-shelf PS/2 cable but found that only the upshifts on the sequential…
3
votes
1 answer

USB mouse with a PS/2 adapter for FPGA PS/2 interface

I'm designing a PS/2 mouse interface for BASYS 2 FPGA board. As you might know to communicate with a PS/2 mouse you need a protocol, so if I write my VHDL program for the PS/2 protocol and then connect a USB mouse with a PS/2 adapter will it work? I…
Ege Korkan
  • 109
  • 1
  • 8
2
votes
2 answers

Using the PS/2 port of the Papilio One FPGA from VHDL

I'm trying to receive data from a keyboard via the PS/2 port on the Papilio One Arcade Megawing. Eventually I'll want to implement this from scratch, but I thought I'd get some public code working first as a form of smoke-test. The three sources I…
Cactus
  • 295
  • 3
  • 9
2
votes
1 answer

Interfacing PS/2 Keyboard to 3.3V inputs

I have had wonderful success with my new Mojo FPGA, so I decided to try something more difficult, interfacing with a PS/2 keyboard, but I cannot get it to work. Of course, I took the proper precautions in going from 5V signals to 3.3V signals (I am…
Void Star
  • 1,461
  • 1
  • 14
  • 26
2
votes
1 answer

Why might you use 2 switch ICs for a 2-in-1-out VGA switch schematic?

For a hobby project, I'm planning to build a 4-in-2-out VGA (yes, VGA) KVM switch/matrix circuit. The top result on Google at the time of researching is 'Building a KVM – Part 1'. I'm trying to figure out why the engineer who wrote the article used…
Nick Bolton
  • 2,043
  • 8
  • 31
2
votes
1 answer

Raspberry Pi minimum sleep time

I managed to connect an old PS/2 keyboard to the GPIO pins of my Raspberry Pi. I do get correct data from the keyboard which means when I press 'A' on the keyboard I get 'A' in my C code. The big issue I've got now is that I can't put a sleep delay…
arminb
  • 1,622
  • 4
  • 21
  • 34
2
votes
0 answers

Schematic for TTGO VGA32 V1.2 by Lilygo

After recieving a couple of these boards to tinker with I have been searching online for some schematic. I have only found the following useful images: Block Diagrams with several pinouts described such as the one that can be found on the github…
Pau Coma Ramirez
  • 800
  • 6
  • 13
2
votes
0 answers

Write received character from PS/2 keyboard to LCD1602

I am trying to read a pressed key from a PS/2 keyboard and display it on a LCD1602 display. I wrote one entity and architecture which detects a pressed key. If it received the 11 bits (1 start bit, 8 data bits, 1 parity bit and 1 stop bit) then I…
Xhendos
  • 21
  • 1
2
votes
2 answers

How to deal with PS/2 keyboard input and CPU interrupts

First of all, I'm not sure if this is the right place to ask this question or not. It was either here or the Computer Science stack exchange site, but I thought perhaps it would be better posted here since it feels like a lower level question more…
2
votes
2 answers

Is the communication between the USB or PS/2 keyboard and the computer simplex, duplex or half-duplex (unidirectional or bidirectional)?

I am curious to know if the communication between the computer and keyboards is unidirectional or bidirectinal. Until a few days ago i thought the communication is unidirectional because only the keyboard sends data to the computer and the computer…
yoyo_fun
  • 793
  • 1
  • 6
  • 17
2
votes
1 answer

How can I convert a VGA signal to work with an old CRT monitor

I'm wondering if it's possible to convert a VGA signal to use as an input to an old CRT monitor (which I believe is monochrome), and if so how I'd go about doing this? The monitor has a 6 pin DIN input (see photos below) and I'm fairly sure I need…
kingraam
  • 131
  • 3
1
vote
1 answer

Use an active PS/2 -> USB adapter as USB-Serial Bridge

I'm working on a small robotics project where I need to enable my old phone (Nokia 5230, shows up as USB Serial port on Windows but USB cable is straight-through) to talk to an Arduino UNO R3 (doesn't support USB Host mode natively). My idea is…
a3f
  • 121
  • 5
1
2 3