Ok , the usb pinout is
one pin 5volts , 2 data pins , 1 ground pin
here
http://pinouts.ru/Slots/USB_pinout.shtml
For the PS2 DIN connectors for old mouses/keyboards
they are
http://www.burtonsys.com/PS2_keyboard_and_mouse_mini-DIN-6_connector_pinouts.html
I have an old usb to ps2 adapter connector that I am mucking around with and I am curious about a few things
OK , forget for the moment the adapter connector and just focusing on the ps2 pins of an old keyboard.
First how is the ps2 keyboard sending data is it the same voltage as usb?
If I wanted to read the keyboard bits from a ps2 keyboard connector into a microcontroller how will I know the difference between a one and a zero? Is this data pin on the ps2 connector having a 5volts for a 1 and a 0volts for a zero...
What do I do with this clock pin....
Do I compare the clock pin the the data pin , I just don't know how to read it directly from the pin to my MCU.
Basically what modulation scheme and voltage are the using to delimit a one from a zero. I know they use 11 bits send out to give the actual one byte key pressed....
Also when sending usb data what delimits a 1 from a zero on the data line
And why are their 2 data lines for usb?
Thanks for any help with this
one pin 5volts , 2 data pins , 1 ground pin
here
http://pinouts.ru/Slots/USB_pinout.shtml
For the PS2 DIN connectors for old mouses/keyboards
they are
http://www.burtonsys.com/PS2_keyboard_and_mouse_mini-DIN-6_connector_pinouts.html
I have an old usb to ps2 adapter connector that I am mucking around with and I am curious about a few things
OK , forget for the moment the adapter connector and just focusing on the ps2 pins of an old keyboard.
First how is the ps2 keyboard sending data is it the same voltage as usb?
If I wanted to read the keyboard bits from a ps2 keyboard connector into a microcontroller how will I know the difference between a one and a zero? Is this data pin on the ps2 connector having a 5volts for a 1 and a 0volts for a zero...
What do I do with this clock pin....
Do I compare the clock pin the the data pin , I just don't know how to read it directly from the pin to my MCU.
Basically what modulation scheme and voltage are the using to delimit a one from a zero. I know they use 11 bits send out to give the actual one byte key pressed....
Also when sending usb data what delimits a 1 from a zero on the data line
And why are their 2 data lines for usb?
Thanks for any help with this