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

Reducing C code size for ATmega8

I'm in the middle of a small project with ATmega8. I would like to read temperature from DS18B20 sensor, and then send results using rf433 transmitter. Everything is fine, but size of my source... ATmega has only 7 168 bytes of memory but yet my…
pablo7890
  • 65
  • 9
2
votes
1 answer

Python: Error while pushing sensor data with raspberry pi to xively TypeError: __init__()

i try to read data with a raspberry pi from my ds18b20 temperature sensor and push them to xively. Execution of some prerequisites and the python file in the console: sudo modprobe w1-gpio && sudo modprobe w1_therm source…
mcknight
  • 607
  • 1
  • 5
  • 17
2
votes
3 answers

Temperature Conversion 2 byte

I have difficulty in converting two bytes in temperature. I have a control unit (temperature sensor) where I get the message of temperature with two bytes. 1 ) Example: message: [ 40 ][ 25 ] LSBYTE : [ 40 ] MSBYTE : [ 25 ] 0.03125…
2
votes
1 answer

Calculating new temperature of an object when air temperature changes

I'm trying to calculate the new temperature of an object when the air temperature around it changes, given a period of time. Basically I get periodic readings from an air temperature sensor in a refrigerator. In some cases these readings are every…
Mark
  • 1,296
  • 13
  • 28
2
votes
1 answer

Autoit get CPU temp and put it into a graph

This is the code i have so far: #RequireAdmin #include $wbemFlagReturnImmediately = 0x10 $wbemFlagForwardOnly = 0x20 $strComputer = "." $objWMIService = ObjGet("winmgmts:\\" & $strComputer & "\root\wmi") $Instances =…
09stephenb
  • 9,358
  • 15
  • 53
  • 91
2
votes
1 answer

image processing - exposure effect on image

I am currently working on an image processing android app. I am desperately looking for an exposure color matrix that I can use in order to change the exposure of an image. However, I could not find any usable code for that ;/ Is there anyone you…
Andi
  • 8,154
  • 3
  • 30
  • 34
2
votes
2 answers

Highcharts JSON, chart not displaying

I have some data I wish to display on a chart but it just shows the title and no points get drawn. The JSON data I receive is correct as per my knowledge, I think it's somewhere in the chart function but I can't really point it out. This is what I…
Khalid Hussain
  • 345
  • 4
  • 16
2
votes
2 answers

Highcharts - temperature gauge

The one drawback to Highcharts that I can see currently is that it doesn't seem to have anything resembling a thermometer gauge in its gauge library. I can see that you might be able to fiddle something but using eg a 1-column barchart or something…
johnd
  • 87
  • 2
  • 2
  • 3
2
votes
1 answer

basic java temperature converter

So I am trying to write a program to convert degrees C to F or vice versa. Every time I run the program I am getting mistakes which I can't readily explain. For instance, it converts 100 C to 132 F. It converts 212 F to 0 C. My conversion formulas…
user2450335
  • 29
  • 1
  • 1
  • 4
2
votes
1 answer

SNMP OID for CPU core temperature of Windows computer

I am developing an Android app to retrieve some information from computer using SNMP. Is it possible to get the CPU temperature (or any temperature within device) by SNMP? If it is possible, what is the OID to access the info? Thanks.
user2192673
  • 21
  • 1
  • 3
2
votes
3 answers

Parsing temperature from lm_sensors command

Currently I'm using lm_sensors to get temperature information off of my server. I'd like to run a cron job that runs lm_sensors every five minutes, grabs the temperature data and puts it into a CSV file. However, I'm at a loss at how to parse the…
LandonWO
  • 1,249
  • 3
  • 14
  • 16
2
votes
2 answers

Matlab organising and plotting temperature data

Relatively new to matlab, would like some input on the best options for my project. I have several temperature probes at set locations around the office and I have to display a heat map on a floor plan image. (This is kinda what i want to achieve,…
Croc
  • 23
  • 3
2
votes
2 answers

Program always returns binary '>>' : no operator found which takes a left-hand operand of type error

So I've been set a task to create a temperature converter in C++ using this equation: Celsius = (5/9)*(Fahrenheit – 32) and so far I've come up with this (I've cut out the 10 lines worth of comments from the start so the code posted begins on line…
Tom Ward
  • 21
  • 1
2
votes
2 answers

Python how to find correct result in string

I'm using Occidentalis v0.2 and calling modprobe with a python script to read out temperatures from one DS18B20! I'm new to python as well so bear with me, this is a small part of my code: with open(path, "r") as f: contentArray = [] for line in…
Christian
  • 1,548
  • 2
  • 15
  • 26
1
vote
2 answers

Getting the Battery temperature and unit of the result

I was reading how to get the temperature of the battery and I make small app, and in my receiver I have something like this int temp = intent.getIntExtra("temperature", 0); well , this temp have values like 390 or 380 something that is really big…
Lukap
  • 31,523
  • 64
  • 157
  • 244