This question comes form Richard Reid:
Question:
“Any idea how I can convert the reading from the temp sensor into Fahrenheit temperatures?
The sensor returns a value of “185”….. that is 185 what? I very much doubt it is 185 degrees Celsius…. which would mean it’s 365 degrees Fahrenheit here in my bedroom.”
Your Challenge:
Find an LM34 Temp sensor data sheet and see if you can find the transfer function.
Solution:
Here are my thoughts…
[fvplayer src=”https://vimeo.com/335482074″ transcript=”auto” splash=”https://i.vimeocdn.com/video/782076283_1280x720.jpg?r=pad” caption=”Richard Reid – LM34 Reading to Temperature”]
Here is that formula in code…
float rawTempData = analogRead(LM34Pin);
float farenheitTemp = ((rawTempData * 0.0048) / 0.010);
Your Thoughts:
I don’t know about you, but often data sheets are pretty intimidating! I feel like if I can go in, and make sense of even a small part, I am doing pretty good. What about you? What do you think about datasheets?