Pages: [1]   Go Down
Author Topic: Another example of hacking an optical mouse sensor  (Read 777 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 2
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

As the numerous examples are based on older versions of the IDE, I've taken some of those as guidance and blogged my experience here - http://rogerrowland.blogspot.com/2014/06/hacking-optical-mouse.html
- with photos and sketches, so you can see how I managed to get the following image out of an old PS/2 mouse:



Comments, suggestions and questions welcome ...

Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 290
Posts: 25752
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Nice!

Thanks for posting.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Sweden
Offline Offline
Newbie
*
Karma: 1
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just awsome  smiley
Must have been fun exploring the components inside that mouse.
Logged

Serial.println(" Put your response code here, to run once.  ")

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 197
Posts: 12747
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


+ 1
Logged

Offline Offline
Newbie
*
Karma: 2
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks guys, it was certainly more fun and much easier than I expected.

The only issue is that the sensor allows just one pixel to be read from each frame, so I can only get ~4.5 fps, which is not ideal.

I'm currently trying to rig up a small XY stage from some old CD/DVD units and an Adafruit stepper driver, so I can automate image collection over a small area. If I can get a number of overlapping images with sub-pixel shifts, I can use super-resolution reconstruction to see if I can improve the detail (I have an image processing, software engineering background, only a little electronics from the 1970's!) ....

All good fun.
Logged

Pages: [1]   Go Up
Jump to: