633 questions
1
vote
1
answer
272
views
Trying to get the CPU temperature using several libraries returns wrong results
I want to get the CPU temperature using Python code. I’m using Windows 11 24H2 and Python 3.10.6. I’ve already tried using WinTmp.CPU_Temp():
import WinTmp
print(WinTmp.CPU_Temp())
>>> 0.0
...
0
votes
1
answer
38
views
AVR32DD20 internal temperature
I’m trying to read the internal temperature of the AVR32DD20 processor. Power supply = VREF = 3V3 (checked with multimeter), F_CPU = 24MHz, ADC operates with divider 2 = 12MHz.
Based on the ...
0
votes
0
answers
17
views
Method to dynamically model temperature in an enclosed space?
I am trying to make a model that dynamically predicts the temperature and humidity at any point in my enclosed room for a hydroponics project. I have placed temp and humidity sensors around the room ...
1
vote
1
answer
109
views
Issue with Adding a Temperature Sensor to DCPM Motor Model in OpenModelica
I am a beginner to OpenModelica, and I'm trying to build a model of a DC Permanent Magnet (DCPM)
motor to measure its temperature using a temperature sensor. My model is based entirely on the DCPM
...
0
votes
1
answer
199
views
HIGH TEMPERATURE ALERT using 8051
//Code for HIGH TEMPERATURE ALERT SYSTEM using 8051
#include<reg51.h> // Includes 8051 microcontroller definitions
// Function declarations
void delay(unsigned int i); // Generates a delay for ...
0
votes
1
answer
173
views
Calculate daily temperature and precipitation given a csv of lat/lon and dates
I have a csv with four columns: site ID, latitude, longitude, and a date. I need to calculate the average daily temperature and total daily precipitation for each site at each date. I am trying to use ...
0
votes
0
answers
154
views
How to map thermal image to temperature values?
I take pictures using a MicaSense Altum-PT camera which uses "320 x 256 FLIR Boson" as its thermal sensor. The saved thermal images are completely gray color (tif format). The raw pixel ...
1
vote
0
answers
87
views
What is SiLabs equivalent of Arduino's analogRead()?
I need to get the output of a DHT11 temperature sensor for a club project but unfortunately we are only given SiLabs BGM220 Explorer Kit instead of a Arduino board.
The SiLabs Documentation is no help ...
0
votes
1
answer
915
views
CPU Temperature data not showing in Powershell via LibreHardwareMonitorLib
Im trying to get various metrics of a windows system using LibreHardwareMonitor (primarily focused on temperature), and im limited to cli. Since i can load the LibreHardwareMonitorLib.dll file (as ...
0
votes
2
answers
49
views
Average and sum between two dates, from a daily data frame
I have a data frame with daily temperature data. I would like to calculate the average between two dates from a second data frame and add the results in a new column.
The average temperature must be ...
0
votes
0
answers
45
views
Seeking Solutions for Temperature Rise and Performance Impact When Merging CALayers in Swift Drawing App
Body:
I've developed a drawing app in Swift that offers various brush types with different textures, implemented using CALayers for brush strokes. However, l've encountered a temperature increase and ...
0
votes
1
answer
61
views
Assign temperature to nodes in Abaqus
Hi I want to select all the nodes that are located at x = 8 mm and assign temperature value of 500 to them. I used so many codes to do that but could not find the solution. I have put part of the code ...
0
votes
0
answers
160
views
How to extract temperature data form a file with an extension .ravi in python
I have a *.ravi file generated from optris IR camera. I'm able to extract frames from ravi file. but i can not find the solution how to get temperature from that. Suggest me on how to extract ...
1
vote
1
answer
75
views
controlling solid state relay by rotary encoder error
I am making this project for my school: a whole fridge using Arduino. I used a ds18b20 temperature sensor, tm1637 to display the current temperature inside and a solid state relay to start the motor ...
0
votes
2
answers
87
views
count total number of days temperature exceeds 30C during the last 7 days
I have a dataset from a survey, with the first column containing IDs and the second column containing interview dates formatted as yyyymmdd, ranging from January 1, 2021, to February 28, 2021. ...
1
vote
1
answer
470
views
Reading I2C HDC1080 sensor using the ULP RISC-V coprocessor on an ESP32-S3
well I am trying to read temp value at deepsleep with ESP32S3 ULP Riscv coprocessor from HDC1080 sensor with I2C .At first I write the code at Arduino for testing. it works fine
double temp() {
...
1
vote
1
answer
163
views
Python pint convert 1/°Fahrenheit to 1/°Celsius
I use the python package pint and want to calculate e.g. 1 m/°F to m/°C.
from pint import UnitRegistry
ureg = UnitRegistry() #autoconvert_offset_to_baseunit = True
quantity = ureg.Quantity
fromvalue =...
0
votes
1
answer
73
views
Blackpill's adc read error when trying to read an NTC
Devboard: Blackpill WeAct v3.0
MCU: STM32F401CEU6
IDE: Platformio
Core: STM32duino
I'm trying to rean an NTC using a simple voltage divider with a capacitor for filtering as shown in the circuit ...
0
votes
0
answers
172
views
Read analog temperature Raspberry Pi
The conversion formula does not work as expected(21.6 Celsius degree in the room but will return another value of 34 or more depending on the formula used).
I use a KY-013 temperature sensor and the ...
0
votes
0
answers
42
views
out of order time points on multi line chart
I'm prototyping and trying to create a code to use on Apache that will display data from multiple temperature sensors on a multi line chart. (in the feild the sensors will be reading values with more ...
2
votes
2
answers
97
views
How to remove everything except numeric elements in R
My apologies because there is certainly many similar questions and answers but I've tried a bunch of the suggested answers and sadly no dice.
I've got temperature data in three columns of a dataframe (...
1
vote
1
answer
743
views
Get Health data on WearOs watch, not on phone
I am creating an app for Samsung watch 6 which is using WearOS. I want to show following health data directly from the watch, independent of it being connected to any phone.
Heart Rate
SPO2
...
0
votes
1
answer
190
views
how to find the b and v colour filter magnitudes to get the temperature of a star
I'm trying to retrieve b and v magnitudes for a specific star from the Sloan Digital Sky Survey (SDSS) database, but I'm facing some challenges with my code.
Here are my requirements:
I need to input ...
-1
votes
1
answer
742
views
How to manipulate data ERA5-land in R
This is the first time I work with the spatial data so I really need your help.
I tried to download data ERA5-land monthly from this using python (with the format netcdf.zip). I chose the subregion ...
0
votes
0
answers
77
views
bubble pressure calculation using pc saft
I am trying to calculate bubble point pressure of Methane-Benzene binary mixture at 421.05 K using following code.
I am getting solution error "SolutionError: A solution was not found for flashTQ....
0
votes
2
answers
587
views
Can't Get Historical Weather Data using WeatherKit in SwiftUI App
I am trying to use WeatherKit in a SwiftUI app to get historical weather data for a range of dates. The info in this post:
Can't Find WeatherKit Historical Data and Trouble with Attribution
Leads ...
0
votes
1
answer
77
views
Interpolate values (e.g. for temperature) in a 3D space in R - not by selecting nearest neighbour but by calculation
I need to calculate values that are dependent on other values in their vicinity. Their location is known. In the given case the values are temepratures.
Consider a standup freezer (aproximately 1m x ...
0
votes
0
answers
274
views
get cpu temperature without elevated privileges
In windows 7 or in windows 11 i want to display the cpu temperature using a python script.
The code i run successfully is:
import wmi
import pyuac
def main():
w = wmi.WMI(namespace='root\\wmi')
...
-1
votes
1
answer
141
views
Trying to avoid that my PC needs to shutdown while running CPU demanding programs. What I'm doing wrong?
My computer has an automatic protection system that prevents it from overheating, so when it reaches a certain temperature it protects itself by shutting down. I like this because I made a significant ...
0
votes
1
answer
355
views
Failed to read temperature from DHT22 sensor
I'm still new in this field. I make a project and I need to read temperature of the room (box). I try to read temperature using DHT22 sensor, but it alwasy failed. Instead of current temperature, ...
1
vote
0
answers
95
views
What is the meaning of the values in the Android log "thermal_repeater [recvMdThermalInfo]"?
I am investigating a custom made Android application issue which could be linked to a temperature problem.
I see the following log
I/thermal_repeater( 448): [recvMdThermalInfo] ret=32, strLen=127, 3,...
1
vote
1
answer
493
views
How to read CPU die temperature on a mac with python without being asked for a password?
From the code below I want to get the CPU temperature but the following error appears:
Error: sudo: a terminal is required to read the password; either use the -S option to read from standard input or ...
-1
votes
1
answer
88
views
Can i see temperature measurements for MLX90614 without using serial monitor?
Im using arduino UNO with MLX90614 and when i upload it, it seems to run properly but once i open the serial monitor to see the results, the measurements taken from the time i upload till the serial ...
0
votes
0
answers
927
views
Finding the Temperature of Mellanox card and other computer components in C++
I want to log the performance of my system on very intensive network loads (Sending over 100gbps). At some point after running my network at continous >100 Gbps loads (using my own C++ ...
0
votes
1
answer
515
views
Getting temperature values from a Grayscale image
I'm using a Anafi Parrot Thermal drone which has a thermal camera. It's been quite a struggle to do things with this drone as the support for the Olympe library is quite bad, however, I'm finally able ...
1
vote
1
answer
447
views
Get list of weather stations available in openweathermap API [closed]
I am trying to look for open source air temperature data providers and finally landed with openweathermap. Does it provide temperature measurements taken by personal sensors (Wikipedia says airport ...
0
votes
1
answer
330
views
Displaying '-' sign on seven segment display for negative temperature
I'm currently working on Arduino Nano. My task is to write a code to display the ambient temperature (-19 to 50) on the seven segment display using the temperature sensor. My code is almost correct. ...
0
votes
1
answer
127
views
how to calculate monthly average temperature in a time series for different years in matlab
I have a matrix including 2 columns .The first one indicates date from January first 2001 to December 31th 2020 and the second column shows the daily temperature.
I have a matrix including 2 columns. ...
2
votes
1
answer
440
views
3D Heat Equation in MATLAB
I am trying to model in MATLAB the temperature distribution inside a rectangular prism with boundary and initial conditions and heat equation I was trying to visualize 2D slices in the 3D shape. ...
4
votes
2
answers
729
views
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 ...
0
votes
1
answer
269
views
How can I convert Sentinel-3 LST data in NetCDF format to Geotiff format with coordinates using R?
I have Sentinel-3 SLSTR LST data stored in different NetCDF files. I know how to extract the Land Surface Temperature, LST, from the Sentinal-3 through the SNAP, but, I would like to use R to work ...
0
votes
1
answer
124
views
How to apply apply a focal filter to temperature data using information from a Digital Elevation Model in R software?
I have a temperature data raster and I want to utilize the focal function in R. However, before applying the focal function, I would like to examine if the surrounding pixels within a 5x5 window have ...
1
vote
1
answer
922
views
Using assembly to convert the temperature from Celsius into Fahrenheit, and back again
I am using the following x86 assembly instructions to convert from degrees Celsius into degrees Fahrenheit:
imul dword [NINE]
idiv dword [FIVE]
add eax, 32
For rather a lot of inputs this ...
0
votes
1
answer
481
views
Converting decimal number to 16 bit temperature binary
I have a question about conversion.
In a document about DS18B20 temperature sensor i need to convert 18.25C to binary.
Can someone explain how to do it.
I tried looking for answers on the internet ...
1
vote
0
answers
132
views
AndroidX API body temperature DataType availability
I was wondering if anyone knew when the temperature sensor will be included in the androidx API to use with the galaxy watch 5 pro for example?
I checked the possible DataTypes but i don't see it ...
1
vote
1
answer
180
views
How to subtract the effect of temperature on sensor data?
I want to analyze the data of a crack-meter (measures the aperture of a crack in the ground through the time). I have the temperature data from a nearby sensor.
I have stored them as time-indexed ...
1
vote
1
answer
202
views
How can I corrrect the following formula so I'll read the acurrate temperature?
Currently I'm working with a MSP-EXP430F5529LP microcontroller and a LM35, because I need to built a thermometer. The results will show on a seven segment, 4 digit display.
I'm using the following ...
0
votes
0
answers
586
views
How can I get the monthly maximum (and only the maximum) temperature in CDO
I have a file with daily temperature data from 1972 to 2022, with a gridsize of 841 for each timestep. When I use -monmax command, I get three columns on the screen: min|mean|max, but I only want the ...
0
votes
0
answers
35
views
Why won't my program let me input whether I'm converting from Fahrenheit or Celsius? [duplicate]
Hi I am trying to make a small temperature converter but I cannot input what unit I'm starting from. What is wrong?
import java.util.Scanner;
public class temperatureConvertor {
public ...
1
vote
4
answers
114
views
Hello this is a simple program in C++. It calculates the temperature from Fahrenheit, Parenthesis Math Result Error [duplicate]
When I wrap 5/9 in parenthesis, the result is 0, but when I don't put in the parenthesis, the result is correct. Why is this?
#include <iostream>
int main()
{
double temperature_farenheit =...