Quantcast
Channel: Data converters
Viewing all articles
Browse latest Browse all 27946

Forum Post: RE: AFE4300: Weight calculation

$
0
0
Hi David, Here is an example. 1) Keep a known weight ( x1) on the load cell. Read the ADC output. store this in y1. 2) Keep next known weight ( x2) on the load cell. Read the ADC output. store this in y2. 3) Find the slope as, m = (y2-y1)/(x2-x1) 4) Calculate the offset as ,c = y2 - (m*x2) 5) Place the unknown weight (x3) on the load cell as read the ADC output, store it in y3. 6) To find the unknown weight as x3 = (y3-c)/m Hope this helps. Regards, Prabin

Viewing all articles
Browse latest Browse all 27946

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>