hi sir i need one help now iam doing project on 89c51 using C51 Evaluation Software i converted 0-5 analog volatge to 0-5 digital voltage . now i want convert digital data to pressure my output should be like this 0v 1.1E-1 3v 4.1E-4 0.1 1.2E-1 4v 5.1E-5 1v 2.1E-2 5v 6.1E-6 2v 3.1E-3 i want 500 values in between 0 to 5 volts how to calibrate the voltage interms of preesure what logic i want use to convert Voltage to pressure my C51 not taking floting oparations please help regards chandra sri
hi sir "The data shows that your sensor gives a higher voltage output for a lower pressure - is that right?" yes sir it well gives a higher voltage output for a lower pressure. thes values iam taken from standard chart. now i want convert this chart to application. if you do't mind how to use the look up table for 500 values. Here iam using c51 evalutionn vertion pleace give one example. pleace sir
You still haven't said what unit of pressure you're using - bar? atmosphere? mm of water? mm of mercury? Pascal?
"how to use the look up table for 500 values." The number of values merely dictates the size of the table. Here's a brief overview of how to use a lookup table to implement a mathematical function: http://www.8052.com/forum/read.phtml?id=22213