To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxtOpen lugnet.robotics.nxt in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / 109
108  |  110
Subject: 
Light sensor sampling freq?
Newsgroups: 
lugnet.robotics.nxt
Date: 
Sat, 9 Sep 2006 00:10:38 GMT
Viewed: 
9023 times
  
I'm working on a little nav idea that my robot can find my 'base' which is sweping a bright red led 'laser' over the area.
I have to admit that I ventured into the Xacto and crazy glue area by using a 'laser' pointer and glueing four tiny mirrors (cut from a 1.49 USD kiddies bike mirror) onto a 2x2 brick.

The good news is that standard 'laser' pointer goes well with Lego standard red transparent.
But having a 'line' of laser pasted of the area, I wonder how fast kan I sample the light detector? For how long must I shine the laser at the light sensor for it to read it?

The light levels are no issue, the 'laser' via mirror into the sensor will saturate it from 3-4 meters, it's just down to how fast it can scan.
I can do all the test myself, I just wondered if someone already have.

// hdw



Message has 1 Reply:
  RE: Light sensor sampling freq?
 
Standard Lego firmware samples every 3 msec. BricOS is much faster. I believe it is faster than once per second. RobotC on NXT is programmable to be 0.5 msec scan, 1 msec, 2 msec, ... up to 255 msec. But remember the readings are not persistent. If (...) (18 years ago, 9-Sep-06, to lugnet.robotics.nxt)

3 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