Arduino UNO PS/2 mouse adapter help

Hello, I'm working on a school project which needs to connect a wireless USB mouse to my Arduino UNO.

I'm using this: [u]https://github.com/rucek/arduino-ps2-mouse[/u] library (the library available on the playground doesn't work for me). I've bought a USB female to PS/2 male adapter and connected it to the board according to the instruction, but there's not data received from the mouse (I'd tried plugging in a PS/2 mouse to the board and it worked, so I'm sure it's not a connection problem).

Any expert out there who reads this, please help me, the project is very urgent. Thanks a million for those who spend some time to help.

Most USB to PS/2 adapters are "passive": the mouse has to support both USB and PS/2 for it to work. The adapter just tells the mouse to use the PS/2 protocol instead of USB.

Pieter

Greetings Pieter,

Do wireless mice have PS/2 protocol? If not, is there any other way for me to connect it? Thanks.

Heng

tohliheng:
Greetings Pieter,

Do wireless mice has a PS/2 protocol? If not, is there anyway else for me to connect it? Thanks.

Heng

Probably not.
The only way to get it working is by using a mouse that supports the PS/2 protocol.
You could use a USB host shield, but I've never tried it myself.

Pieter

PieterP:
Probably not.
The only way to get it working is by using a mouse that supports the PS/2 protocol.
You could use a USB host shield, but I've never tried it myself.

Pieter

That's very disappointing to know. Btw, may I know why can't USB interact with Arduino? And is it possible to connect the USB mice with no PS/2 protocol to the board? Thanks.

Heng

You're not likely to find a USB wireless mouse that supports PS/2 where the USB end is just a small, compact, USB receiver such as the current Logitech "Unified" USB receivers that work with both keyboards and mice.

Some of the much older Microsoft or Logitech wireless mice that had the PS/2 connector on the end of the receiver connecting wire should work. Or, the older, wired mice with the PS/2 connector already on the end of the wire should work with the library.

Finding an older mouse is probably far easier than directly supporting USB input.

You could try wiring an old ps2 mouse to a bare minimun arduino uno, or nano. Cut off the wire and fit all connections, battery and the arduino inside. For comunication you could try any cheap rf pair, like 433 Mhz or a couple nRF24L01.

This way you will have a mouse that you can read with arduino that is also wireless. If you get an Arduino leonardo on the other side you could reuse the project as a universal DIY HID receiver that you could conect other modified devices to.

This is still as complex if not worse than the usb host shield, but i see no other way around it.