In the previous lab, we measured the resistance of a single, non-changing resistor. In this lab, we'll measure the resistance of a material with a temperature dependant resistivity. This circuit element is called a thermistor. We will also add a new variable to monitor: time.
Instructions:
AnalogReadSerial
, as needed, to measure the voltage and time.csv
file.* When I write 'temperature' here, I mean the temperature! The main challenge of this lab is to adapt your plotting code to convert the voltage measurement to a calibrated temperature.
To format your output in a way that can be easily read, you can combine three Serial.print()
commands:
Serial.print(millis());
Serial.print(',');
Serial.println(sensorValue);
(The last command, println()
, indicates that this is last part of the line, and the next output will be on a new line.)
Use the Arduino to measure the resistance of your thermistor.
Example set up for thermistor.
Use your understanding of the voltage divider circuit and the documentation for your thermistor to turn the resistance measurement into a calibrated temperature in Kelvin. This means the vertical axis of your graph should have the units of Kelvin. Convert your time units to something that makes sense for a human to interpret.
You might find the contents of these tutorials useful for this lab:
Due: 4 pm, Oct 7, via BlackBoard
To submit: