To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / 1047
1046  |  1048
Subject: 
Re: Lght Sensor & Three colors?
Newsgroups: 
lugnet.robotics.rcx
Date: 
Wed, 7 Feb 2001 11:40:06 GMT
Viewed: 
1681 times
  
In lugnet.robotics.rcx, Matthew Fisher writes:
Can the light sensor accurately distinguish between THREE colors?  All the
designs I've seen work with two; e.g. a brick sorter, green & red.

And if so, what colors are recommended: Red, Green, Blue?  Black, White,
Grey?

Thanks.

The light sensor doesn't actually "see" colors, it only distiguishes between
dark and light. Therefore I have found that using different grey scales is a
good way to make distinguishable "colors". Different grey scales can be made
by printing them onto paper, and then wrapping the paper around the objects.
I have been able to distinguish between 5 different grey scales, from white
to black, this way, but it could be expanded to more, though with a higher
probability of error.

Note: This was programmed with Lejos. I don't know if it is possible with the
Robotics Invention System.


Rune



Message is in Reply To:
  Lght Sensor & Three colors?
 
Can the light sensor accurately distinguish between THREE colors? All the designs I've seen work with two; e.g. a brick sorter, green & red. And if so, what colors are recommended: Red, Green, Blue? Black, White, Grey? Thanks. (24 years ago, 16-Jan-01, to lugnet.robotics.rcx)

8 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR