Introduction: Arduino Easy Temperature Sensor

Picture of Arduino Easy Temperature Sensor

Hello on this Instructable i will be showing you how to make and program a quick and easy temperature precision sensor using Arduino UNO.

For this project you will need little or no experience since its very easy and quick to make.

If you have any question ask and ill be able to help. Thank you!!

Step 1: Materials

Picture of Materials

This are the things we will be using to make our temperature sensor:

1. Computer

2.Arduino UNO Microcontroller

3. Solderless breadboard

4. USB cable

5. TMP36 precision temperature sensor

6. 5x Premium Jumper wires

If you dont have any of these materials you can buy them at your local electronics store or at Radioshack.

Step 2: Breadboard Layout

Picture of Breadboard Layout

For this project i am going to use a small solderless breadboard.

The first thing we have to do is to connect ground and the 5 volts connector from our Aduino to the breadboard.

The next thing we are going to do is connect the TMP36 sensor on pins 5, 6, 7.

Step 3: Creating the Program

Picture of Creating the Program

This is going to be the program that will be monitoring our temperature:


int temperaturePin= 0;

void setup()

{

Serial.begin(9600);
}

Void loop()

{

float temperature = getVoltage(temperaturePin);

temperature = (temperature - .5)*100;

Serial.println(temperature);

delay(2000);

}

float getVoltage(int Pin){

return (analogRead(Pin)*.004882814);

}

Step 4: Get the Temperature

Picture of Get the Temperature

To see our temperature we are going to open our IDE and run the program on the arduino.

On the superior right corner theres a little button that looks like a magnifiying glass, we are going to click it and our temperature will be displayed there every (2000 miliseconds = 2 seconds).

Step 5: The Final Step

Well our temperature sensor worked well but "does it have to be connected to the computer?" the answer is "NO" you could add a portable power supply and a LCD display to monitor your temperature anywhere you want.

Thank you for watching this instructable i hope it works for you and you enjoy it, if you have any questions just ask ill be able to help you.

Comments

ricobucod (author)2015-07-01

hello can i ask something?, what are the possible things that are usually use with the temperature precision using that arduino

MsSweetSatisfaction (author)2014-08-23

Neat! Thanks for sharing your process and explaining the intricacies so well!

thank you !!!

About This Instructable

2,311views

33favorites

Bio: Hello its RA productions here. We hope that the Instructables we made where helpful to you we will keep making more of them. If you ... More »
More by RA productions:DIY Water Pump with coverLight saber (Star-wars) DIYArduino easy temperature sensor
Add instructable to: