❏ After the first temperature reading, gently squeeze the
sensor between your thumb and forefinger. Hold the
sensor for several readings, then release it. Verify that
you get a temperature rise and fall output similar to that
shown in Figure 14.
Next month, we will combine a lot of what we have
learned so far to create a data logger. NV
■ FIGURE 14:
■ FIGURE 13:
Temperature sensor schematic.
float tempSensorADC = 0.0;
// variable to for the ADC reading
float tempertureSensorVoltage = 0.0;
// variable for the converted voltage
float tempSensorVoltage = 0.0;
// variable for the sensor voltage
float tempCelsius = 0.0;
// variable for degrees Celsius
Serial.println(“Sensing Temperature. rev
❏ Compile and run the program.