Hello,
I am having a hard time to come up with a solution for shifting/converting a 10-24v varying voltage to a 0-3.3v signal for ADC measurement.
My application is to measure the supply voltage which will never be less than 10v, and never exceed 24v. Therefore I would like the full scale of the ADC in this range (10-24v), so I need to convert this to 0-3.3v for the Arduino board I am using.
Both the supply voltage and the Arduino are sharing a common 0v ground. The Arduino is also supplied by a 3.3v regulator on this supply.
I would appreciate any comments/suggestions.
I have tried resistor dividers, but these never go down to 0v when the input is 10v, and when I adjust the values to get (close to) 0v out at 10v in, it never goes up to 3.3v!! I understand using resistors will be linear, but I just need to 'offset' the lower voltage of 10v to 0v.
I have tried simulations with OP-AMPS, but these give a very similar result as resistors.
Hope this is possible.
Regards,
Tin.