View unanswered posts | View active topics It is currently Sat Oct 25, 2014 7:48 pm






Reply to topic  [ 7 posts ] 
Line trackers not returning large values when measuring dark 
Author Message
Rookie

Joined: Sat May 05, 2012 3:45 pm
Posts: 10
Post Line trackers not returning large values when measuring dark
I am trying to set up the swervebot linetrackers following the robotc traning videos...The values I am getting for all three line trackers go from about 150 for white and 165 for black....Even with the lights off, I can't get a value much larger...I should be getting much larger values for Black....any Ideas why?


Sat May 05, 2012 3:53 pm
Profile
Moderator
Moderator
User avatar

Joined: Tue Sep 14, 2010 9:19 pm
Posts: 496
Post Re: Line trackers not returning large values when measuring
Do you have the Cortex connected to a battery and turned on while measuring these values, or is it just being powered by the USB cable?

_________________
sudo rm -rf /


Sat May 05, 2012 4:21 pm
Profile
Rookie

Joined: Sat May 05, 2012 3:45 pm
Posts: 10
Post Re: Line trackers not returning large values when measuring
Yes, it is connected to a charged barrery and turned on. using vexnet I downloaded the program per the instruction on the video trainer to use the debugger window to find the threshold value between the sensor values returned over light and dark surfaces...


Sat May 05, 2012 4:30 pm
Profile
Expert

Joined: Tue Feb 28, 2012 3:10 pm
Posts: 195
Post Re: Line trackers not returning large values when measuring
Just a wild off the wall guess, but I recently heard of someone who had this problem. Turned out to be shiny black tape used for the black line and a near perfect 90 degree angle on the sensor. He offset the angle a half a degree and it fixed it.

_________________
Mike aka Spiked3
http://www.spiked3.com


Sun May 06, 2012 4:56 am
Profile
Rookie

Joined: Sat May 05, 2012 3:45 pm
Posts: 10
Post Re: Line trackers not returning large values when measuring
Found the solution....I had slipped a piece of black construction paper under the line trackers to measure the values....evidently not all black colors are equal....I tried putting it over black electical tape and it worked like it is suppose to. Just to double check I tried the black constructiion paper again and got the same bad readings.....did I miss something in the instrucions?


Wed May 09, 2012 7:00 pm
Profile
Site Admin
Site Admin

Joined: Tue May 15, 2007 9:02 am
Posts: 405
Post Re: Line trackers not returning large values when measuring
You should always take your measurements for the threshold using the surfaces that you're tracking - if you're tracking black electrical tape, use black electrical tape.

Remember that the sensors work based off of reflected infrared light. Dull construction paper and shiny electrical tape are going to reflect totally different amounts of light, even if they're both black.

_________________
Jesse Flot
CMU Robotics Academy
ROBOTC Support


Fri May 11, 2012 9:17 am
Profile
Rookie

Joined: Sat May 05, 2012 3:45 pm
Posts: 10
Post Re: Line trackers not returning large values when measuring
yeah, I didn't have my challange board made but I wanted to start writting the code so i thought that I would get some reading on "dark" and "light" surfaces so I could start. I guess what was messing me up was that white card stock and black construction paper were vertually identical....I thought that I have installed them wrong or that I missed something on the setutup...


Sun May 13, 2012 6:20 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 0 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.