You are mixing up two things (or rather several things).
The original keyboard i/f was a simple 2 wire i2c like interface. It later aquired bidirectional capabilities.
The usb device is a phy layer with a software stack (USB HID, storage, bulk etc). Keboard scan codes have to be picked up by he software stack (USB HID) and sent over the phy layer. D+ and D- act as balanced differential lines and carry data.
On Wed, Apr 4, 2012 at 1:24 PM, Surendra Kumar <p.suren...@gmail.com> wrote:
Best Gude : http://retired.beyondlogic.org/keyboard/keybrd.htm
helped me in interfacing a At Keyboard to the 8051 a decade ago
Hi,On Wed, Apr 4, 2012 at 3:06 PM, J T Dsouza <jtd...@gmail.com> wrote:You are mixing up two things (or rather several things).
The original keyboard i/f was a simple 2 wire i2c like interface. It later aquired bidirectional capabilities.
The usb device is a phy layer with a software stack (USB HID, storage, bulk etc). Keboard scan codes have to be picked up by he software stack (USB HID) and sent over the phy layer. D+ and D- act as balanced differential lines and carry data.So you mean to say standalone MCU can't capture USB Keyboard scan codes and store or display it ?
On Wed, Apr 4, 2012 at 1:24 PM, Surendra Kumar <p.suren...@gmail.com> wrote:
Best Gude : http://retired.beyondlogic.org/keyboard/keybrd.htm
helped me in interfacing a At Keyboard to the 8051 a decade agoMy query is for USB type Keyboards. Not AT Keyboard.
Hi,
Considering the scenario :1) USB female port is connected to MCU via Rx & Tx at D+ & D-2) Keyboards USB Male port gets attached to above USB Female connector.
Now if I press a key on Keyboard then a make and brake code will be formed and can't theMCU just use a loop to scan the code and gather the make brake code and with a look up tablesend that to lets say a LCD display ?After all its a serial communication.