Subject:
|
(no subject)
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Mon, 28 Dec 1998 04:37:44 GMT
|
Original-From:
|
MwalimuB@aol/nospam/.com
|
Viewed:
|
1256 times
|
| |
| |
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 multiply your result by 1023. My table for multiple sensors
would be as follows:
A=10K B=22K C=33K
A=512(10K) AB=417(6875 ohms) ABC=371(5690 ohms)
B=703(22K) AC=444(7674 ohms) no closures = 1023
C=785(33K) BC=582(13200 ohms)
This is of course all theoretical - I have to build it.
chris
|
|
Message has 1 Reply: | | 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)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
Active threads in Robotics
|
|
|
|