Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4892

Beginners • Re: Read a converted sensor value.

$
0
0
First figure out the output maximum scale of your sensor you will use. Converter it to the maximum voltage.

Then figure out what will be the voltage reduction range you need for you A/D input. (maximum voltage is Vref).


If you are able to calibrate the unit with known value it always better to create a two points calibration. Once with the minimum and one with the maximum. This way you create a more precise reading.

f(x) = mx + b You should remember this when you where in high school. From slope and offset you could calculate any Y from any X.

Statistics: Posted by danjperron — Wed Mar 20, 2024 7:22 pm



Viewing all articles
Browse latest Browse all 4892

Trending Articles