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

What is the good format for temperature in SwiftUI TextField?

I need to create a TextField with input value for temperature that the user wants to convert. The code: import SwiftUI import Combine private final class TempConverterViewState: ObservableObject { @Published var temperatureInput =…
Swantewit
  • 966
  • 1
  • 7
  • 19
1
vote
3 answers

My application keep crashing when I click on the convert button even though my codes have no fatal errors

I am trying to build an application for my mini assignment, it is to create a temp converter tool. However, most of the codes out there are in java and since my assignment must be done in Kotlin. I must figure a way out myself. This is my current…
Fumin
  • 33
  • 7
1
vote
0 answers

Interpolate temperature values (with associated lat and lon values) at different depth intervals using Krig function in the 'fields' package

I have temperature data points in different depth intervals with associated lat long values across the study area. I want to make a raster and then interpolate between cells of the raster where there is no data. I can do it using Krig in the fields…
Leandri
  • 11
  • 2
1
vote
0 answers

is it possible to use normal camera as thermal using RBG color grading?

I am working on a project of thermal detection(temperature measurement ) but thermal camera are expensive, Is there is any way to do this using normal camera , by using RBG color grading so to complete it in less cost.
1
vote
0 answers

Temperature sensor : MCP9808 - Raspberry PI

I try to plug 2 MCP9808 Temperature sensor on my Raspberry PI, but I think that it's not without a GPIO Expander, right ? Only one MCP9808 is not a problem, but 2 is impossible without an GPIO expansion…
cretthie
  • 349
  • 1
  • 2
  • 11
1
vote
0 answers

BMP280 Temperature reading 0x000FFFF0

I have a BMP280 (GYBMP280 datasheet) connected to a Raspberry Pi 3 using the IC2 interface (address 0x76). The GYBMP280 is connected to the 3.3V (Pin 1). The Pressure readings seem to be fine - it fluctuates ever so slightly as expected. However,…
Stefan
  • 21
  • 2
1
vote
0 answers

k10temp Chip Temperature Threshold Adjustment

Is there any way to adjust the threshold of k10temp Chip I am not sure is it possible or not, My sensors output is below, k10temp-pci-00c3 Adapter: PCI adapter temp1:    +66.5 C (high = +90.0 C) k10temp-pci-00cb Adapter: PCI adapter temp1:    +46.4…
VinRocka
  • 299
  • 4
  • 15
1
vote
1 answer

Create index multiplying number of days over a threshold by amount over threshold by group in R

I am working with a moose telemetry dataset in R consisting of multiple moose, multiple gps locations per moose per day, and temperature data acquired per day. I want to create an index of thermal stress by taking the number of days a moose…
Kelly.M
  • 13
  • 3
1
vote
2 answers

CMIP6 future climate monthly timeseries

I am very new to working with future climate datasets. I would like to know if future climate data (total precipitation and min-max temperature) from CMIP6 are available as monthly timeseries. For example, I would like total precipitation and…
Rekha
  • 33
  • 4
1
vote
0 answers

Trouble with 1602 LCD display displaying additional decimal points using a raspberry pi pico and DHT22 sensor as a weather station

I'm still new at coding and was able to put together some code from other sources for a simple weather station I built. Everything seems to be working fine but I do get the occasional hiccup where temperature readings on the display show additional…
Fred
  • 11
  • 1
1
vote
1 answer

Time Series: Fill NaNs from another dataframe

I am working with temperature data and I have created a file that has multi-year averages of few thousand cities and the format is as below(df1) Date City PRCP TMAX TMIN TAVG 01-Jan Zurich 0.94 3.54 0.36 1.95 01-Feb Zurich…
RoshADM
  • 87
  • 1
  • 7
1
vote
1 answer

MODBUS RTU-RS485 ISSUE Temperature and Humidity, cannot read both at same time

I have a Temperature and Humidity Sensor (R444A01) connected to a LogicMachine (LM5LP2) via MODBUS RTU (RS485 port). Sensor R444A01 Datasheet (Please bear in mind we are talking about a non-expensive device, poorly documented and with no support,…
David
  • 21
  • 6
1
vote
0 answers

Define saturation temperature? other properties in function of P and Quality?

I am new in Dymola and I am having some problems to calculate some properties of my working fluid (methane), is there a way to define the saturation temperature, latent heat of vaporization, density, in function of the Pressure and Quality (Q=0…
ea7v
  • 43
  • 3
1
vote
1 answer

Getting CPU Temperature from the android device

I am trying to get the temperature of device . I have used Environment Sensor (Ambient Temperature) but this is not working on most of the devices. I also used commands like " sys/class/thermal/thermal_zone0/temp" but no luck. Please let me know if…
1
vote
4 answers

Python Temperature class converter (K,F,C)

Here's what's I'm trying to do : I want to code a working python class that convert everything by himself just by giving it a random value. What I want exactly is the following : >>> first=Temperature() >>> first.celsius = 60 >>>…
Lulzsec
  • 281
  • 2
  • 11