PDA

View Full Version : USB Keyboard/Mouse?



Vaati
07-08-2009, 02:23 AM
Is it possible to interface a usb keyboard or mouse to the prop as if it were ps/2?· I have a diagram of the internal connections of one of those USB to PS/2 converters, and using usb keyboard/mouse would be a LOT cheaper and easier for one of my projects...


Thanks.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply (http://www.gadgetgangster.com/130)·for your projects!· Includes an LED testing terminal!

Kye
07-08-2009, 03:11 AM
The mouse or keyboard must be capable of switching to ps2 mode.

That connector is simple an eletrical interface.

You can I believe find cheap converters from ps2 to usb... ans I believe there may be somthing that converters usb to ps2. Search newegg.com for some.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,

Vaati
07-08-2009, 03:17 AM
Well, I was wondering if I could build my own without using a ps/2 to usb and having the usb port on the pcb...

I have attached a hard earned schematic found on the last few pages of a google image search.· http://forums.parallax.com/images/smilies/lol.gif


Thanks.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply (http://www.gadgetgangster.com/130)·for your projects!· Includes an LED testing terminal!

StefanL38
07-08-2009, 03:44 AM
If the device is not able to switch to the PS/2-protocol it will not work.
As far as I remember there were some trys to get a usb-device working but the specs of usb have a very high level about timing

see this thread http://forums.parallax.com/showthread.php?p=764744

best regards

Stefan

Vaati
07-08-2009, 03:46 AM
Okay, well I will need to rip apart a usb extender cable or get some female ports...

It would be excellent to use usb instead of my ps/2 keyboard with a bunch of bent pins...



Thanks.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply (http://www.gadgetgangster.com/130)·for your projects!· Includes an LED testing terminal!

StefanL38
07-08-2009, 04:15 AM
Hello Vaati,

from your last post I'm not sure if you understood what I meant.

EVERY PURE USB-device will NOT WORK with the propeller DIRECTLY.

ONLY devices that can CHANGE their bitbanging on the wires to the OLD PS/2-protocol will work with the propeller.

For brandnew PURE USB-devices you have to use the FTDI-vinculum-chip as an interface that translates from USB-protocol
to RS232-serial or SPI

best regards

Stefan

Vaati
07-08-2009, 04:44 AM
Yes, I did indeed understand what you were trying to convey. http://forums.parallax.com/images/smilies/smile.gif I will just have to do a sort of perverted form of "guess-and-check" except with mice/keyboards...

I know that it would be stupid to try to interface a device such as a usb flash drive using the same connection, as the Vinculum thingy does that, and it isn't *too* expensive....


Thanks for your help and advice.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply (http://www.gadgetgangster.com/130)·for your projects!· Includes an LED testing terminal!

Peter Jakacki
07-08-2009, 12:23 PM
I have been thinking about fitting my boards with a USB A connector simply for those hybrid keyboard and mice so that they can plug in directly without an adaptor. This has a few advantages plus I can press some of the USB code that's available into service for those pure USB devices if really needed using the same connector. Has anybody tried out the USB code that's been posted previously?

*Peter*

BradC
07-08-2009, 01:21 PM
Peter Jakacki said...
Has anybody tried out the USB code that's been posted previously?



It's been in daily use 24/7 for me for over a year now :)
Serial-ACM USB-serial emulator to a linux host (with UHCI patches to allow it to work low-speed).

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Missed it by ->" "<- that much!