Upload
abigail-wilcox
View
232
Download
4
Embed Size (px)
DESCRIPTION
Analog Temperature Readings to Digital Values Analog: 0 to 5 volts Digital: 0 to 255 D = (A/5) X 256 The PICAXE can convert any voltage between zero and five volts into a digital value between 0 and 255. This is a linear conversion, so zero volts becomes a digital zero, 2.5 volts becomes a digital 127 (or 128 depending on the accuracy of the 2.5 volts), and five volts becomes a digital 255. You can calculate the digital value of any analog voltage by dividing it by 5 And then multiply by 256. Since the PICAXE does not use decimal points, you need to round up the calculated value.
Citation preview
Interpreting Temperature Logger Data
Changing Digitized Temperature Readings back into Temperatures
Analog Temperature Readings to Digital Values
• Analog: 0 to 5 volts• Digital: 0 to 255
D = (A/5) X 256
The LM335 Temperature Sensor
• Temperature: 0 to 500 kelvins• Output: 0 to 5 volts
Four Temperature Scales
• Kelvin• Celsius• Fahrenheit• Rankin
Fahrenheit and Celsius
• There are 1.8 Fahrenheit degrees in 1 Celsius degree
• -40O Fahrenheit = -40O Celsius
Converting a Digitized Temperature back into Temperature
Temperature (k) = R/256 X 500
Spreadsheet Helper
Included with the Temperature Logger
Transferring Temperature Data into Notepad
• Temperature readings are not useful in the Terminal program
• Copy into Notepad using the Copy Input Buffer option
Editing Temperature Data
You get: 144,145,146,148
Edit to make it: 144145146148