2009:Mouse details: Difference between revisions

From 1511Wookiee
Jump to navigationJump to search
No edit summary
(Updated mouse calculations to reflect the current ball mouse)
Line 21: Line 21:
     5000cps/60CPR = 83.3 max revolutions per second (rps)  
     5000cps/60CPR = 83.3 max revolutions per second (rps)  


     circumference of mouse ball = 0.875"  
&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: rgb(255, 0, 0);">diameter</span> of mouse ball = 0.875"  
 
&nbsp;&nbsp;&nbsp;&nbsp; circumference of mouse ball&nbsp; = Pi *&nbsp;d = 2.7489" circumference
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: rgb(255, 0, 0);">measured counts per foot on current mouse on robot - 1210, or ~100 counts per inch</span>


&nbsp;&nbsp;&nbsp;&nbsp; 83.3rps X 0.875" = 72.9 inches per second (ips)  
&nbsp;&nbsp;&nbsp;&nbsp; 83.3rps X 0.875" = 72.9 inches per second (ips)  
Line 29: Line 33:
&nbsp;&nbsp;&nbsp;&nbsp; 6.07fps = 4.1 miles per hour (just in case you were curious)  
&nbsp;&nbsp;&nbsp;&nbsp; 6.07fps = 4.1 miles per hour (just in case you were curious)  


<br>


 
It appears the phototransistor may be an "EverLight" Device...&nbsp; Check out something "[http://www.everlight.com/upload/product_pdf/PT2559B-L2-F_1789.pdf similar]".  
It appears the phototransistor may be an "EverLight" Device...&nbsp; Check out something "[http://www.everlight.com/upload/product_pdf/PT2559B-L2-F_1789.pdf similar]".


<br>  
<br>  

Revision as of 18:53, 7 February 2009

USB Ball Mouse -

power from PC to mouse is +5vdc.

Pulse Rate = 5 micro second (top two lines)

Long Pulse--->Long Pulse = 200 micro seconds (bottom length)

Image:Pulse lengths

Dell ball mouse pulse protocal.JPG


1/200uS = 5000cycles/sec - - - this is the maximum detectable rate

sensor wheel = 60 counts per revolution (CPR)

Calculate maximum detectable ground speed:

     5000cps/60CPR = 83.3 max revolutions per second (rps)

     diameter of mouse ball = 0.875"

     circumference of mouse ball  = Pi * d = 2.7489" circumference

                 measured counts per foot on current mouse on robot - 1210, or ~100 counts per inch

     83.3rps X 0.875" = 72.9 inches per second (ips)

     72.9ips/12 = 6.07 feet per second (fps) = maximum detectable linear ground speed

     6.07fps = 4.1 miles per hour (just in case you were curious)


It appears the phototransistor may be an "EverLight" Device...  Check out something "similar".


PS/2 Ball Mouse -

USB Optical Mouse -