Do you like my hacking? If so, please consider leaving something in the
Current contents:
EUR0 (about $0), some lint and a button.
Joshua Wise (joshua@joshuawise.com) mailed me about an optical sensor chip with 'A2050' on it. Seems the chip is compatible with the A2051, which in itself isn't directly compatible with the ADNS2610, but the basic idea of reading the pixels of the CCD is the same. Joshua created a program for Linux to read out the sensor; it's here. Another note: Some mice have the Vcc of the sensor switched by the microcontroller; if you try this hack with such a mouse you'll need to connect the Vcc directly to the sensor chip.
Carsten Gross mailed me:
Hi,
I'm working on an university project
(http://www.siski.de/~carsten/diplomarbeit.html) and I'm using
your webpage as base for my idea to use an optical mouse as
motion sensor for a model car.
I removed the original optics of the mouse and replaced it with a
lens with f=4,6 mm. To check wether the image of the world (as
seen by the mouse sensor) is focussed I'm using a modified Linux
version of the software downloadable on your page:
as my mouse has a ADNS-2610 (and not one of the older chips).
Please see the attachment for a modified version of the software
by Joshua Wise now running with the ADNS-2610 and Linux.
Using the different optics the focus is now near infinity. This way
the sensor can be mounted at a safe place in the model car.
Perhaps it is necessary to add specles on the floor ;-)
The source of the software is downloadable here.
He mailed me a second time:
Im the meantime we built our own board with the sensor chip here
and use it as movement and direction detector.
Please see this for the
images of the sensor board and the lens. I connect the
synchronous serial port of the ADNS-2610 with some simple "glue"
logic to the SPI interface of the Atmel AT91RM9200. This way I
can use the Linux-kernels and microcontrollers hardware support
for reading the data from the motion sensor.
The lens is adjustable and the focus can be adjusted to generate
a sharp image and the maximum "quality" value in register 4.
EaterOfPies mailed me: "This also works with A1610 / ADNS-1610 sensor IC. It appears to be pin compatible but i couldn't find any documentation on it."
I have received several questions about using this device as a barcode-scanner. Yes, that would probably be possible, but one would need the right software for that, and I'm not interested in writing it. If you think it's a good idea; knock yourself out; the sourcecode of my program is provided in the zip-file :)
If you used this information or software in any useful project, I wouldn't mind being mailed about it. One thing: mails containing not much more than 'It doesn't work here, help!' will be deleted.
Last 10 comments Show allHi, its working.. i have used LOGITECH: M-BT96a and its running well.. thanks to mark_mmjq.. i really respect you sir.
I've tried this. I'm using a USB optical mouse (microsoft intelimouse), on a laptop running windows. I'm not sure where one of the files should be.
hi need some help on spi interface of adns2610 with microcontroller how did u achieve 250ns of hold of LSB address in read cycle plz help my mail address is gauravy06@gmail.com
If anyone has a question about the frame rate of that method it is because although the internal image processor has access to the image at 1500 fps the chip was never intended to send that image across the serial line in real operation, that is more or less a debug feature and when you request the raw image it doesn\'t just store the current image and send it to you, it actually sends you the first pixel of the first image then the second pixel of the next image and so on and so forth. what this means is that its 18^2 times slower than the actual frame rate which is seen by 1500/18^2 = 4.629 repeating which is pretty close to the frame rate you observed. And now that I\'ve typed all of that I finally looked up at the post date, oh well maybe someone will find my rantings useful. I\'m actually thinking about modifying one of these things to mount to the underside of a robot that\'ll travel at around 10 fps so I figure if I raise it 12x its designed height and focus it then it\'ll work in counts per foot instead of counts per inch and handle the higher speed.
Alarming information you have heere. Acknowledgment for sharing.
Great post! Just wanted to let you apperecive you accept a newsubscriberr- me!
good issue thanks
hi,I wonder if we use the usb cable,how can we do it,thank you. my email: notbaidu@gmail.com
I've got a Razer Copperhead ( http://www.razerzone.com/gaming-mice/razer-copperhead/ ) and it's got a 2000 dpi laser sensor, I'd love to see what it can see, it has upgradeable firmware too so it might be possible to hack its software. I'll have to crack mine open when I get back from my travels and see what kind of guts it has...
Hi, I would like to know how get captured the scanned images from optical mouse in to VB.. Plz let me know plz send me mail: gnyanu@in.com