Arduino Forum
temperature sensor project
Projects
General Guidance
wildbill
April 2, 2018, 3:34pm
2
Integer division is causing you a truncation problem. Try:
float voltage = (sensorVal/1024.0) * 5.0;
show post in topic
Related topics
Topic
Replies
Views
Activity
tempurature sensor help
General Guidance
2
888
May 5, 2021
Problem with temperature sensor.
General Guidance
6
1929
May 5, 2021
Trying the basic temperature sensor project but I'm getting wrong values
Programming
13
1773
May 5, 2021
Temperature Finder is not working!!
Sensors
3
784
May 6, 2021
Project 3 - Love-o-Meter Temperature Sensor
Starter Kit
2
6191
May 6, 2021