Reports.TMP36 History

Hide minor edits - Show changes to output

Changed line 43 from:
The Arduino has an internal temperature sensor. You can tap into that temperature sensor as a comparison to the TMP36\\
to:
The Arduino has an internal temperature sensor. You can tap into that temperature sensor as a comparison to the TMP36.\\
Changed line 43 from:
The Arduino has an internal temperature sensor. You can tap into that temperature sensor as a comparison to the TMP36.\\
to:
The Arduino has an internal temperature sensor. You can tap into that temperature sensor as a comparison to the TMP36\\
Changed line 21 from:
[[http://www.ladyada.net/media/sensors/TMP35_36_37.pdf | Here is the TMP36 Datasheet]]. \\
to:
[[http://www.ladyada.net/media/sensors/TMP35_36_37.pdf | Here is the TMP36 Datasheet]]\\
Changed lines 43-45 from:
The Arduino has an internal temperature sensor. You can tap into that temperature sensor as a comparison to the TMP36. [[TMP36 Code Sample with Internal Temp (arduino)]] The code is based on [[http://code.google.com/p/tinkerit/wiki/SecretThermometer | Secret Thermometer code]]. We found that the Arduino's temperature sensor is not very accurate, however.
to:
The Arduino has an internal temperature sensor. You can tap into that temperature sensor as a comparison to the TMP36.\\
[[TMP36 Code Sample with Internal Temp (arduino)]]\\
The code is based on [[http://code.google.com/p/tinkerit/wiki/SecretThermometer | Secret Thermometer code]]. We found that the Arduino's temperature sensor is not very accurate, however.
Changed lines 21-22 from:
[[http://www.ladyada.net/media/sensors/TMP35_36_37.pdf | Here is the TMP36 Datasheet]]. The TMP36 takes between 2.7 and 5.5V, and it draws 0.05 mA of current.
to:
[[http://www.ladyada.net/media/sensors/TMP35_36_37.pdf | Here is the TMP36 Datasheet]]. \\
The TMP36 takes between 2.7 and 5.5V, and it draws 0.05 mA of current.
Changed lines 40-41 from:
[[TMP36 Code Sample (arduino)]]. The sensor can be read as an analog input. The input values are then converted to voltage. Then you can convert the voltage to Farenheit and/or Celsius values. We know from the datasheet that at 50 degrees C, the sensor outputs exactly 1V. We use this information to convert the values.
to:
[[TMP36 Code Sample (arduino)]]. \\
The sensor can be read as an analog input. The input values are then converted to voltage. Then you can convert the voltage to Farenheit and/or Celsius values. We know from the datasheet that at 50 degrees C, the sensor outputs exactly 1V. We use this information to convert the values.
Changed line 41 from:
The Arduino has an internal temperature sensor. You can tap into that temperature sensor as a comparison to the TMP36. [[http://code.google.com/p/tinkerit/wiki/SecretThermometer| Here is sample code.]] The code is based on [[http://code.google.com/p/tinkerit/wiki/SecretThermometer | Secret Thermometer code]]. We found that the Arduino's temperature sensor is not very accurate, however.
to:
The Arduino has an internal temperature sensor. You can tap into that temperature sensor as a comparison to the TMP36. [[TMP36 Code Sample with Internal Temp (arduino)]] The code is based on [[http://code.google.com/p/tinkerit/wiki/SecretThermometer | Secret Thermometer code]]. We found that the Arduino's temperature sensor is not very accurate, however.
Changed line 53 from:
Temperature, Thermometer, Hot, Heat, Cold, Farenheit, Celsius, Weather
to:
Temperature, Thermometer, Hot, Heat, Cold, Farenheit, Celsius, Degrees, Weather
Changed line 53 from:
Temperature, Thermometer, Hot, Heat, Cold, Farenheit, Celsius
to:
Temperature, Thermometer, Hot, Heat, Cold, Farenheit, Celsius, Weather
Changed lines 52-53 from:
\\Temperature, Thermometer, Hot, Heat, Cold, Farenheit, Celsius
to:
Temperature, Thermometer, Hot, Heat, Cold, Farenheit, Celsius
Changed line 52 from:
Temperature, Thermometer, Hot, Heat, Cold, Farenheit, Celsius
to:
\\Temperature, Thermometer, Hot, Heat, Cold, Farenheit, Celsius
Changed lines 43-44 from:
[++Application Notes++]
to:
[++Typical Behavior++]
Added lines 51-52:
[++Keywords++]
Temperature, Thermometer, Hot, Heat, Cold, Farenheit, Celsius
Added lines 42-49:

[++Application Notes++]

We found that the sensor takes a while to get accurate results, sometimes as long as 10-20 minutes.

[++References++]

[[http://www.ladyada.net/learn/sensors/tmp36.html | Adafruit's tutorial]]
Added lines 14-17:

We used the TMP36 in a project to test air quality. We were using the MQ-135 air quality sensor, and in order to calibrate that sensor's results, we needed to also know the temperature and the humidity.

But the TMP36 has many different applications. You could use the ambient temperature to control the color of an LED or to affect a video display, for example.
Changed lines 33-44 from:
[[TMP36 Code Sample (arduino)]]

The sensor can be read as an analog input
. The input values are then converted to voltage. Then you can convert the voltage to Farenheit and/or Celsius values. We know from the datasheet that at 50 degrees C, the sensor outputs exactly 1V. We use this information to convert the values.



[[http://itp.nyu.edu/~mdl425/wordpress/wp-content/uploads/2012/02/TMP35_36_37_datasheet.pdf | Data sheet]] \\
[[http://www.ladyada.net/learn/sensors/tmp36.html | Info on Adafruit]] \\
Sensor set with Arduino: (Gas
sensor MQ135 + Humidity Sensor HIH 4030)
http://itp
.nyu.edu/~mdl425/wordpress/wp-content/uploads/2012/02/pollution_sensor_set.jpg

You can compare your TMP-36 results against the Arduino's internal thermostat.
[[http://code.google.com/p/tinkerit/wiki/SecretThermometer| Here is sample code to show you how to tap into the arduino internal thermostat.]]
to:
http://itp.nyu.edu/~ls3101/myblog/wp-content/uploads/2012/02/Screen-shot-2012-02-29-at-1.14.08-PM.png

[[TMP36 Code Sample (arduino)]]. The sensor can be read as an analog input. The input values are then converted
to voltage. Then you can convert the voltage to Farenheit and/or Celsius values. We know from the datasheet that at 50 degrees C, the sensor outputs exactly 1V. We use this information to convert the values.

The Arduino has an internal temperature sensor
. You can tap into that temperature sensor as a comparison to the TMP36. [[http://code.google.com/p/tinkerit/wiki/SecretThermometer| Here is sample code.]] The code is based on [[http://code.google.com/p/tinkerit/wiki/SecretThermometer | Secret Thermometer code]]. We found that the Arduino's temperature sensor is not very accurate, however.
Changed lines 34-35 from:
http://itp.nyu.edu/~mdl425/wordpress/wp-content/uploads/2012/02/serial_monitor_TMP-36.png
to:

The sensor can be read as an analog input
. The input values are then converted to voltage. Then you can convert the voltage to Farenheit and/or Celsius values. We know from the datasheet that at 50 degrees C, the sensor outputs exactly 1V. We use this information to convert the values.

Changed lines 44-47 from:
You can compare your TMP-36 results against the Arduino's internal thermostat. [[http://code.google.com/p/tinkerit/wiki/SecretThermometer| Here is sample code to show you how to tap into the arduino internal thermostat.]]

[[TMP36 Code Sample (arduino)]]
http://itp.nyu.edu/~mdl425/wordpress/wp-content/uploads/2012/02/serial_monitor_TMP-36.png
to:
You can compare your TMP-36 results against the Arduino's internal thermostat. [[http://code.google.com/p/tinkerit/wiki/SecretThermometer| Here is sample code to show you how to tap into the arduino internal thermostat.]]
Changed line 11 from:
The TMP36 is inexpensive. It is available [[http://www.adafruit.com/products/165| for $2.00 at Adafruit]], for [[ http://www.sparkfun.com/products/10988 | $1.50 at Sparkfun]], among others.
to:
The TMP36 is inexpensive. It is available for [[http://www.adafruit.com/products/165|$2.00 at Adafruit]], for [[ http://www.sparkfun.com/products/10988 | $1.50 at Sparkfun]], among others.
Changed line 11 from:
The TMP36 is inexpensive. It is available [[http://www.adafruit.com/products/165| for $2.00 at Adafruit]], for [[$1.50 at Sparkfun | http://www.sparkfun.com/products/10988]], among others.
to:
The TMP36 is inexpensive. It is available [[http://www.adafruit.com/products/165| for $2.00 at Adafruit]], for [[ http://www.sparkfun.com/products/10988 | $1.50 at Sparkfun]], among others.
Changed line 7 from:
http://itp.nyu.edu/~mdl425/wordpress/wp-content/uploads/2012/02/tmp36pinout1.gif
to:
http://itp.nyu.edu/~ls3101/myblog/wp-content/uploads/2012/02/TMP36_t.jpg
Changed lines 31-34 from:
to:
[++Code Sample++]

[[TMP36 Code Sample (arduino)]]
http://itp.nyu.edu/~mdl425/wordpress/wp-content/uploads/2012/02/serial_monitor_TMP-36.png
Added lines 24-29:

[++Microcontroller Connections++]

Here is an image of the TMP36 connected to an Arduino Uno, along with an HIH4030 humidity sensor and a MQ135 air quality sensor.

http://itp.nyu.edu/~mdl425/wordpress/wp-content/uploads/2012/02/pollution_sensor_set.jpg
Changed lines 17-25 from:
The TMP36 takes between 2.7 and 5.5V, and it draws 0.05 mA of current.
to:
[[http://www.ladyada.net/media/sensors/TMP35_36_37.pdf | Here is the TMP36 Datasheet]]. The TMP36 takes between 2.7 and 5.5V, and it draws 0.05 mA of current.

[++Pin Description++]

http://itp.nyu.edu/~mdl425/wordpress/wp-content/uploads/2012/02/tmp36pinout1.gif

The left pin should be connected to power, the right pin to ground, and the middle pin should be read as analog output.
Changed lines 5-6 from:
The TMP-36 reads the ambient temperature. As temperature rises, the voltage across the diode increases at a known rate. The sensor has no moving parts, so it does not wear out over time. The TMP-36 can read between -40 and 150 C ([[http://www.ladyada.net/learn/sensors/tmp36.html | Adafruit]]).
to:
The TMP36 reads the ambient temperature. As temperature rises, the voltage across the diode increases at a known rate. The sensor has no moving parts, so it does not wear out over time. The TMP36 can read between -40 and 150 C ([[http://www.ladyada.net/learn/sensors/tmp36.html | Adafruit]]).
Added lines 8-18:

[++Sources++]

The TMP36 is inexpensive. It is available [[http://www.adafruit.com/products/165| for $2.00 at Adafruit]], for [[$1.50 at Sparkfun | http://www.sparkfun.com/products/10988]], among others.

[++Applications++]

[++Electrical Characteristics++]

The TMP36 takes between 2.7 and 5.5V, and it draws 0.05 mA of current.
Changed line 5 from:
The TMP-36 reads the ambient temperature. As temperature rises, the voltage across the diode increases at a known rate. The sensor has no moving parts, so it does not wear out over time. The TMP-36 can read between -40 and 150 C ([http://www.ladyada.net/learn/sensors/tmp36.html | Adafruit]).
to:
The TMP-36 reads the ambient temperature. As temperature rises, the voltage across the diode increases at a known rate. The sensor has no moving parts, so it does not wear out over time. The TMP-36 can read between -40 and 150 C ([[http://www.ladyada.net/learn/sensors/tmp36.html | Adafruit]]).
Added lines 2-5:

[++Introduction++]

The TMP-36 reads the ambient temperature. As temperature rises, the voltage across the diode increases at a known rate. The sensor has no moving parts, so it does not wear out over time. The TMP-36 can read between -40 and 150 C ([http://www.ladyada.net/learn/sensors/tmp36.html | Adafruit]).
Changed line 5 from:
[[http://www.ladyada.net/learn/sensors/tmp36.html | Info on Adafruit]]
to:
[[http://www.ladyada.net/learn/sensors/tmp36.html | Info on Adafruit]] \\
Changed lines 4-5 from:
[[http://itp.nyu.edu/~mdl425/wordpress/wp-content/uploads/2012/02/TMP35_36_37_datasheet.pdf | Data sheet]]
to:
[[http://itp.nyu.edu/~mdl425/wordpress/wp-content/uploads/2012/02/TMP35_36_37_datasheet.pdf | Data sheet]] \\
Added line 5:
Changed line 4 from:
[[http://itp.nyu.edu/~mdl425/wordpress/wp-content/uploads/2012/02/TMP35_36_37_datasheet.pdf | Data sheet]
to:
[[http://itp.nyu.edu/~mdl425/wordpress/wp-content/uploads/2012/02/TMP35_36_37_datasheet.pdf | Data sheet]]
Added line 4:
[[http://itp.nyu.edu/~mdl425/wordpress/wp-content/uploads/2012/02/TMP35_36_37_datasheet.pdf | Data sheet]
Changed line 3 from:
http://itp.nyu.edu/~mdl425/wordpress/wp-content/uploads/2012/02/tmp36pinout.gif
to:
http://itp.nyu.edu/~mdl425/wordpress/wp-content/uploads/2012/02/tmp36pinout1.gif
Deleted line 0:
Changed line 3 from:
to:
http://itp.nyu.edu/~mdl425/wordpress/wp-content/uploads/2012/02/tmp36pinout.gif
Added lines 1-4:

!! '''Temperature Sensor TMP36'''
Changed lines 2-4 from:
to:
Sensor set with Arduino: (Gas sensor MQ135 + Humidity Sensor HIH 4030)
http://itp.nyu.edu/~mdl425/wordpress/wp-content/uploads/2012/02/pollution_sensor_set.jpg
Changed lines 8-9 from:
http://itp.nyu.edu/~mdl425/wordpress/wp-content/uploads/2012/02/serial_monitor_TMP-36.png
http://itp.nyu.edu/~mdl425/wordpress/wp-content/uploads/2012/02/pollution_sensor_set.jpg
to:
http://itp.nyu.edu/~mdl425/wordpress/wp-content/uploads/2012/02/serial_monitor_TMP-36.png
Changed lines 6-7 from:
http://itp.nyu.edu/~mdl425/wordpress/wp-content/uploads/2012/02/serial_monitor_TMP-36.png
to:
http://itp.nyu.edu/~mdl425/wordpress/wp-content/uploads/2012/02/serial_monitor_TMP-36.png
http://itp.nyu.edu/~mdl425/wordpress/wp-content/uploads/2012/02/pollution_sensor_set.jpg
Added line 6:
http://itp.nyu.edu/~mdl425/wordpress/wp-content/uploads/2012/02/serial_monitor_TMP-36.png
Deleted lines 5-42:

[++Sample Code++]

int tempPin = 2; // TMP-36

int tempReading = 0;

float temperatureC = 0;
float temperatureF = 0;

void setup() {
->Serial.begin(9600);
}

void loop {

->// READ TEMPERATURE
->tempReading = analogRead(tempPin);

->// convert readings to voltage, using 5V battery
->float tempVoltage = tempReading * vccResult;
->tempVoltage /= 1024.0;

->// print out the voltage
->Serial.print(tempVoltage);
->Serial.println(" volts");

->// now print out the temperature
->temperatureC = (tempVoltage - 0.5) * 100 ;
->//to degrees ((volatge - 770mV) times 100)
->Serial.println("Degrees C: "); Serial.println(temperatureC);

->// now convert to Fahrenheight
->temperatureF = (temperatureC * 9.0 / 5.0) + 32.0;
->Serial.println("Degrees F: "); Serial.println(temperatureF);

->delay(1000);
}
Changed line 5 from:
[[Code Sample (arduino)]]
to:
[[TMP36 Code Sample (arduino)]]
Added lines 4-5:

[[Code Sample (arduino)]]
Deleted lines 12-17:

// On the Ethernet Shield, CS is pin 4. Note that even if it's not
// used as the CS pin, the hardware CS pin (10 on most Arduino boards,
// 53 on the Mega) must be left as an output or the SD library
// functions will not work.
const int chipSelect = 4;
Changed lines 40-42 from:
->Serial.print(temperatureC);
->Serial.println(" degrees
C");
to:
->Serial.println("Degrees C: "); Serial.println(temperatureC);
Changed lines 44-45 from:
->Serial.print(temperatureF);
->Serial.println(" degrees
F");
to:
->Serial.println("Degrees F: "); Serial.println(temperatureF);
Changed line 38 from:
->temperatureC = (tempVoltage - 0.5) * 100 ; //converting from 10 mv per degree with 770 mV offset
to:
->temperatureC = (tempVoltage - 0.5) * 100 ;
Changed line 21 from:
->Serial.begin(9600);
to:
->Serial.begin(9600);
Changed lines 3-49 from:
You can compare your TMP-36 results against the Arduino's internal thermostat. [[http://code.google.com/p/tinkerit/wiki/SecretThermometer| Here is sample code to show you how to tap into the arduino internal thermostat.]]
to:
You can compare your TMP-36 results against the Arduino's internal thermostat. [[http://code.google.com/p/tinkerit/wiki/SecretThermometer| Here is sample code to show you how to tap into the arduino internal thermostat.]]

[++Sample Code++]

int tempPin = 2; // TMP-36

int tempReading = 0;

float temperatureC = 0;
float temperatureF = 0;

// On the Ethernet Shield, CS is pin 4. Note that even if it's not
// used as the CS pin, the hardware CS pin (10 on most Arduino boards,
// 53 on the Mega) must be left as an output or the SD library
// functions will not work.
const int chipSelect = 4;

void setup() {
->Serial.begin(9600);
}

void loop {

->// READ TEMPERATURE
->tempReading = analogRead(tempPin);

->// convert readings to voltage, using 5V battery
->float tempVoltage = tempReading * vccResult;
->tempVoltage /= 1024.0;

->// print out the voltage
->Serial.print(tempVoltage);
->Serial.println(" volts");

->// now print out the temperature
->temperatureC = (tempVoltage - 0.5) * 100 ; //converting from 10 mv per degree with 770 mV offset
->//to degrees ((volatge - 770mV) times 100)
->Serial.print(temperatureC);
->Serial.println(" degrees C");

->// now convert to Fahrenheight
->temperatureF = (temperatureC * 9.0 / 5.0) + 32.0;
->Serial.print(temperatureF);
->Serial.println(" degrees F");

->delay(1000);
}
Changed lines 1-3 from:
[[http://www.ladyada.net/learn/sensors/tmp36.html | Info on Adafruit]]
to:
[[http://www.ladyada.net/learn/sensors/tmp36.html | Info on Adafruit]]

You can compare your TMP-36 results against the Arduino's internal thermostat. [[http://code.google.com/p/tinkerit/wiki/SecretThermometer| Here is sample code to show you how to tap into the arduino internal thermostat.
]]
Added line 1:
[[http://www.ladyada.net/learn/sensors/tmp36.html | Info on Adafruit]]