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
4
votes
1 answer

CPU Temperature for Linux OS / Intel 64 bit Architecture

I have come across several post to read CPU temperature ad fan speed[ 1, 2], but could not find any post for the 64-bit i7 Intel architecture (quad core) using Linux OS. Can any one point to any article and/or source code that can read individual…
Shan
  • 5,054
  • 12
  • 44
  • 58
4
votes
4 answers

Creating a line graph with highcharts and data in an external csv

I've read through the Highcharts how-to, checked the demo galleries, searched google, read the X amount of exact similar threads here on stackoverflow yet I cannot get it to work. I'm logging data in a csv file in the form of date,value. Here's what…
Maxion
  • 45
  • 1
  • 4
4
votes
3 answers

Get hard disk temperature using Python

I would like to get the temperature of a hard disk using Python (under Linux). I'm currently calling hddtemp with subprocess.popen, but I call it often enough that it is a performance bottleneck in my script. I think it should be possible to do…
mrtasktat
  • 323
  • 1
  • 4
  • 12
3
votes
5 answers

C -- Conditional always jumping to 'Else'?

I am working on learning C and am using some practice problems from the Python book I recently finished. My C book is in the mail, but I wanted to get a head start. I was putting together a simple temperature conversion program and for some reason…
cgc
  • 98
  • 5
3
votes
1 answer

Can't solve this synchronization SPI problem

So, I am integrating a MAX31865 temperature sensor in a NUCLEO-F103RB board using SPI communication. It doens't seem to be working well, since I just can't send a single Write Transmission: enter image description here I am just using this…
3
votes
0 answers

How many devices can be connected to one wire bus

How many devices can be connected to one wire bus and how many temperature sensors(DS18B20) can be connected to Raspberry Pi 3b+?
3
votes
0 answers

Plenty of reading errors in Python with Adafruit Library for DHT22 on a Raspberry Pi Zero W

I'm using a DHT22 temperature and humidity sensor with a Raspberry Pi Zero W V1.1 to log temperature and humidity. I use Python and Adafruit library (https://github.com/adafruit/Adafruit_CircuitPython_DHT) and even that I'm able to read the data, I…
3
votes
1 answer

Grouping xarray daily data into monthly means

I am hoping to plot a graph representing monthly temperature from 1981-01-01 to 2016-12-31. I would like the months "Jan Feb Mar Apr May...Dec" on the x-axis and the temperature record as the y-axis as my plan is to compare monthly temperature…
3
votes
0 answers

Intent for over-temperature recovery on Android

We have found that our Android device (Samsung Galaxy Tab Active2) kills all apps with a warning message when the battery temperature exceeds about 55 deg. C. The device does not power-down however. What we want to do is find a way to…
Tony
  • 31
  • 2
3
votes
1 answer

Where Can I Find the Throttling Temperature and Shutdown Temperature for a CPU?

I am going to do some improvements to a Multi-Threaded program that I wrote, and after each improvement I would like to measure the results, by running the program for some time. Those tests will be CPU intensive, and since I compare each…
spaceman
  • 1,061
  • 1
  • 11
  • 31
3
votes
1 answer

GPU temperature reads 88 C when training a LSTM on tensorflow

I've got a 1 layer LSTM model in tensorflow and the temperature reading of my GPU gets rather high during the training phase. Always varying between 80 C and 90 C. My GPU is a water cooled gtx 1080 "Super-clocked" edition in a 24/7 refrigerated…
3
votes
2 answers

Arduino temperature sensor counting back

I am trying to get my new velleman vma320 to work with my arduino. It doensn't work at all, the temperature goes down its heated up. I've tried everything. Can somebody help me? Here is my code... int SensorPin = A0; void setup() { …
3
votes
2 answers

Can arduino tell room temperature by voice call using sim900?

I'm building a temperature monitoring unit with arduino, LM35 and a 16*2 LCD display. Now I am going to integrate this unit by SIM900A GSM/GPRS module and I get temperature readings by SMS. Now my question is, can I get those values by voice…
Dileep
  • 65
  • 1
  • 1
  • 8
3
votes
2 answers

Python Raspberry pi - If path doesn't exist, skip the loop

I have a function to collect temperature (values from text files) which uses a partly predefined path. However, sometimes the path does not exist if the temperature sensor wasn't loaded (is disconnected). How can I set a condition or exception to…
Miroslav
  • 33
  • 3
3
votes
3 answers

Get GPU temperature in Android

I'm developing an Android application to manage GPU temperature. In the same way I read CPU temperatura (/sys/devices/virtual/thermal/thermal_zone0/temp) I was searching something to get the temperature for GPU in Android but coouldn't find…
Joca
  • 45
  • 1
  • 9