I'm looking to do some measurements with a
Sharp GP2Y0A21YK0F IR Analog Distance Sensor.
Vcc 4.5-5.5 V
The Analog Output is: max Vcc+0.3V
Unfortunately, my DAQ can only handle 0-3V analog-in.
So my idea is to just scale the voltage down from the sensor by using resistors in a voltage divider.
I could use a second opinion on this
Thanks!
Best Answer
The analogue output of the sensor is this: -
In other words it only creeps a little above 3V so use a light potential divider to drop the maximum down to a few tens of mV below 3V. Unfortunately the data sheet gives no indication of its output impedance so this will be a bit of trial and error but I suspect 180 ohms and 3k3 down to ground is a good starting point - this would reduce a peak 3.1 volts to 2.94 volts.
No, that's the maximum range of voltages you can put on the pin.