beagleboard / beaglebone-black

Design and Document files for the BeagleBone Black from BeagleBoard.org
https://git.beagleboard.org/beagleboard/beaglebone-black
417 stars 198 forks source link

Conversion of (0-5V) Analog Signal to (0-1.8V) without Loss of Information #20

Open NabilaTasnim opened 2 months ago

NabilaTasnim commented 2 months ago

I have an analog signal of (0-5V). I want to use the ADC of BeagleBone Black to process it, but the ADC inputs can take a maximum of 1.8V. If I down-scale the signal to (0-1.8V), then -

How should I do this ensuring no loss/minimum loss of information or resolution? If there is some loss, then is there any way to retrieve the original signal after processing it with the ADC of BeagleBone Black?

cschweers commented 2 months ago

This is precisely the purpose of the so-called voltage divider in electrical engineering

NabilaTasnim commented 2 months ago

If I use a voltage divider to scale down the voltage and then use ADC for digital conversion, won't I lose some accuracy and information? @cschweers @jadonk @RobertCNelson @pdp7

jadonk commented 2 months ago

yes, but not much depending on the accuracy of the resistors and amount of capacitance on the line.

mvduin commented 2 months ago

No, scaling the full range of the signal you want to measure to match the full range of the ADC you're using to measure it is exactly how you achieve the best accuracy possible with that particular ADC.

Also, this sort of question is better asked on the forum at https://forum.beagleboard.org/ instead of using a github issue.