View unanswered posts | View active topics It is currently Thu Oct 02, 2014 4:30 am






Reply to topic  [ 5 posts ] 
IR Seeker signal strength 
Author Message
Rookie

Joined: Sun Nov 04, 2012 5:30 pm
Posts: 6
Post IR Seeker signal strength
hey guys

i can detect signal strength with an IR Seeker
but my values seem to be always inconsistent
is there a flaw in my coding or is the seeker naturally inconsistent


Wed Nov 07, 2012 11:03 pm
Profile
Guru
User avatar

Joined: Sun Nov 15, 2009 5:46 am
Posts: 1347
Post Re: IR Seeker signal strength
ninerNation wrote:
hey guys

i can detect signal strength with an IR Seeker
but my values seem to be always inconsistent
is there a flaw in my coding or is the seeker naturally inconsistent

You need to provide more info than this for us to help. What do you mean by inconsistent?


Thu Nov 08, 2012 1:14 am
Profile
Rookie

Joined: Sun Nov 04, 2012 5:30 pm
Posts: 6
Post Re: IR Seeker signal strength
By inconsistent i mean that one time when i take a signal reading it will say something like 80
then when i run my program again, the same spot will give a reading of a number like 150


Fri Nov 09, 2012 12:46 am
Profile
Guru
User avatar

Joined: Sun Nov 15, 2009 5:46 am
Posts: 1347
Post Re: IR Seeker signal strength
How did you read the values? Were you reading the raw values? I suspect the raw values may have noise in it due to other IR sources.


Fri Nov 09, 2012 12:53 am
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3223
Location: Rotterdam, The Netherlands
Post Re: IR Seeker signal strength
If you download my driver suite (link in signature), have a look at the hitechnic-irseeker-v2-test2.c sample, specifically the HTIRS2readEnhanced() function, it may provide you with the info you need to get an idea of the relative distance to the object you're trying to detect.

As MHTS said, interference, position of the stars, solar flares and psychokinetic energy build-ups can really mess with your readings. Seriously though, using the IR Seeker to gauge distance is like using a screw driver to hammer in a nail; sure, you can do it, but it's not exactly fit for purpose. The IR Seeker is for tracking the relative position of the ball to the position of the sensor. There are other, far more suitable sensors out there for measuring distance to a target.

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Tue Nov 13, 2012 2:01 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.