Arduino Optical Mouse Camera

Hi!

i'm using a2051 optical sensor with arduino and i'm looking for get 16x16 pixel array at 1500 frame per second. is it possibile?

tnx

Pole

i've read about prevoius post about arduino and optical mouse:

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1154816099/0
http://www.bidouille.org/hack/mousecam/

I'm using a2051 optical sensor. the datasheet is here: http://www.bidouille.org/hack/mousecam/ADNS2051.pdf

TNX

Pole

You can definitely retrieve the 16x16 pixel data, but I'm not sure about the 1500 frames per second.
You'd better try it yourself.

The sensor you're using is the same as Benoit Rousseau. You shouldn't have any difficulties wiring it to the Arduino.

Also you should remember that Arduino has only 1KB RAM to store all data and variables your program uses. So if you need to buffer your 1500 frames you are probably in trouble.

Hi,

I've played a bit with these sensors, and unfortunately the high frame rate is only available for the internal DSP. The external interface is too slow, you can reach maybe around 10 FPS, not much more.

I recently hacked a mouse to get a position sensor for my robot, it turned out to be an older ADNS-2051. I got it working to report the position with my own code and the code from Martijn.

http://www.martijnthe.nl/optimouse/arduino-optical-mouse.html

Then I did try:

http://www.bidouille.org/hack/mousecam/

To get the images made by the chip, however it seems only to be noise?! To bad there is no contact information on .bidouille.org.

Any ideas why its not working?

Carsten

Seems I smoked the chip. There are many errors in the bytes of the image, so I did hack another mouse and there it works well!

Carsten

Hi guys,

I've got a logitech wireless optical mouse that is using the ADNS-2051 optical sensor. I've tried following the tutorial from Martijn but all I get is constantly decreasing x / y values? I tried cutting the controller wires on the actual mouse board and now just get a constantly decreasing x val.

Any ideas? I'm new to this hacking / arduino stuff so any help would be much appreciated.

Thanks,

Steve.

Hi Steve,

the chip I tried first was also a ADNS2051. It reported the position/delta correctly even the camera image was not ok.

So maybe there was/is a problem with the data flow. Check for wacky connections. Also the chips needs (or the data-sheet recoments) some capacitors etc. Maybe you did cut something not meant to be cutted.

Carsten

Thanks Carston I'll have another go when I get back from work this evening. From what i can remember there are 2 gnd pins on the ADNS2051 - i take it there is no difference to which one I use.

Also its a wireless mouse, but that shouldn't make any difference should it?

Thanks again, much appreciated,

Steve.

for the two grounds: No, I even checked whith a multimeter :wink:

Wireless or not should be no difference. The first chip i hacked was from a wired mouse, the second from a wireless mouse.

I still have the wireless parts here, I wonder if one can use them for a communication from the arduino to the PC :wink:

Carsten

I am interested in the same thing

By using info from here:
http://www.bidouille.org/hack/mousecam/index.en.php

I have got some data but not sure about the content. If you are interested in exchanging info. send me and e-mail
zonkyu (at) gmail.com

cheers
fabrizio

can i use over mouse chips? :-/