I'm a Noob and cannot figure out how to make a sketch that gives me the correct information.
My sensor is an automotive coolant temp sensor that has a range of -67F to 428F. I want to read and display the temp from my engine oil and tranny fluid. My display is 16x2 and I know how to program that.
I know that at 32F with a 10k resistor I get 2.38v. At 203F with a 10K resistor I get .10v. I got those numbers from a voltage divider.
I have the following numbers written down but, can't remember how I got them.
32F = 273.15K 203F= 368.15K
Using the Analog Read Serial example for the Uno I get 490 @ 32F, and 19 @ 203F, both with a 10K resistor.
I have searched everywhere, for the last 8 days to find the correct sketch or how to get the correct data to put into the Uno and now I'm just plain pissed off that I'm to stupid to figure this out.
Any help that any of you kind people could would provide me is greatly appreciated.