Questions tagged [temperature]

A simple definition of temperature is that it is a measure of heat dissipation, This tag can include programming related questions like temperature conversion, temperature detection through device sensors etc.

The temperature of a device is a quantitative measure which indicates how hot or cold the device is, temperature sensitive sensors can be used to make an alarming signal and can be programmed in various programming languages. It is measured by detection of heat radiation by a temperature sensing material, which may be then calibrated in any of various temperature scales, Celsius, Fahrenheit, Kelvin, etc.

Usage of Tag temperature

The tag temperature on stackoverflow can be used to ask questions related to programming a device or application, to sense temperature of a room/device. Tag temperature should be only used for questions related to programming, Please do not ask here questions related to physics or thermodynamics.

624 questions
0
votes
1 answer

Creating a temperature-sensing Android app that runs in the background after activation

I am developing an Android application that will keep track of the temperature of the battery of the phone. When the temperature of the battery exceeds some certain value, another activity will then give an alert which is an alarm. How can I let my…
WeSiang
  • 1
  • 1
0
votes
1 answer

Check Motherboard Sensor Data in real time with c#

I have been looking for a solution to check fan speeds and temperature data from the motherboard's sensors in real time. WMI seems to give you only one reading that never updates and every one seems to be saying to use Open Hardware Monitor but the…
Josh Elias
  • 3,250
  • 7
  • 42
  • 73
0
votes
1 answer

Change the Marker based on Temperature

I have a sample fusion table map here http://jsfiddle.net/qEGpz/ I want to set the marker to red_stars based on temperature >75 degree. But my code doesn't work correctly. Link to my fusion table is here…
-1
votes
1 answer

JSF Temperature calculator

I am trying to create a temperature conversion program in JSF. It has got one textbox and two radio buttons to select between CEL to FRA and FRA to CEL and a submit button. I am problem getting the value of the radio buttons. I have pasted the code…
user997611
  • 51
  • 1
  • 3
  • 6
-1
votes
2 answers

Is there any way in debian/ubuntu to put CPU under load until it reaches a certain temperature?

I need this for some stress testing with my CPU. It uses Linux-Debian/Ubuntu OS and I was wondering if there's any way that I could put it under load until it reaches a certain temperature. Are there any commands, packages or bash scripts for…
Leo
  • 11
  • 5
-1
votes
1 answer

3D plot of monthly temperature in R

I want to plot 3D temperature distribution to demonstrate the trend of temperature according to years and months in the same graph. The x and y axes denote the month and year. The z-axis shows the hourly temperature. How to show multiple…
Jimin Eom
  • 9
  • 3
-1
votes
1 answer

It says user temperature not defined as an undefined variable in vs code

import math import time from unittest import result print("welcome to the temerature converter ") def again () : try_again = print("your temperature | C | F | K | ").upper() convert_temperature = input("The temperature you want to…
-1
votes
1 answer

Temperature conversion Table

I need to write a program that displays Celsius to Fahrenheit temperature conversion in a table. Question - What is the correct way to print a specific index within a list. My attempt comes from the answer to a similar exercise outlined here.…
Centiflow
  • 21
  • 2
-1
votes
3 answers

How to display different color depending on temperature?

I am receiving data from an XML with info about the weather from some locations. I am fetching info about the temperature, which I want to display like this: If the temperature is above 13, the numbers shall be displayed in red If the temperature…
andreasv
  • 450
  • 1
  • 4
  • 15
-1
votes
1 answer

Using Omron D6T-8L-09 H sensor we measure human temperature incorrectly

For example; I'm measuring my body temperature. The value I read is (tP [2] + tP [3] * 256) = 182 or 181. Because MSB bytes always come at 0. But sensor body temperature is OK, not wrong. bus.write_byte(DEVICE_ADDRESS,…
ARZU
  • 1
  • 1
-1
votes
1 answer

is there a way for python to check for value change and then trigger a function?

I am doing a school project that is using a raspberry pi model 3b and dht11 to measure the temperature. I want the temperature data to be sent to a cloud service(Beebotte) only when the value of the temperature is increasing or decreasing. Do I need…
Loon
  • 75
  • 6
-1
votes
1 answer

Netatmo Api - Need Hlep for if Temperature X then else

I use the Netatmo api to Show Data of my Netatmo in my Private php Page. Code: $password="xxxx"; $username="xxxx"; // Daten vom Entwickler Account der Netatmo Seite $app_id = "xxxxx"; $app_secret = "xxxxxx"; //…
-1
votes
2 answers

Why does the temperature "T" not change when I change total time "t" for 2D transient heat conduction using explicit FDM?

I have the following code for a rectangular plate of copper with 0.2 mm thickness and 25 mm width. It is actually irradiated with a laser of heat flux q=1.12*10^10 W/m2 at the center of copper for 12 ms The problem is modeled using 2D transient heat…
sreeni1853
  • 21
  • 3
-1
votes
1 answer

Temperature Regulation Circuit Arduino

I am currently working on a water flow control system using an arduino. The goal is that I can set the temperature of the water stream using the arduino. I have a Y shaped part of hosing. On the upper left arm of the Y piece I have a constant stream…
faxe1008
  • 35
  • 7
-1
votes
1 answer

How to get from sqlite3 database min/max value of temperature?

I have sqlite3 database with stored temperatures in table like this: Data|Adres|Temperatura 2019-01-06 19:00:17|28FF24E08416043D|12.6 2019-01-06 19:05:50|28FF24E08416043D|-1.0 2019-01-06 19:10:17|28FF24E08416043D|18.0 2019-01-06…
miszczu
  • 39
  • 5