To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 6940
6939  |  6941
Subject: 
color sensor: was ( Light sensor values)
Newsgroups: 
lugnet.robotics
Date: 
Sat, 18 Sep 1999 00:10:59 GMT
Original-From: 
Joel Shafer <joel@/NoMoreSpam/connect.net>
Viewed: 
544 times
  
At 11:17 PM 9/17/99 +0000, you wrote:
On a (somewhat) related note: How would it be possible to use three light
sensor, with some sort of colored filter setup to differentiate color?  Most
importantly is there any way to combine thier input into one sensor port?  I
can image some ways using two ports, but if there was some way to use the raw
value to tell predominant color (say 0 - 300 for red, 400-700 for blue,
etc..)
from one port, that would be interesting.

It seems like you could get about 3-4 bits for each color if you were only
using one input port.  That's not very good resolution.  Perhaps a better
way would be to design a color sensor and use a pic chip for it's
brain.  It could sample all three sensors, save the results then send the
them to the port one color at a time.  It could alternate the top bit so
that the software could determine which color reading was coming
in.  Pretty far fetched I'm sure...


Joel Shafer    joel@connect.net



Message has 1 Reply:
  Re: color sensor: was ( Light sensor values)
 
Pure-Lego (but more than one input/output unless a motor can be driven off of the output to a light sensor and the input from a light sensor and rotation sensor can be multiplexed): 1) 1 light sensor 2) 1 (micro)motor to drive the rotation of the (...) (25 years ago, 18-Sep-99, to lugnet.robotics)

Message is in Reply To:
  RE: Light sensor values
 
One the raw note, my CdS cell (which measures about 20K ohms in the near dark, and about 500 ohms pointed at the florescent light) returns raw values between 1000 (pointed into a dark blue coffee cup) to 48 (pointed directly at the light with a (...) (25 years ago, 17-Sep-99, to lugnet.robotics)

8 Messages in This Thread:



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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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