You are on page 1of 1

How to calculate series resistor to provide a certain

voltage to a pin?
fixed resistor to supply a voltage of, say 0.2V to Pin 3 (DLY), to set a delay for
the
motion detection switch-off (the whole thing runs on 3.3V). From Kirchhoff's
voltage
law I would think that I need the internal resistance of the module to calculate a
ratio
with the series resistor. I am getting R = R_Module*(3.3V-0.2V)/0.2V. However:
I don't
know any internal resistance, nor can I measure any between GND and DLY. How
do I
calculate the needed resistor? Am I thinking totally wrong?

If you read the section regarding DLY in the datasheet for your sensor you'll see
that it suggests using a simple resistive divider to set the delay. Normally, you
want to drive your ADC with a low output impedance compared to your ADC's
input impedance. Your resistive dividers output impedance would be R1 || R2
(assuming your voltage source is perfect with no output impedance) - so
approximately 580 for the circuit below this should be OK. But let's suppose
you want to set the delay to 15 min - which corresponds to 1.8V from
the datasheet. To drop 1.8 V with the divider, R2 would have to be around 5.6
k. The output impedance would then be 3.5 k. This might cause problems if
your ADC's input impedance is just 10 k. But since the datasheet suggests a
resistive divider is OK and also states that the input impedance is high, I think

You might also like