Welcome, Guest. Please Login.
Surveyor Corporation Surveyor SRV-1
Home Help Search Login

Surveyor Robotics Forum

Welcome to the user support forum for Surveyor SRV-1 robots, SRV-1 robot controllers and SVS stereo vision systems. To register for this forum, please send an email to support@surveyor.com which includes your desired forum user name, your registration email address, and a brief explanation of why you wish to join, and we will create a forum account for you.

Please note that there is a Search button in the forum toolbar for forum topics. Another effective search method for the entire surveyor.com site is to use Google, e.g. "xyz site://www.surveyor.com" where "xyz" is the search topic.



Pages: 1 ... 3 4 5 
Send Topic Print
Adding optical mouse sensor for dead reckoning (Read 53837 times)
admin
YaBB Administrator
*****




Posts: 3676
Re: Adding optical mouse sensor for dead reckoning
Reply #60 - 01/15/09 at 7:57am
 
I received some really interesting test data from Lefteris about performance of the mouse sensor.  My basic question was whether a single sensor could track the motion of the robot moving on a curve, and here were his test results -  
 
==========================
Lefteris wrote -  
 
 
As for the sensor I did some tests. I don't know if you remember but the SRV-1 I am working on has a slightly big bias on the left motor. So for me going 99% straight is (53,41). There is unfortunately no 100% value  
 
Going with these values for 1.20 meter gives back values :
dX: +13159  dY: +   48
 
The above means a little bit bias on the left has accumulated in the 1.20 meters that we walked. If it was minus it would mean right. Of course all these are relative to the way you position the sensor.
 
Now let's go like the ones you got in the official firmware. With -15(left),+15(right).
 
With  (53-15,41+15), here are some values as read by the sensor :
 
dX: + 4806  dY: +  627
dX: + 4927  dY: +  634
dX: + 5045  dY: +  646
dX: + 5166  dY: +  659
dX: + 5285  dY: +  671
dX: + 5405  dY: +  685
dX: + 5521  dY: +  701
dX: + 5578  dY: +  708
dX: + 5702  dY: +  722
dX: + 5819  dY: +  737
dX: + 5942  dY: +  754
dX: + 6065  dY: +  768
dX: + 6185  dY: +  784
dX: + 6301  dY: +  794
dX: + 6420  dY: +  805
dX: + 6541  dY: +  815
 
 
You can easily understand that it turned here, towards left.
 
With (53+15,40-15) Here are some values read by the sensor ....
 
dX: + 3028  dY: - 1308
dX: + 3121  dY: - 1334
dX: + 3224  dY: - 1351
 
As you can see ... the turn was REALLY steep the second time because 25 as pwm value for the right motors was ... well low. I think that you can easily understand by the ratio of the forward movement to the Y axis movement and the Y value which way you are going.
Back to top
 
 

SRV-1 Development Team
Surveyor Corporation
Email WWW   IP Logged
admin
YaBB Administrator
*****




Posts: 3676
Re: Adding optical mouse sensor for dead reckoning
Reply #61 - 01/16/09 at 8:53am
 
I just ordered a Belkin F8E814-OPT mouse with ADNS-2610 to experiment with this - I would like to add optical mouse sensor support to the basic SRV-1 firmware.  
 
My question -  
 
How did you power the mouse ?  Are you using 5V, and if so, did you add a 5V regulator that is powered by the robot battery ?
 
Back to top
 
 

SRV-1 Development Team
Surveyor Corporation
Email WWW   IP Logged
Lefteris
Senior Member
****




Posts: 274
Re: Adding optical mouse sensor for dead reckoning
Reply #62 - 01/16/09 at 9:11am
 
Yes that's exactly what I did. Check this picture, even though it's old, almost the same thing applies to my current setup.
 

 
These orange and brown wires go up to the regulator. All I did was just plug a 5V regulator into the battery clip located on the top left of the radio/motor board. As far as the communication between ADNS 2610 and blackfin is concerned I put a zener diode on the DATA line (the other is the CLOCK and it is ran solely by the blackfin) so that whenever the ADNS2610 wanted to send a bit and raised the line to 5V the zener would "switch" it at 3.3V and avoid any potential damage.  
 
Back to top
 
« Last Edit: 01/16/09 at 9:12am by Lefteris »  

http://www.realintelligence.net - The real intelligence project || http://lefteris.realintelligence.net - My blog
  IP Logged
