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
1
vote
2 answers

Read PT1000 with Raspberry PI3 Windows 10 iot

I'm planing on building a simple app, to read 4 PT1000 temperature sensors. I currently have a pcf8574a chip with 4 analog inputs, but how do I read the values within the UWP app? Can anyone point me in the right direction? Do I have to buy another…
Jesper
  • 11
  • 2
1
vote
0 answers

Max6675 k thermocouple raspberry pi 3 using Nodejs

I'm working on a project using raspberry pi. I need to get max6675 temperature reading using nodejs. I can get values using python but after running for sometime Error: Exception in thread Thread-1 (most likely raised during interpreter…
1
vote
2 answers

Looping code to model hourly temperature from daily maxima and minima in R

My ultimate goal is to use R to model hourly temperatures from daily temperature maxima and minima, spanning the years 1986 to 2017. I've successfully written code for a single date's data, but am having trouble applying this code across many dates.…
Monte
  • 131
  • 10
1
vote
0 answers

How to setup a heatmap, for temperature on Grafana

I'd like to be able to setup a heatmap on Grafana that will show me the temperatures recorded over say a week showing me what the frequency of temperature over 24 hours. So for example I've noticed that my temperature seems to peak around 7PM so I…
Chrisjc
  • 11
  • 2
1
vote
0 answers

Flir Duo - Thermal Image to Temperature Matrix Conversion

I am not sure if it is the right forum to ask questions regarding Flir Duo but I couldn't find a better place to ask the question. Currently, I am using a Flir Duo along with BlackMagic Decklink and OpenCV. When I print the captured frame it prints…
Milan Jain
  • 459
  • 7
  • 17
1
vote
2 answers

How to get average CPU temperature from bash?

How can I get the average CPU temperature from bash on Linux? Preferably in degrees Fahrenheit. The script should be able to handle different numbers of CPUs.
xinthose
  • 3,213
  • 3
  • 40
  • 59
1
vote
1 answer

Conglomorating hourly temperature data in R

My goal is to find the minimum and maximum daily temperatures and add them to a data frame. My current data frame looks like the following: ROW DATE_TIME TEMP (DEG C) 1 5/1/1999 4.6 2 5/1/1999 3.8 3 5/1/1999 2.9 I am attempting to get…
1
vote
0 answers

Windows CPU temps

How can I check CPU temp from the command line in Windows 10? I have an older computer that I installed a pre-assembled CPU cooler with radiator from Corsair, and I think that it is failing because I get CPU overtemp messages at reboot. I realize…
Virgilio
  • 41
  • 1
  • 9
1
vote
0 answers

How to send the warning message one time only when the device temperature was greater than 25 or less than 19 using node js

Here is the code but I still can't figure out how to do it can send one time message only: if(temperature>25){ //for sending the message to the email var mailOptions = { from: 'sender@gmail.com', to:…
johnhour
  • 119
  • 3
  • 14
1
vote
0 answers

Javascript: read a local file and print data in a chart

I have made a web page with html + JavaScript. My goal is to read temperature data from a text file and print it as a chart. The text file looks like this: 23.03.18 16:49:01,C,23,652 23.03.18 18:04:01,C,24,152 23.03.18 18:07:01,C,25,342 The first…
Patrick
  • 11
  • 1
1
vote
1 answer

Program to convert between Fahrenheit, Celsius and Kelvin

I'm looking for some help on a C program. Our professor showed us an example where we would input a temperature in degrees Celsius or Fahrenheit and have it converted to the other. I found it interesting and tried taking it a step further, adding…
J'Neal
  • 11
  • 3
1
vote
2 answers

Pyqt5 - how to update label with temperature (ds18b20)

Im trying to build a temperature monitor using pyqt5 on a raspberry pi 3 with ds18b20 sensors attached. I am pretty new to python and pyqt5. The Gui file (frameless.py) was developed with QT 4 designer. The Gui should serve as a basic example for a…
drk
  • 13
  • 3
1
vote
2 answers

Programming a temperature sensor in python

I'm trying to make code for my temperature sensor. Been stuck on a NameError when I try to execute the code. My question is, does anyone have a clue what I am doing wrong? Code: import datetime from sense_hat import SenseHat def hotwater(): …
1
vote
1 answer

RaspberryPi 3 temperature sensor remote I/O error (python)

I have a temperature and humidity sensor connected to my RPi via 3.3v power, GND and SDA and SCL. I am trying to get a temperature reading from it but I keep getting a "OSerror: [Errno 121] Remote I/O error". The i2c interface is enabled and…
1
vote
1 answer

Android Things UserSensor: how should I set the accuracy of a sensor?

I have one temperature sensor that provides values with 0.25 °C of resolution but has an accuracy of ± 3 °C. So if I get 23.75 °C it could actually be anything between 26.75 °C and 20.75 °C. How can I specify this using the…
Roberto Leinardi
  • 10,641
  • 6
  • 65
  • 69