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

Simulation of temperature sensor value in Packet Tracer no real hardware

I am using packet tracer to design a system, in the simulation I should emulate two Raspberry Pi's, but I cant get the first part to work where the first Pi should just get the value of the temperature sensor, I use python, but the value is not…
1
vote
2 answers

Collapsing raster data in R

I'm currently working with climate data from https://www.worldclim.org/data/worldclim21.html and I'm trying to obtain the max & min temperature for the 196 provinces of Peru. So far I've used this code: my_shape <- st_read("multipolygon shapfile…
Alfonso R.
  • 11
  • 1
1
vote
0 answers

How to solve conflicting declaration on the Library?

This is my code to build SHT10 reading. But I got an error message. It says that pin D1 is conflicting between Sensirion.cpp and arduino.h #include #include SensirionSHT Sensor = SensirionSHT(4, 5); long delayTime =…
Vina Vinesta
  • 11
  • 1
  • 2
1
vote
1 answer

Raspberry Pi Control LED Base on CPU Temperature with Python

I'd like some help getting this python code to work with my Raspberry Pi. The goal is to turn on 1 of 3 LED's at a time (Green, Yellow, and Red) based on a CPU Temperature Range. This means: Green LED needs to turn ON when temperature range is less…
Merkava
  • 13
  • 3
1
vote
2 answers

what does the returned value of BLE thermometer mean?

I am using xiaomi LYWSD03MMC , I have got temperature of this device by BLE characteristics and it shows : 21 0a 17 7e 0b , However I know this is hex value but unfortunately i can't understand what does it mean.I only know the number 17, which is…
M.Minbashi
  • 244
  • 1
  • 3
  • 12
1
vote
0 answers

I want to get a lot of patterns of heat sensor but I don't know how and what should I do?

#include #include #define PCTL 0x00 #define RST 0x01 #define FPSC 0x02 #define INTC 0x03 #define STAT 0x04 #define SCLR 0x05 #define AVE 0x07 #define INTHL 0x08 #define TTHL 0x0E #define INT0 0x10 #define T01L 0x80 #define…
1
vote
0 answers

Testing sysfs thermal driver APIs

I'm setting and reading different values of the temperature threshold. I set it by echoing the value to the following file: /sys/devices/virtual/thermal/thermal_zoneN/trip_point_X_temp It works fine but how do I verify the behavior through logs? Is…
xyf
  • 664
  • 1
  • 6
  • 16
1
vote
0 answers

MAX6675 with PIC18F45k22 Data transmission via UART Problem

I am using MPLAB XC8 to program pic18f45k22 to read data from 2 thermocouples. The code showed 2 problems, The first is that during simulation, the data from the sensor is shifted (sent to the second address) for Example: if I have 2 addresses 0x0D…
1
vote
1 answer

Why does Android Humidity Sensor doesn't work?

I created an application that reads data from various sensors. The problem is that in the case of the humidity and temperature sensor, no information is displayed. Other sensors work without any problems. Properly working Light Sensor code: public…
1
vote
2 answers

Find out from weather data whether there was a tropical night

I have a lot of weather data, where I have the temperature every hour. Now I want to find out whether there was a tropical night in the whole last month. Definition from tropic night: "A tropical night is a night in which the lowest air temperature…
SwissCodeMen
  • 4,222
  • 8
  • 24
  • 34
1
vote
2 answers

3D Oceanic Temperature Interpolations in MATLAB

I am running autonomous underwater vehicle missions which give me lat, long, depth, and temperature data that I am trying to create 3D interpolations with. I am able to create the 3D model of the environment but I am trying to have the color fill be…
Emily S
  • 15
  • 5
1
vote
1 answer

Comparing pixels between image and colourbar

I am working on a project where I have to extract the pixels from a thermal image and convert it into temperature to detect the respiratory time, using which I can detect the respiratory rate. I have done upto detecting the object(i.e the nostrils),…
1
vote
1 answer

Ubuntu lm-sensors: large instantaneous temperature jumps on Intel core i7

I am attempting to do some data science with CPU core temperatures. I need to monitor how CPU core temperature changes over time. I am attempting to use two tools to do this: lm-sensors for measuring core and package temperature stress for…
1
vote
3 answers

Convert Fahrenheit temperature value to Celsius with SQL Query

In my device_events table I have a sensor column which contains an array of sensor data. I have specifically pulled temperature from this array, however temperate is captured in our system as Fahrenheit. It is not defined anywhere to be Fahrenheit,…
The-Rizzler
  • 41
  • 2
  • 4
1
vote
1 answer

Adapting Smartphone Camera to derive Blackbody temperature

At first blush this presumably means - (1) looking only at lower IR frequencies, (2) select a IR frequency cut-off for low frequency buckets of the u/v FFT grid (3) Once we have that, derive the power distribution - squares of amplitudes - for that…
MKhomo
  • 179
  • 1
  • 10