Sign in

username:

password:



Not a member?

Search Comp.Arch.Embedded



Search tips

embedded by Keywords

68HC11 | 68HC12 | 8051 | 8052 | ARM | ARM7 | Asic | AT91 | AT91RM9200 | Atmel | AVR | AVRStudio | Bootloader | CFP | CompactFlash | Cygnal | Cypress | Dataflash | DSP | eCos | EEPROM | Embedded Linux | Emulator | Endian | Ethernet | Firewire | FPGA | Freescale | GCC | GNUARM | GSM | H8 | HDLC | I2C | Infineon | Interrupts | Java | JTAG | LCD | LED | LPC2000 | MCU | Microchip | MMC | MPLAB | MSP430 | PC104 | PCB | PCI | PCMCIA | PowerPC | Rabbit | RS232 | RS485 | RTOS | SBC | SDRAM | Sensor | SPI | STK500 | UART | UML | USART | USB | Verilog | VHDL | VxWorks | Xilinx

Ads

Discussion Groups

Discussion Groups | Comp.Arch.Embedded | How to connect USB keyboard to embedded device?

There are 43 messages in this thread.

You are currently looking at messages 0 to 10.

How to connect USB keyboard to embedded device? - Mike Silva - 12:57 15-07-05

We have a need in a new product design to be able to connect a standard
USB keyboard.  That's the only USB device we will ever want to plug in
(no, really!).  I know next to nothing about USB, having just
downloaded the spec yesterday.  I gather we want a USB Host, and that
most "USB micros" cannot function as hosts.  I also gather that Hosts
are much more difficult than hubs and functions.  What I'd like is a
chip that can take keyboard USB in one end and spit out serial or
parallel characters on the other end, taking as many shortcuts from a
universal USB design as possible given the keyboard-only requirement.
What would be the easiest approach to doing this?

Oh yeah, while I'm not completely opposed to an existing stand-alone
brick, what I'm really asking about is a chip that can be designed into
a medium-volume product.  Many thanks!




Re: How to connect USB keyboard to embedded device? - Vadim Borshchev - 13:09 15-07-05

On 15 Jul 2005 09:57:48 -0700, Mike Silva <s...@yahoo.com> wrote:

> We have a need in a new product design to be able to connect a standard
> USB keyboard.
   [...]
> What I'd like is a
> chip that can take keyboard USB in one end and spit out serial or
> parallel characters on the other end, [...]

Why USB and not PS/2 keyboard ?  They are already serial.

   Vadim

Re: How to connect USB keyboard to embedded device? - linnix - 13:18 15-07-05


Mike Silva wrote:
> We have a need in a new product design to be able to connect a standard
> USB keyboard.  That's the only USB device we will ever want to plug in
> (no, really!).  I know next to nothing about USB, having just
> downloaded the spec yesterday.  I gather we want a USB Host, and that
> most "USB micros" cannot function as hosts.  I also gather that Hosts
> are much more difficult than hubs and functions.  What I'd like is a
> chip that can take keyboard USB in one end and spit out serial or
> parallel characters on the other end, taking as many shortcuts from a
> universal USB design as possible given the keyboard-only requirement.
> What would be the easiest approach to doing this?
>

The xscale ARM pxa270 (not pxa255) can act as USB client and host, but
it would not be cheap for this only.  If you also need other functions,
it might be considered.

> Oh yeah, while I'm not completely opposed to an existing stand-alone
> brick, what I'm really asking about is a chip that can be designed into
> a medium-volume product.  Many thanks!

You can always do an FPGA for it.


Re: How to connect USB keyboard to embedded device? - Vadim Borshchev - 13:19 15-07-05

On Fri, 15 Jul 2005 18:09:06 +0100, Vadim Borshchev 
<vadim.borshchev@127.0.0.1> wrote:

> On 15 Jul 2005 09:57:48 -0700, Mike Silva <s...@yahoo.com> wrote:
>
>> We have a need in a new product design to be able to connect a standard
>> USB keyboard.
>    [...]
>> What I'd like is a
>> chip that can take keyboard USB in one end and spit out serial or
>> parallel characters on the other end, [...]
>
> Why USB and not PS/2 keyboard ?  They are already serial.

On the other hand USB to PS/2 adaptor might siffice , 
<http://www.google.co.uk/search?q=keyboard+%22ps%2F2+male%22+usb>;

