LilyPad Temperature Sensor: Difference between revisions

From Geeetech Wiki
Jump to navigation Jump to search
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 9: Line 9:


Detect physical touch based on body heat and ambient conditions with this small sensor.
Detect physical touch based on body heat and ambient conditions with this small sensor.
==Download ==
[http://www.ftdichip.com/Drivers/CDM/CDM%20v2.12.00%20WHQL%20Certified.exe FIDI driver]




Line 15: Line 19:
1.Connect Uno and LilyPad Temperature Sensor like as:
1.Connect Uno and LilyPad Temperature Sensor like as:


Uno     LilyPad Temperature Sensor
Uno ------ LilyPad Temperature Sensor
 
5V -------- +
 
GND ------- -
 
A0 -------- S
 
 
 
2.Upload the 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);
 
};
 
 
 
3.Open the monitor


5V--------+


GND--------
[[File:20130916170043.png]]


A0--------S
== How to get ==
Click here to buy: http://www.geeetech.com/lilypad-temperature-sensor-p-736.html

Latest revision as of 01:02, 28 August 2015

Overview


Detecting temperature changes has never been easier. The MCP9700 is a small thermistor type temperature sensor. This sensor will output 0.5V at 0 degrees C,

0.75V at 25 C, and 10mV per degree C. Doing an analog to digital conversion on the signal line will allow you to establish the local ambient temperature.

Detect physical touch based on body heat and ambient conditions with this small sensor.


Download

FIDI driver


USE

1.Connect Uno and LilyPad Temperature Sensor like as:

Uno ------ LilyPad Temperature Sensor

5V -------- +

GND ------- -

A0 -------- S


2.Upload the 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);

};


3.Open the monitor


How to get

Click here to buy: http://www.geeetech.com/lilypad-temperature-sensor-p-736.html