admin
YaBB Administrator
*****




Posts: 3676
Re: Adding optical mouse sensor for dead reckoning
Reply #63 - 01/19/09 at 5:46pm
 
ADNS-2610 is actually a 3.3V device, so there must be a voltage regulator on-board the mouse that drops the 5V USB input to 3.3V.   I'll see if I can isolate this when my Belkin F8E814 mouse gets here this week.  It would really prefer to run everything from 3.3V.
 
Back to top
 
 

SRV-1 Development Team
Surveyor Corporation
Email WWW   IP Logged
Lefteris
Senior Member
****




Posts: 274
Re: Adding optical mouse sensor for dead reckoning
Reply #64 - 01/20/09 at 12:52am
 
Are you sure? I mean in the ADNS2610 datasheet I see that it asks for a single 5V power supply.
 
 
On the other hand it also says this :
 
 
                               MIN                                    MAX
Supply Voltage VDD   -0.5                                    5.5 V
 
Input Voltage          VIN -0.5                           VDD+0.5 V                           SDIO, CLK, LED_CNTL
Input Voltage         VIN -0.5                                 3.6 V                                 OSC_IN, OSC_OUT, REFA
 
Which is quite confusing. To tell you the truth I took it for given that it is 5V since it says supply voltage should be 5V.
Back to top
 
 

http://www.realintelligence.net - The real intelligence project || http://lefteris.realintelligence.net - My blog
  IP Logged
admin
YaBB Administrator
*****




Posts: 3676
Re: Adding optical mouse sensor for dead reckoning
Reply #65 - 01/20/09 at 7:04am
 
My error.  I was looking at the ADNB-7051 eval kit with ADNS-7050 and ADNS-6120 lens, and somehow scrambled the numbers.  ADNS-7050 is a 3.3V part, but ADNS-2610 is a 5V part.  That's too bad - it would make things a lot easier if everything was 3.3V.
 
My goal is to find a standard mouse sensor package we can offer SRV-1 users.
Back to top
 
 

SRV-1 Development Team
Surveyor Corporation
Email WWW   IP Logged
Lefteris
Senior Member
****




Posts: 274
Re: Adding optical mouse sensor for dead reckoning
Reply #66 - 01/20/09 at 7:25am
 
Then why not go with that one you just mentioned? The 7050 ? Does anything make 2610 special?  
 
EDIT:
 
Actually I checked the 7050 and it is quite different, it has a lot more pins, and uses a laser diode instead of an LED.
Back to top
 
« Last Edit: 01/20/09 at 7:32am by Lefteris »  

http://www.realintelligence.net - The real intelligence project || http://lefteris.realintelligence.net - My blog
  IP Logged
admin
YaBB Administrator
*****




Posts: 3676
Re: Adding optical mouse sensor for dead reckoning
Reply #67 - 01/29/09 at 10:53am
 
The ADNS-7050 looks pretty good, but the part I'm excited about is the ADNS-6530.  The laser diode and clock are both incorporated in the sensor package, so a complete solution is just 2 parts - the ADNS-6530 and ADNS-6150 lens.  This runs at 3.3V, and the interface is SPI.  I'm trying to track down samples now.
 
http://www.avagotech.com/pages/http://www.avagotech.com/pages/en/navigation_inte rface_devices/navigation_sensors/laserstream/adns-6530/
Back to top
 
 

SRV-1 Development Team
Surveyor Corporation
Email WWW   IP Logged
Lefteris
Senior Member
****




Posts: 274
Re: Adding optical mouse sensor for dead reckoning
Reply #68 - 01/30/09 at 12:19am
 
Wow amazing level of integration. It seems like a really nice choice!
Back to top
 
 

http://www.realintelligence.net - The real intelligence project || http://lefteris.realintelligence.net - My blog
  IP Logged
admin
YaBB Administrator
*****




Posts: 3676
Re: Adding optical mouse sensor for dead reckoning
Reply #69 - 01/30/09 at 7:54am
 
I just found ADNS-7530, which also integrates the laser but has higher resolution than ADNS-6530 (26x26 pixel sensor vs 22x22 pixels for 6530).  I'm working on obtaining samples of 6530, 7530 and 6150 lens.
Back to top
 
 

SRV-1 Development Team
Surveyor Corporation
Email WWW   IP Logged
Pages: 1 ... 3 4 5 
Send Topic Print