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 / 1837
  (no subject)
 
After reading Dave's commentary on the RCX's ADC system, I did a few more test's, and found that I could easily predict the value that the RCX would produce for a given resistor. Just use the voltage divider formula - V=R2 / (10,000 + R2) and (...) (26 years ago, 28-Dec-98, to lugnet.robotics)
 
  Re: (no subject)
 
(...) Wouldn't the resultant reading be: value=1023/(10000*(sum (Si/Ri)) + 1) where Si is 1 if Switch i is closed and 0 otherwise and Ri is the value of the resistor attached in series with Switch i Inversely, sum(Si/Ri)=(1023-V)/(10000*V), but (...) (26 years ago, 29-Dec-98, to lugnet.robotics)

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