I would expect the connection to the PDA to be serial - RS232 or TTL levels. I don't recall many PDAs having USB host capability (even limited to keyboards and mice) or PS/2 connections.
I think all the "hacked" PDA keyboards I've seen have been serial (or wireless).
Pin # Action
1 +5 V USB
2 - Data USB (slave)
3 + Data USB (slave)
4 GND USB
5 +5V (VDD, power out for USB Host) - see notes below
6 - Data USB (Host)
7 USB internal / external power toggle (used with 4.7k ohm resistor & pin 15 below)
- see notes below
8 + Data USB (Host)
9 through 14 ?? Video ?? - Don't know
15 USB internal / external power toggle (used with 4.7k ohm resistor & pin 7 above)
- see notes below
16 & 18 GND USB
17 ?? Don't know
19,20,21,22 +5 V (VCC, system power to e740)
23,24,25,26 GND (system power to the e740)
I got one keyboard today and took it apart.
The good news is that is operates like a standard PC USB keyboard.
The bad news is that it does NOT do PS/2 emulation.
I know there was some USB work done but I think that was to make the propeller a usb device (not talk to a USB device).
Does anyone know if USB communication with a keyboard has been done on the propeller ? It is the slow USB so it should be doable.
Okay I don't think a low-speed HID driver is going to show-up anytime soon.
I have a couple options:
1) Throw these in the trash and cut my loses
2) Make a completely new PCB (maybe with a Propeller on it )
3) Remove the USB controller IC and somehow connect another PCB to the pads ??? Not sure how I would do this.
4) Find someone who could write a low-speed USB driver on the propeller for a fee.
Duane,
Yes it works with a PC. But it is a single chip that reads the matrix and converts it to USB, so no hope to tapping the signal before it is made into USB. So it is the same as option 3.
There is host prop softare done by Micah (scamline) that could be modified to work. Currently she has Bluetooth working, so keyboard should be simpler. Currently requires 96MHz and 3-4 cogs, but once done this can probably be trimmed.
Cluso99,
Yeah, I looked at the but is uses too many resources.
These keyboards will work with slow-speed USB and will use the BOOT protocol (which I assume is much simpler).
If there was a chip to convert USB keyboard to PS/2 keyboard that would be great (as long as it was cheap).
Comments
The PDA slides inside the top.
Jazzed, I'll send you one if you want to have a crack at connecting it. Let me know.
Bean
This is what I found on it: http://www.windowsphonethoughts.com/news/show/37388/targus-noteworthy-click-n-type-keyboard-for-toshiba-e740-and-kin.html
I'd still try it in PS/2 mode; most USB keyboard controllers support the PS/2 protocol as well.
I think all the "hacked" PDA keyboards I've seen have been serial (or wireless).
I won't get them until Monday or Tuesday.
Bean
transfer items using infraRed (does this mean IrdA 2.1??)
and with keywords Toshiba e740 cradle pinout I found this http://pinouts.ru/PDA/toshiba_e330_pinout.shtml
showing it has USB but a lot of pins are not described
here most of the pins are mentioned as +5V or GND
http://www.ppc-welt.info/community/archive/index.php/t-69709.html
Pin # Action
1 +5 V USB
2 - Data USB (slave)
3 + Data USB (slave)
4 GND USB
5 +5V (VDD, power out for USB Host) - see notes below
6 - Data USB (Host)
7 USB internal / external power toggle (used with 4.7k ohm resistor & pin 15 below)
- see notes below
8 + Data USB (Host)
9 through 14 ?? Video ?? - Don't know
15 USB internal / external power toggle (used with 4.7k ohm resistor & pin 7 above)
- see notes below
16 & 18 GND USB
17 ?? Don't know
19,20,21,22 +5 V (VCC, system power to e740)
23,24,25,26 GND (system power to the e740)
Pin 7 & 15 - USB External vs. Internal Power
best regards
Stefan
The good news is that is operates like a standard PC USB keyboard.
The bad news is that it does NOT do PS/2 emulation.
I know there was some USB work done but I think that was to make the propeller a usb device (not talk to a USB device).
Does anyone know if USB communication with a keyboard has been done on the propeller ? It is the slow USB so it should be doable.
Bean
I have a couple options:
1) Throw these in the trash and cut my loses
2) Make a completely new PCB (maybe with a Propeller on it )
3) Remove the USB controller IC and somehow connect another PCB to the pads ??? Not sure how I would do this.
4) Find someone who could write a low-speed USB driver on the propeller for a fee.
What's your opinion ? What should I do ???
Bean
Can you communicate with it via UBS from a computer?
Does the USB communication chip also control the logic of the keyboard?
If the USB chip is separate from the decoder chip, maybe you could tap into the signal "up stream" before it's converted to the USB protocol.
I guessing you've already thought of this. Just making sure there's not an option 5. Is what I'm suggesting the same as option 3?
Those would be handy to use with a Prop when/if you get them working.
Duane
Yes it works with a PC. But it is a single chip that reads the matrix and converts it to USB, so no hope to tapping the signal before it is made into USB. So it is the same as option 3.
Bean
Use an external chip that already has HID libraries...
I think there are a lot of options this route...
I have a MAX3421EEHJ+ that I hope to use one day... Even made a board for it...
There are threads about this
http://forums.parallax.com/showthread.php?121321-Working-full-speed-(12-Mb-s)-bit-banging-USB-Host-controller&highlight=usb+scanlime
http://forums.parallax.com/showthread.php?97328-USB-toys-to-play-with/page3&highlight=USB%2A+toys
Otherwise, a cheap micro maybe the alternative to do the work.
Yeah, I looked at the but is uses too many resources.
These keyboards will work with slow-speed USB and will use the BOOT protocol (which I assume is much simpler).
If there was a chip to convert USB keyboard to PS/2 keyboard that would be great (as long as it was cheap).
Bean
I am sure the viniculum chip could do it, but that is ~$4.