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
13
votes
4 answers

How to get CPU temperature in Android

Sensor Type TYPE_TEMPERATURE has been deprecated [since Android 2.3] probably which was giving info about CPU temperature. Now we have Sensor Type TYPE_AMBIENT_TEMPERATURE which will provide us room temperature (none of my use, & btw not all…
jQueen
  • 552
  • 1
  • 7
  • 16
11
votes
1 answer

Java Swing - Localize Temperature

Is there a way to localize Temperature in Java? Like temperature format will be based on the locale? Because for example, for Norwegian language temperature format should be 14 °C. There should be a space before degrees symbol. But other languages…
Pseudonymous
  • 625
  • 1
  • 5
  • 13
11
votes
1 answer

Get sensor values (like Temperature of GPU and CPU) and fan speeds of Windows 10 PC

I've been trying to get a Python script to show temperatures for CPU, GPU and other availabile sensors in my hardware, but I haven't found anything useful. I tried using WMI to get those values, but my processor is apparently not supported. The code…
George Lazu
  • 301
  • 3
  • 10
10
votes
1 answer

Programmatically read CPU temperature (+ other sensor data) on MacOSX (Macbook Pros)

I'd like to programmatically read CPU temperature + any other interesting sensor data from my MacBook Pro (2009 model). How do I do it? I noticed a previous post pointing to this open source software, but it seems to be incompatible with my…
Prembo
  • 2,256
  • 2
  • 30
  • 50
9
votes
2 answers

tuning pid in systems with delay

I need to tune PI(D) gains in a system which has a quite large delay. It's a common temperature controller, but the temperature probe is far away from the heater. Some further info: the response of the probe is delayed about 10 seconds from any…
Mark
  • 4,338
  • 7
  • 58
  • 120
9
votes
4 answers

how to measure ambient temperature in android

I want to measure ambient temperature on android device. but my device doesn t include thermometer sensor. How can I measure it? Thanks.
Furkan
  • 428
  • 3
  • 5
  • 19
8
votes
3 answers

How to get the CPU Temperature info from Bios using c#?

How to get the CPU Temperature info from Bios using c# I gave a try to the code in CPU temperature monitoring But no luck. 'enumerator.Current' threw an exception. How can i achieve this ? Thanks. Error : "This system doesn't support the required…
Anuya
  • 8,082
  • 49
  • 137
  • 222
8
votes
2 answers

How to access Galaxy S5 temperature sensor?

In the manual on the page 19 there is an info on temperature sensor in S5. Temperature and Humidity sensor allows your device to read both temperature and humidity conditions. This is useful to calculate calories burned within S Health But I…
sandalone
  • 41,141
  • 63
  • 222
  • 338
8
votes
3 answers

How get battery temperature with decimal?

How can i get the battery temperature with decimal? Actually i can calculate it with int temp = intent.getIntExtra(BatteryManager.EXTRA_TEMPERATURE,0); But in this way the result will be for example 36 °C.. I want something that show me 36.4 °C How…
David_D
  • 1,404
  • 4
  • 31
  • 65
7
votes
2 answers

How to read temperature using arduino uno board with PT100 RTD sensor?

I am new to arduino programming. And almost inexperienced. I am looking to program my arduino Uno board to read 2/3/4 wire configuration of PT100 RTD sensor (in accuracy levels of atleast 0.5°C). The temperature range is 0 to 400°C and -50 to…
Mayur Agarwal
  • 71
  • 1
  • 1
  • 4
6
votes
2 answers

Get CPU and GPU Temp Using Python WITHOUT ADMIN ACCESS - Windows

I posted this question, asking how to get the CPU and GPU temp on Windows 10: Get CPU and GPU Temp using Python Windows. For that question, I didn't include the restriction (at least when I first posted the answer, and for quite a bit after that)…
KetZoomer
  • 2,701
  • 3
  • 15
  • 43
6
votes
3 answers

how to get android cpu temperature programmatically

Tried this but got 0.0 and on physical device nothing found.. Any way to get cpu temperature in android SensorManager mySensorManager = (SensorManager) getSystemService(SENSOR_SERVICE); Sensor AmbientTemperatureSensor =…
Zeeshan Mehdi
  • 1,241
  • 1
  • 17
  • 18
6
votes
2 answers

Multiple thermocouples on raspberry pi

I am pretty new to the GPIO part of the raspberry Pi. When I need pins I normally just use Arduino. However I would really like this project to be consolidated to one platform if possible, I would like to do it all on the PI. So I have three (3)…
Craig Walker
  • 131
  • 2
  • 10
6
votes
4 answers

C# CPU and GPU Temp

I'm in the process of creating a personal monitoring program for system performance, and I'm having issues figuring out how C# retrieves CPU and GPU Temperature information. I already have the program retrieve the CPU Load and Frequency…
DanG
  • 91
  • 1
  • 1
  • 2
6
votes
3 answers

Galaxy s3 has Temperature sensor?

I am creating a thermometer app in android when I test on Galaxy S3 it shows that TYPE_AMBIENT_TEMPERATURE NOT Available TYPE_TEMPERATURE NOT Available I want to know that Galaxy S3 has above sensors or not? or How I can solve this issue to get…
user3409263
  • 117
  • 1
  • 4
  • 11
1
2
3
41 42