Skip to main content

Questions tagged [ps2]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
65 views

PS/2 interface with a mouse

I am trying to interface an old PS/2 mouse with a PIC microcontroller but I don't know how exactly the protocol works. Does it work exactly like the keyboard protocol, thus sending to the host 11 bit ...
Andrea Bianchi's user avatar
0 votes
0 answers
96 views

How to make a recent laptop touchpad work on PC with an external PS/2 USB adapter

I want to make a laptop touchpad work individually with a USB adapter, but failed, on a recent Thinkpad E14 touchpad part. Some articles on the internet said they succeeded connecting the touchpad ...
sdrkyj's user avatar
  • 1
1 vote
1 answer
167 views

PS/2 Mouse Movement Frame - How do I detect, or correct errors on reception from device?

This question is from a project of mine I have been working on for about 3 months now, and I reached a point where I was going to go the route of using an interrupt based handler for my packet ...
Vahe's user avatar
  • 171
4 votes
1 answer
419 views

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 ...
Giuseppe Rossini's user avatar
0 votes
0 answers
46 views

Creating a 32x8 mux on a PCB for a custom PS/2 device

I’m designing a PS/2 device that takes 32 switch inputs and send them via a parallel in/serial out IC (SN74HC165) which sends the data signal and the parity bits etc. Putting this onto a PCB seems ...
Geet Janawalkar's user avatar
2 votes
1 answer
383 views

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 ...
Nick Bolton's user avatar
  • 2,103
1 vote
3 answers
1k views

PS/2 keyboard with RS232 (DB9) workstation port

I'm currently awaiting for dispatch/delivery of a 1995 PS/2 Model M keyboard w/attached flat cable but a missing PS/2 plug It seems those flat cables were not very sturdy. (Yes, I checked the model ...
Groucho's user avatar
  • 53
2 votes
1 answer
323 views

How to detect pinout of trackpoint (probably ps/2) module?

I have following trackpoint module of recent thinkpad x390. There are some info about older modules, most useful(combined) one is: https://deskthority.net/wiki/TrackPoint_Hardware However, i found no ...
Garid's user avatar
  • 151
2 votes
0 answers
4k views

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 ...
Pau Coma Ramirez's user avatar
0 votes
2 answers
183 views

USB to PS2 Convertor [closed]

We are using USB keyboard it is working with PC. We are using Same keyboard with our microcontroller kit with USB to PS2 convertor also it is working. I wanted to know that, whether USB signals D+ and ...
Anshumantech's user avatar
2 votes
0 answers
234 views

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 ...
Xhendos's user avatar
  • 21
3 votes
1 answer
720 views

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 ...
Ruslan's user avatar
  • 864
2 votes
1 answer
1k views

VHDL: Detecting key pressed on PS/2 keyboard in FPGA

Is it possible to detect a keypress on a PS/2 keyboard connected to an FPGA, using VHDL, with only PS/2 clock signal? ...
morethan9000Electrons's user avatar
1 vote
2 answers
439 views

How to connect a microcontroller to PS/2 port as the PS/2-keyboard?

The voltage of output signals of my CPLD MAX II board is 3 volts. Can I connect this board to open collector of PS/2 motherboard-MCU? So, if I want to send a "zero" signal, I'm sending "one" to the ...
demsee's user avatar
  • 11
1 vote
1 answer
595 views

VC707 Eval Board - Synthesis/DRC issues during implementaion of a Microblaze Based PS2 Controller

The following is the top level module of a VC707 based Microblaze/PS2 controller. I have connected a FMC-CE GPIO Daughter Card to the FMC1 Connector on the FPGA and a PMOD-PS2 on the 6 pin GPIO ...
Vahe's user avatar
  • 171
-1 votes
2 answers
160 views

PS/2 mouse / keyboard interface info and classification

My hardware interfaces teacher in the university gave a task to find info about PS/2 interface and fit it into a classification by answering a list of questions. Here's what I've found: Which type ...
tsilvs's user avatar
  • 113
3 votes
1 answer
264 views

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 ...
Scott Anderson's user avatar
2 votes
2 answers
938 views

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 ...
Lucas's user avatar
  • 123
2 votes
2 answers
2k views

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 ...
yoyo_fun's user avatar
  • 803
0 votes
1 answer
306 views

Should the clock from a PS/2 keyboard be used in a Verilog always block?

I'm trying to get a Verilog design for interfacing with a PS/2 keyboard to work but I'm having very strange issues. I have a fairly simple always block which controls everything: ...
firephyz96's user avatar
0 votes
2 answers
390 views

in host to device communication protocol, what does high and low mean?

I'm trying to learn about the PS/2 protocol from here. At about 4:00 he talks about low and high values. This part is to let the host send data to the device but the clock should come from the device....
842Mono's user avatar
  • 145
-2 votes
1 answer
509 views

Convert ps/2 to usb using ttl to usb converter [closed]

I have an old keyboard that has ps/2 interface. I have a ttl(V G tx rx) to usb converter too. Can i use this converter to connecting my keyboard to USB port? What about RS232/RS485 to USB converter? ...
user3486308's user avatar
6 votes
1 answer
29k views

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 ...
crowie's user avatar
  • 532
2 votes
1 answer
725 views

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 ...
kingraam's user avatar
  • 131
-1 votes
1 answer
68 views

Cpu and ps2 keyboard communication

Ok, lets's try again, it's surprising that it is hard to find a clear and sharp enough way to ask such a question. How is PS2 keyboard data usually decoded to ASCII in hardware level, and then how is ...
cpumadness's user avatar
0 votes
1 answer
532 views

PS2 or USB keyboard for custom CPU

I have made a CPU on an FPGA board. It works great but I cannot proceed to make a computer with it until I have an input. What use is a computer if it can talk to you, but you cannot talk to it? It ...
Nuclear_Man_D's user avatar
1 vote
2 answers
2k views

PS2 / SMBus communication

I have an OEM touchpad I want to connect to a PC. The drivers for this touchpad are widely available. I asked the manufacturer for the original datasheet, and it says there, that the touchpad ...
pilau's user avatar
  • 113
3 votes
1 answer
2k views

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 ...
Ege Korkan's user avatar
-2 votes
2 answers
106 views

How do I read the Wires from a 180 DIN with an Arduino's analog ports to read Nintendo Controller?

I have a USB Super Nintendo controller. I'm attempting to read the buttons with an Arduino Uno. I found a suggestion to utilize a USB too Ps/2 adapter. I've done that then I found a Serial ps/2 to 180 ...
stormist's user avatar
  • 654
2 votes
2 answers
943 views

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 ...
Cactus's user avatar
  • 295
0 votes
1 answer
1k views

How to write VHDL program to send command to PS2 device [closed]

I'm using Quartus II 13.0sp1, DE1 Board for testing, and Cyclone II FPGA EP2C20F484C7N. I need to write program in VHDL that sends command to device. I have already created entity and architecture ...
user36382's user avatar
2 votes
1 answer
4k views

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 ...
Void Star's user avatar
  • 1,471
1 vote
1 answer
1k views

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 ...
a3f's user avatar
  • 121
2 votes
1 answer
2k views

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 ...
arminb's user avatar
  • 1,632
1 vote
1 answer
113 views

PS/2 info search

Could you please help me find information about PS/2 protocol? I am currently writing a topic for an exam, it is about serial buses. What I need is to be able to create a suitable circuit to connect ...
petajamaja's user avatar