Difference between revisions of "Hacked Optical Mouse"
Line 76: | Line 76: | ||
Check the number of pins and the hole pattern to recognize your chip. | Check the number of pins and the hole pattern to recognize your chip. | ||
+ | Download a collection of dataseets here: | ||
+ | http://hackteria.org/wp-content/uploads/2010/12/MouseChipDatasheets.zip | ||
=== experiments by Gaudi === | === experiments by Gaudi === |
Revision as of 17:02, 6 December 2010
Contents
Optical Mouse Sensor
Can we detect and measure flow in microchannels with that?
Optical Mouse Cam Bidouille.org | Electronics for the people
this post explains how to hack an optical mouse, using an arduino to connect directly to the Avago optical flow sensor, ADNS-2051, File:ADNS2051.pdf. It includes a java program to see the video output of the optical mouse sensor, the program needs a special rxtx library for serial communication: RXTX
Insect-Inspired Optical-Flow Navigation Sensors NASA techbriefs
This NASA paper describes how the optical mouse sensor can be used to measure the optical flow and be used for navigation of flying robots. File:NASA-techbrief optical mouse.pdf
different chips
Verwendet wird eine alte optische Maus USB/PS2 hierbei ist es egal ob sie defekte Schalter oder Scrollräder hat. Wichtig ist nur, dass der optische Chip noch funktionstüchtig ist. Dieser wird als einzigstes Bauteil benötigt. Der optische Chip sollte vom Typ PAN3101, ADNS-2610, ADNS-2083 oder ADNS-2051 sein. Die meisten handelsüblichen optischen Computer Mäuse haben so eine Chip. Dieser Chip hat etwa 18x18 Pixel die wir auslesen wollen und auf dem Display des Computers darstellen. Die Werte delta X und delta Y die für eine Fluss Messung nötig sind werden on-Chip berechnet auch die wollen wir auslesen um die Fluss Geschwindigkeit zu ermitteln.
Um den verwendeten Chip in die gesamte Produktionspallete einzuordnen, vergleicht man die Seriennummer mit denen auf dem Datasheet der Avago Chips
Der Avago Chip muss nun über 4 Leitungen mit der Arduino Plattform verbunden werden.
+5V auf Pin +5V bei Power Pins von Arduino
GND auf Pin GND bei Power Pins von Arduino
SDIO auf Pin 3 von Arduino
SCLK auf Pin 4 von Arduino
Dazu kann mit einfachen kleinen Kabeln und Lötkolben eine Verbindung Gelötet werden. Um Störungen über den Maus eigenen Controller auf dem Optischen Chip zu unterbinden, können die Leitungen auf dem PCB von SCLK und SDIO durch kratzen mit einem Cutter getrennt werden.
Serial comm
PAN-3101
PAN-3102 File:PAN3101.pdf
ADNS-2051 File:ADNS2051.pdf
ADNS-2610 File:ADNS2610.pdf
USB comm
First experiments by dusjagr
Ihr findet einige infos zu meinen kürzlichen experimenten auf meiner website:
http://www.dusseiller.ch/labs/?p=998
http://www.dusseiller.ch/labs/?p=950
http://www.dusseiller.ch/mis_wiki/index.php?title=%CE%9C-wetPONG#Projekt_1_.7C_Mouse_Flowers
http://www.dusseiller.ch/labs/?p=941
Check the number of pins and the hole pattern to recognize your chip.
Download a collection of dataseets here: http://hackteria.org/wp-content/uploads/2010/12/MouseChipDatasheets.zip
experiments by Gaudi
Interface Application for Mac OSX
Cocoa application hack for interfacing a mouse sensor with a Mac. The mouse chip is connected to an arduino board and read out through the serial port.
The compiled application and the c code (to be programmed on the arduino):
http://hackteria.org/wp-content/uploads/2010/12/MouseHackTest.zip
Detection of Microorganisms
i used the hacked optical mouse to detect the motion of nematodes, anguila aceti, and got some really clear results, both in the quality of the image and a substantial change in the SQL value. due to some grabbing issues when recording the screen the values are a bit delayed in the image above.
DIY simple microfluidic device
to make sure that the fluid containing the microorganisms are always in the right focal plane a simple microfluidic device was made by using two pieces of glass coverslip with some double sided adhesive tape in between. the channels can easily be filled by capillary action. they tend to dry out quite quickly though, but by regular refilling the concentration of nematode even increases.
Worm is a VJ
Workshop at H.A.C.K
Tuesday 7.12.2010, H.A.C.K. Budapest
Participants