To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 1250
  Re: light sensor problem?
 
(...) I'm the one that fixed active sensor reading... :-) Settle time is one of mine... Kekoa msg about this problem (a very old one in this ng if I remember) helped me to solve things. (...) I patched the reading routine in ds_handler to fix a vary (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) To achive scaling of light sensor reading from 0..100 the following theoretical formula should be used: light = 146 - scaled / 7, where scaled is the reading of AD_X >> 6. I found this at (URL) this page contains a lot of electrical (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) Oh! So readings are more stable, and it isn't just my imagination. That's good to know :) (...) Those values used to pretty cleanly define max and min- or at least, they must have, since I consistently got 15-105 values (or roughly what he (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) It doesn't surprise me that someone has already worked this out. (...) It really, really doesn't surprise me that Michael was the one who worked it out. If no one thinks it is too big an overhead, I can put it in in an hour or so when I do a (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  dsound
 
Hi Luis, (...) I wonder if it would be interesting to include a small utility I wrote assisted by a friend of mine (Paolo Masetti) to convert MIDI files into LegOs C code: since then all of our robots are equipped with a subroutine generated by this (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) That's good. Now I wonder about some other questions: - Will it get the same value as the original firmware? - Will be influenced by offset (eg. from battery voltage)? In other words, do you think that the settle time is enough? I've tested (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) I supposed so, but only to get a "fast scaling"? (...) I can "rescale" those values by theoretical calculation and maintain >>7 or make the right conversion (0-100). Now I've done the right scaling (ready to commit), but I sincerely think that (...) (24 years ago, 25-Jul-00, to lugnet.robotics.rcx.legos)

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