MCP9700 Temperature Sensor for LilyPad
$29.95
SKU 74417900
Add temperature sensing to your wearable electronics project with this MCP9700 Temperature Sensor for LilyPad from PMD Way.
Uses the MCP7900 temperature sensor which has an analog output. This sensor will output 0.5V at 0 degrees C,0.75V at 25 C, and 10mV per degree C.
Example Arduino code:
float temp;
void setup()
{ Serial.begin(57600); };
void loop () {
temp = analogRead(0)*5/1024.0;
temp = temp - 0.5;
temp = temp / 0.01;
Serial.println(temp);
delay(500);
};
... results with
More information:
- MCP7900 datasheet (.pdf)