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
2
votes
0 answers

How to get temperatures from a heat map of a video using python opencv

I made a program that reads from an IR camera and generates the corresponding heat map in real time. What I am trying to do now is try to map what I see in the output to temperature, that is I want to display in a graphical way what the temperature…
edwin biju
  • 21
  • 1
  • 2
2
votes
1 answer

Mapping temperature data from an .nc file in R

I downloaded temperature data from [NARR] (https://www.esrl.noaa.gov/psd/data/gridded/data.narr.monolevel.html) specifically "Air temperature at 2m" -monthly mean I opened the file using the package "ncdf4". The data has 4 dimensions- time, x, y,…
mp_ylee
  • 31
  • 1
  • 5
2
votes
2 answers

Obtain Motherboard Sensor Data

How can I read data from motherboard sensors in C#? I mean: CPU temperature, GPU temperature, fan speeds, CPU and GPU usage, etc. I have Asus P5LD2-X/1333 and Nvidia GTS 250 1024.
Hooch
  • 28,817
  • 29
  • 102
  • 161
2
votes
1 answer

C# program to raise PC temperature

I'm cold and want a C# program to best raise the PC temperature so fan outputs more heat but don't want windows to lock up. I've looked for USB desk heaters but best I have found is a mug warmer. Unfortunately boss's tight and do not allow…
Jay Byford-Rew
  • 5,736
  • 1
  • 35
  • 36
2
votes
3 answers

How do I put label under radio button within a panel with Java Swing/awt

There is 3 panels which I created as seen in the image. The first panel is the "From" panel, second is "To" panel, and third is the buttons panel. So the question is, how can I put a new line for the "Enter Temperature: [ ]" so that it will be…
Ojouk
  • 25
  • 1
  • 5
2
votes
2 answers

Better precision with Arduino (floats)

I'm trying to do the Steinhart-Hart temperature calculation on an Arduino. The equation is I solved a system of 3 equations to obtain the values of A, B and C, which are: A = 0.0164872 B = -0.00158538 C = 3.3813e-6 When I plug these into…
Austin
  • 6,921
  • 12
  • 73
  • 138
2
votes
1 answer

read temperature sensor value on intel edison using python mraa

I have configured temperature sensor with intel edison. I am trying to read temperature sensor values using following python code import mraa import time import sys import math tmp = mraa.Gpio(2) tmp.dir(mraa.DIR_IN) i=0 while i<100: print…
user3313379
  • 459
  • 10
  • 21
2
votes
2 answers

Performing Calculations from Slider Values in Swift 2

I'm trying to calculate values from a UISlider in real time but am having errors in Swift 2. It's a simple temperature conversion App. Can someone have a look please? @IBOutlet var Fahrenheit: UILabel! @IBOutlet var Celcius: UILabel! @IBOutlet…
zacsprint
  • 23
  • 1
  • 7
2
votes
2 answers

Android Beacon Library Eddystone Telemetry. Temperature

Android Vers. > 4.3 Standard Android Beacon Library Estimote Beacons. Eddystone-UID package Telemetry package. I'm trying to read the temp sensor transmission from the Telemetry package of a Eddystone-UID package transmission. I can successfully…
William
  • 43
  • 6
2
votes
4 answers

How to make an answer a floating number or integer depending on the number entered?

Currently working on an assignment and a bit stuck. We are to convert a temperature from Celsius to Fahrenheit. The final answer should output a floating point number if the answer is a decimal, or a integer if it's a whole number. I have it set up…
2
votes
1 answer

Simple Python Temperature Converter

I'm fairly new to programming, and have decided to start with Python as my entry into it. Anyway, I can't seem to figure out why this temperature conversion script I wrote isn't running. def convert_to_fahrenheit(celsius): c = celsius f = c…
xponent
  • 151
  • 2
  • 2
  • 10
2
votes
1 answer

Help with creating temperature humidity script

I am a completely inexperienced A level student trying to get to grips with python to complete an assignment. I have been given a week to complete it- I have very little knowledge of what to do and have no experience with coding - I am truly stuck…
2
votes
1 answer

How can I access cpu temperature readings using c#?

For a programming project I would like to access the temperature readings from my CPU and GPUs. I will be using C#. From various forums I get the impression that there is specific information and developer resources you need in order to access that…
Paul
  • 347
  • 1
  • 2
  • 12
2
votes
1 answer

Temp Converter Using JavaScript

I created this temp converter in JavaScript, it runs and calculates appropriately, but I am receiving some "unexpected behavior" and I'm struggling to understand why its happening. The behavior that is happening is if I click in the Celsius or…
2
votes
1 answer

Arduino led temperature sensor

I am trying to build a simple arduino thermometer that lights up a different LED depending on the temperature. I am using an adafruit 5v trinket and a 12 neopixel ring with a tmp36 temperature sensor. My problem is that only LED 11 lights up. I have…