Re: How to connect USB keyboard to embedded device? - Hans-Bernhard Broeker - 13:22 15-07-05

Mike Silva <s...@yahoo.com> wrote:

> Oh yeah, while I'm not completely opposed to an existing stand-alone
> brick, what I'm really asking about is a chip that can be designed into
> a medium-volume product.  

That begs the question: how would producing such a brick in medium
volumes be conceptually different from getting yourself a medium
volume of keyboards with a proper, non-USB interface produced?

You're taking a huge detour via USB, which will cost an enormous
amount of money, development time, space and power, for *no* useful
gain other than the mass-production advantage of standard keyboards.
Odds are high you'll overcompensate that gain in costs for the
interface brick.

-- 
Hans-Bernhard Broeker (b...@physik.rwth-aachen.de)
Even if all the snow were burnt, ashes would remain.

Re: How to connect USB keyboard to embedded device? - linnix - 13:26 15-07-05


Vadim Borshchev wrote:
> On 15 Jul 2005 09:57:48 -0700, Mike Silva <s...@yahoo.com> wrote:
>
> > We have a need in a new product design to be able to connect a standard
> > USB keyboard.
>    [...]
> > What I'd like is a
> > chip that can take keyboard USB in one end and spit out serial or
> > parallel characters on the other end, [...]
>
> Why USB and not PS/2 keyboard ?  They are already serial.

I never question customer's request, perhaps they are doing a USB to
PS/2 converter.  Anyway, high end ARM such as PXA270 and AT91RM9200 and
others can do USB host and client.

> 
>    Vadim


Re: How to connect USB keyboard to embedded device? - Paul Marciano - 13:27 15-07-05

Cypress sell embedded host controllers.

www.cypress.com and follow the USB links.  Around $5.


Re: How to connect USB keyboard to embedded device? - Mike Silva - 13:41 15-07-05


Hans-Bernhard Broeker wrote:
> Mike Silva <s...@yahoo.com> wrote:
>
> > Oh yeah, while I'm not completely opposed to an existing stand-alone
> > brick, what I'm really asking about is a chip that can be designed into
> > a medium-volume product.
>
> That begs the question: how would producing such a brick in medium
> volumes be conceptually different from getting yourself a medium
> volume of keyboards with a proper, non-USB interface produced?

That's a valid question.  I am sure they will not want to deal with
custom keyboards.  My reference to a brick was to an already-available
one, not to us designing our own.  If we design our own it would be
built in to our product, not an external brick.

> You're taking a huge detour via USB, which will cost an enormous
> amount of money, development time, space and power,

If that's the case, that making a keyboard-only USB host is so
demanding (in all the categories you state), then we will of course
rethink our ideas.  But is that the consensus?  Is a simple USB host
really so difficult?  Another poster mentioned a $5 USB host device.
Is that $5 plus a years development time, or $5 plus a weeks
development time?  Of course, I'll need to research that myself, but
I'm hoping for some guidance from this group as well.

I would think that using USB keyboards in custom devices is not an
unheard-of desire.  Is bare-bones USB hosting really such a monster?


Re: How to connect USB keyboard to embedded device? - Vadim Borshchev - 13:44 15-07-05

On 15 Jul 2005 10:26:00 -0700, linnix <m...@linnix.info-for.us> wrote:

> Vadim Borshchev wrote:
>>
>> Why USB and not PS/2 keyboard ?  They are already serial.
>
> I never question customer's request, perhaps they are doing a USB to
> PS/2 converter.

Nothing in OP's post stated it was customer's request.  If it was a USB to 
PS/2 converter, bying one for less than UKP5 (USD10) would be more 
sensible economically.

   Vadim

Re: How to connect USB keyboard to embedded device? - Mike Silva - 13:46 15-07-05

> > Why USB and not PS/2 keyboard ?  They are already serial.

That's a possibility.  What are the chances that such keyboards will be
around for the next 5 years?

I did search for PS/2 keyboards but only found USB keyboards for
PlayStation 2s.

> On the other hand USB to PS/2 adaptor might siffice ,
> <http://www.google.co.uk/search?q=keyboard+%22ps%2F2+male%22+usb>;

Now that _is_ interesting.  And only $5-$10.  That also makes me wonder
even more about how difficult it is to host USB keyboards.  Thanks for
expanding my horizons!


| 1 | 2 | 3 | 4 | 5 | next