Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
PIC ADC and Distance Sensor?
Would appreciate if anyone could help me out on this question.
A distance sensor is attached to an 8-bit ADC with a reference voltage Vref set to 5V. The latency of the sensor is 10ms. The distance sensor is placed on the side of the micro-mouse to measure a distance range from 2cm to 4cm. The sensors output response is linear. At a distance of 2cm from an object the output voltage is 3.5v and at the maximum distance of 30cm the output voltage is 0.5v.
a) Would the sensor described above be a good choice if the desired maximum step rate of the micro-mouse is 200 steps/s? Justify your answer.
b) Is the voltage range of the sensor suitable for the ADC described? Justify you answer.
puma any chance you can add details on your working out please!
1 Answer
- ?Lv 47 years agoFavorite Answer
1. 1/10X10^-3 = 100 STEPS/S. SO YOU CANNOT SAMPLE 200 TIMES A SEC.
2. 3.5V=0.5V = 3V = 28CM
1CM = 3/28 = 100MV
ANSWER IS YES GOOD ENOUGH
RESOLUTION = 5/255 = 20MV/BIT
YOU HAVE 5 BIT RESOLUTION PER CM.
WHICH MEANS 1BIT GIVES 2MM OF DISTANCE