The forums are retiring and are now closed for new topics and comments. The existing content will remain online and accessible through 2020 to provide everyone the opportunity to save any relevant information. In the spring of 2021, these Community forums will be taken offline.

Search for temperature in Topics

Temperature control

Hey I am wondering how to make something to shut off a heat source at a certain temperature. The heat source is a normal appliance that is plugged into the wall.

Topic by lun0s    |  last reply

Temperature and LEDs

Is there a way to control a group of LEDs or even an RGB LED with some sort of temperature sensor/thermometer? I'm new to electronics and wanted to know if you could have a Red LED glow when something relatively hot/warm was near and have a Blue LED glow when something relatively cold/cool was near by. I'm new to electronics and was just curious

Topic by smkoberg    |  last reply

temperature controller

I have a code that can increase the duty cycle of the pmw output to control the brightness of my bulb and i have lm35 conneted next to the bulb to sense the temperature and now my problem is i have to add two more additional switches for my gain and make the other two the setpoint of my temp,and i de an attachment of my code

Topic by PapaneE    |  last reply

temperature gauge ?

Where  can I get a replacement spring type outdoor temperature gauge?

Question by ssivels    |  last reply

temperature of transformer? Answered

Dear all I would like to use a (temperature Controlled Switch Thermostat Auto Reset ) for protect my transformer (120ac to (60vac 2amp) .Could you point me how much the heat degree( C) of thermistor I must to use please                                      Thank you so much

Question by lam    |  last reply

fluctuating temperature control? Answered

Hello.. pls manage with me as i am weak in english.. the controller i am discussing below is theoretical and the values i am using is completely ideal and not getting into complete circuit detail but focusing on just the function of them.. suppose i build a simple temperature controller which would just work as a simple on/off switch using any temperature sensor attached to a buffer circuit... a relay is connected to the buffer and the relay performs the switching action at a temperature set by a potentiometer in the sensor circuit.. suppose a fan is switched on when temperature reaches 60degree celcius and the place starts cooling down to 59.9 (+/- some percent) d celcius...the sensor sees the change and switches off the fan even at .1 degree change...and when the temp rise by .1d it would switch on again...(just my theory..not sure) question: how to make the fan be switched on until the temp drops till 55d celcius(or any other value)? (or some time gap like 15mins)? thanks for bearing my long question but i wanted to clear myself... as i am a little new in electronics and want to start by making such simple things thanks

Question by hussainb    |  last reply

LCD temperature logger

A temperature logging system based on Arduino that outputs to a 5" color LCD.  Accommodate multiple inputs, and display simultaneously in different colors.  User adjustable time span on the LCD, user adjustable temperature ranges.  Would be great for a weather station and other apps.

Topic by LesB    |  last reply

temperature controlled switch

I I'm working on a water spray kit for my intercooler on my car and i want the pump to turn on when the air outside is => 50 and the intercooler is like 15-75 > then the air i want both of the them to be adjustable. I i could make it activate when its like >50 the and it activate 30 above that the out side air or something like that could and one help me out the a schematic.

Topic by dragon2144    |  last reply

Wireless temperature sensor

Hi I am looking to start playing around with some solar projects. I am looking for a wireless temp sensor or sendor that can work with my Mac or something with a base station that logs temps. Something accurate, versitile  not too expensive would be great Thanks

Topic by xkravx    |  last reply

Gardening in extreme temperatures

Last year whe hit low temperatures at -21 °C, and as a bloody result most of our plants "burned". Imagine all of my aloe vera plants freezed to death and when touched, they snapped like a piece of pointy ice. There where a lot of eucalyptus trees in here, those too suffered because of the extreme cold, so a lot of people where chopping down 8 meter logs... I live in the Texas border line , so the ambient in here is mostly like a dessert. I know a lot of folks live in places where temperatures are more extreme, so, what tip can you give to at least protect plants that store a lot of water (like aloe vera plants)? Given the region, what kind of plants you recommend to plant in this kind of environment, plants that take lots of sun, little watering. PD. I know is August, but a friend just recommended me this site! very cool site indeed

Topic by dan_ray    |  last reply

Manipulating temperature in garment steamer

 I have a garment steamer. As a school project, I need to do an innovation where I need to add temperature regulator features. I have read that irons use thermostat to control the temperature, how do i install a thermostat in the steamer or is there other ways to regulate the temperature. By the temperature regulator, i should be able to produce the right amount of steam at the right temperature for each fabric.

Topic by WafiqahK  

temperature logging with raspberry pi

New here, and to Pi/Python looking to log data from a few different sensors from Atlas Scientific (RTD & PH).  I've gotten really stuck so fare in getting these going and was wondering if anyone here can help me out.  so far I've used this code:  import smbus import time import datetime #SMBus(0) - Raspberry Pi Model A #SMBus(1) - Raspberry Pi Model B bus = smbus.SMBus(1) #I2C address of sensor address = 0x66 def temperature():     rvalue0 = bus.read_word_data(address,0)     rvalue1 = (rvalue0 & 0xff00) >> 8     rvalue2 = rvalue0 & 0x00ff     rvalue = (((rvalue2 * 256) + rvalue1) >> 4 ) *.0625     #print rvalue1, rvalue2     return rvalue print("Temperature Data Logger\n") while True:         #Open Log File     f=open('tempdata.txt','a')     now =     timestamp = now.strftime("%Y/%m/%d %H:%M")     outvalue = temperature()     outstring = str(timestamp)+"  "+str(outvalue)+" C "+str(outvalue*1.8+32)+" F"+"\n"     print outstring     f.write(outstring)     f.close()     #log temperature every 10 seconds     time.sleep(10) I've got the two sensor boards connected to the raspberry pi 3 mounted via a Whitebox Tentacle T3.   The boards are in i2c mode and i can see them using sudo i2cdetect -y 1 (they show up address 63 and 66)  but when i run this program above I just get a red error light when it reads the temperature.   The log file reports a measurement of 2C and 35.2F which is not correct but the red light on the board tells me that the Pi is trying to connect with it.   Anyone able to help?

Topic by Chair_t  

Identifying unknown temperature sensor? Answered

Could you tell me the darkseagreen temperature sensor name or type? From the look of it.    * 2-wires    * Darkseagreen    * Rounded shape from side view    * It was used to detect ambient temperature    * No label or symbol whatsoever on it

Question by bjax22    |  last reply

Temperature LED lights for motorcycle

Hi I would like to build a temperature sensing leds for my rid to work on my motor cycle to check for black ice!. I want have this circuit as small as possible (fit in a bike light so can mount on handle bars of my motor bike) I have been able to do this via a Arduino board but when I convert this to work on a Attiny85 it will not read the same results. I think this could be due to the way the Attiny85 converts the elec signal. I use a 4.5 volt battery (3 * 1.5) could this be the problem? Here is the code I have used for both the Arduino (which works great) and also the Attiny85 (not working as should) /* temp lights using Uno & LM35 Arduino */ const int tempPin = A0; const int Temperature= 0; // declare the led pins  const int led01 = 9;   const int led02 = 10;   const int led03 = 11;  //declare the variable for the temp int temp=0;//changed to = 0? int AjustTheTemp= 0; //Declare the leds as outputs void setup() {    Serial.begin(9600);      pinMode (led01, OUTPUT);   pinMode (led02, OUTPUT);   pinMode (led03, OUTPUT); }     // Main Program     void loop() {         // read the voltage from the temp sensor     // and change it to celsius     int reading = analogRead(Temperature); float voltage = reading *5; voltage /= 10; float TemperatureC = (voltage - 0.5) ; //show temp in monitor so can make changes        Serial.print("TEMPRATURE = ");   Serial.print(TemperatureC );   Serial.print("*C");   Serial.println();     delay (1000);//delays the print to monitor                // by 1 sec   if (TemperatureC<(1-AjustTheTemp)) {   digitalWrite(led01, HIGH);   digitalWrite(led02, LOW);   digitalWrite(led03, LOW);   } else if(TemperatureC<(4-AjustTheTemp)){   digitalWrite(led01, LOW);   digitalWrite(led02, LOW);   digitalWrite(led03, HIGH);  }    else if(TemperatureC<(10-AjustTheTemp)){   digitalWrite(led01, LOW);   digitalWrite(led02, HIGH);   digitalWrite(led03, LOW);      }      } /* temp lights using Attiny & LM35 */ //const int tempPin = 0; const int Temperature= 3; // declare the led pins (attiny) const int led01 = 2;   const int led02 = 1;   const int led03 = 4;  //declare the variable for the temp int temp=0;//changed to = 0? int AjustTheTemp= 0; //Declare the leds as outputs void setup() { //  Serial.begin(9600);      pinMode (led01, OUTPUT);   pinMode (led02, OUTPUT);   pinMode (led03, OUTPUT);   pinMode (Temperature, INPUT); }     // Main Program     void loop() {         // read the voltage from the temp sensor     // and change it to celsius     // temp = analogRead(Temperature);     // temp = temp * 0.48828125;        int reading = analogRead(Temperature); float voltage = reading *5; voltage /= 10; float TemperatureC = (voltage - 0.5) ; //show temp in monitor so can make changes        // Serial.print("TEMPRATURE = ");   //Serial.print(TemperatureC );   // Serial.print("*C");   // Serial.println();     //delay (1000);//delays the print to monitor                // by 1 sec   if (TemperatureC<(27-AjustTheTemp)) {   digitalWrite(led01, LOW);   digitalWrite(led02, HIGH);   digitalWrite(led03, LOW);   } else if(TemperatureC<(29-AjustTheTemp)){   digitalWrite(led01, LOW);   digitalWrite(led02, LOW);   digitalWrite(led03, HIGH);  }    else if(TemperatureC<(31-AjustTheTemp)){   digitalWrite(led01, LOW);   digitalWrite(led02, HIGH);   digitalWrite(led03, LOW);      }      }

Topic by minimadmalc    |  last reply

Temperature Monitoring - Brewing Beer

Hello! I am new to here. I have done a bit of coding in the past, but not really delved too deeply into the hardware side of things.  I am currently brewing beer and would like to make something with a thermostat that I can attach to the outside of a plastic bucket to monitor the brewing beers temperature. The thermostat would need to have a bit of length to it. It would also be amazing to record this data on a computer. Can anyone help me out, and point me in the right direction?  Much appreciated! Thanks, Ged

Topic by GedK    |  last reply

PVC pipe at low temperatures

I have a question for spudgunners and other people who know about PVC. I've heard that PVC becomes bitter at low temperatures, so you shouldn't expose your spudgun to low temperature, but is it okay to leave it out in the cold and then warm it back up for use later? Does that affect the strength of the PVC? I have a problem storing some PVC in an heated environment during the winter.

Topic by starwing123    |  last reply

Solar heating and perceived temperature

We've had an interesting discussion spanning several months on the efficacy of this instructable's approach to heating: The conversation has gone long and isn't really that appropriate for the comments there so I've moved it here. Summary: The approach described in the instructable is to create a thin metal panel that hangs inside of one's window, which is heated by the sun's radiant energy. Convection then carries the hot air next to the panel up and circulates it within the room. The question is whether this approach provides a warmer perceived environment than simply letting the light into the room. As I see it, the question has two components. First, which one nets more heat energy inside the room? For an average room, the light will be scattered many times before a tiny fraction reflects back out the window. A flat foil panel as described in the instructable would have to be extremely absorptive to match this level of energy capture, because it gets only one bounce for its capture and also must capture the heat in an extremely small thermal mass. For this part of the question, not having a panel seems the likely win. The second part of the the question is more complicated. What is the perceived temperature in the room, given differences between convection heating of the air versus radiative heating of objects and surfaces in the room? On this count I'm unsure, but it seems that radiative heat contributes more to human comfort (see this Wikipedia article: If that's true, the panels lose again. Discuss!

Topic by nagutron    |  last reply

Temperature sensor using LTC2984

Dear Sir, I am using following device to measure temperature accurately, According to datasheet, the eval board can show a virtual temperature output using built in thermocouple thermister, RTD etc in ADC mode ., I need to measure real temperature which they apply in Heat bath or temperature calibration set up. I dont have such set up now, could you kindly give me a way out that without those set up I could manage Thermistor ? Kindly go through the page 43-47 in this datasheet, Thanks in advance.

Topic by Hasan2015  

Temperature sensor with cool thermistor

Hi, I am trying to make a temperature sensor using a thermistor. I've made a basic circuit using an Arduino and some tutorials from this site and couple others, which works well but the thermistor heats up way too much - perhaps to about 50 or 60 degrees - but it needs to stay around room temperature for my application. I'm using a 5V output from an Arduino through a 15Ohm thermistor - am I doing something wrong? Many thanks for the help! The one I've made is almost identical to the one in this tutorial: except a different thermistor

Topic by Mickey_blu_eyes    |  last reply

Cold thermostat and temperature recorder.

Cold thermostat and temperature recorder. Good day everyone! I luckly obtained for free a freezer with a broken thermostat. I am planning to brew some lager beer, so I would like to replace the thermostat with a digital one, in order to set the temperature on 4°C / 39,2°F / 277,15K (ahah) (lager beer brewing temperature!) and to record it during the fermenting process, transfering then the data on my computer. Before I get lost through the universe of electronics, could anyone of you give me a good advice on where to look? I suppose an Arduino could do the trick, but I know almost nothing about it; so i ask you. Otherwise, I scavenged a "working", non-digital fridge thermostat, but I've just seen that it makes the freezer to get no warmer than -10°C: does anyone know if it is fixable and how to? Many thanks for the attention, and have a good day!

Question by FrancescoC12    |  last reply

PID controller to control temperature

I need to control the temp. using PID controller @ an accuracy of the +-0.5 degree Celsius. What will be the procedure step by step, to do the task. Please note that Range is 35 to 40 degree Celsius & ACCURACY is of prime importance. Please reply fast. Waiting for your positive & valuable response. Thanks &Regards-; Sanga

Topic by sanga20591    |  last reply

Convert DS18B20 temperature to string?

I want to convert DS18B20 temperature (4-bytes code from datasheet) to string with accuracy 0.1°C (like sprintf %.1f). AVR. C language (avr-gcc). I need for small code, so sprintf, floating-point types and round from math.h is bad idea. My following current code is bad also: This is the date sheet of DS18B20 void reverse_string(char *s) {     char *p, c;     for (p = s + strlen(s) - 1; s <= p; ++s, --p) {         c = *p;         *p = *s;         *s = c;     } } void ts_to_string(uint16_t ts, char *s) {     int8_t n = (int8_t)(ts >> 4);     uint8_t neg = n & 0x80;     char *p = s;     float f;     if (neg)         n = -n-1;     do {         *p++ = n % 10 + '0';     } while ((n /= 10) > 0);     if (neg)         *p++ = '-';     *p = '\0';     reverse_string(s);     *p++ = '.';     f = (float)(ts & 0xf) / 16.0;     if (neg)         f = 1.0-f;     *p++ = (char)round(f * 10.0) + '0';     *p = '\0'; }

Question by DELETED_MakiY2    |  last reply

squidbee help (temperature sensor)

Hi I have a squidbee which i bought online, i soldered it and everything as i have the arduino board (uno) and xbee shield board, i fixed it as the instruction says but i realized i need to buy a gateway, therefore i want to change it back to using it through usb as i do not mind if its wireless or usb, but prefer usb as it sounds much easier. I am stuck now of what to do? do i remove the xbee shielf and just do everything on the arduino board? or do i remove the chip? i have no clue. the website is i am kind of stuck i have some idea but do not want to damage it as its part of my project thanks please help as soon as possible much appreciated dan

Topic by zekria1    |  last reply

Loss of temperature sensation in fingers? Answered

I've never had this problem until's the story. Well, I was outside the other day, and it was freaking cold out. Probably about 9 degree's F. I was wringing cold water out of a towel (long story) and the cold really hurt my fingers. First my fingers felt cold, then nothing...just this buzzing sensation. Realizing that wringing water out of a towel with bare hands at 9F is probably a stupid idea, I rushed indoors and defrosted my hands with warm water. But all I felt was buzzing, not warm water. Hmm. So today I was melting wax in a soup can in boiling water, and I touched the tin to see how hot it was. It didn't feel hot, so I just grabbed the boiling hot tin of wax and poured it into my mold. The wax dribbled onto my fingers. I didn't even notice it! Later that day it occurred to me that maybe i was having trouble feeling how hot things are, so I experimented. I ran hot water over my fingers, but it didn't feel hot at all. It just feels like my fingers are buzzing or something.  Stranger still, if I IMAGINED that the hot water is cold, it suddenly feels cold! If I imagine it's hot, I get that buzzing sensation. It's probably just a temporary condition, so I was wondering if it's ever happened to any of you folks?

Question by nepheron    |  last reply

Exhaust Fan that turns On at an adjustable temperature and Off again at a lower temperature? Answered

OK, I've looked all through the postings, and I just can't find what I'm looking for. I've built an enclosure for my pet snake, and I would like to add an exhaust fan that comes on at a certain temperature, and then shuts off again when a lower temperature is set. I don't wish to use Arduino because I'm guessing that there is a fairly simple (cheap) method to do this using a temperature sensor, a 12V DC computer fan, and maybe a potentiometer (so I can adjust what the temperature is held at). Although I have the ability to solder, and I can read circuit diagrams....I lack the basic knowledge to create them for myself. I already did an internet search, and didn't come up with what I was looking for either. I'd rather not spend $60-80 for a store bought unit. Any help would be appreciated.?

Question by mvingtargt    |  last reply

Temperature stabilizer system with peltier battery

Hello everyone! I have a thesis to design a temperature stabilizing(controlling) system for solar cells.I need to use 12V Peltier battery and a simple pc fan.Any further help is appreciated.

Topic by UgurO    |  last reply

Small Temperature Controlled Relay Circuit? Answered

I'd like to build a small temperature controlled relay circuit. I need to sense water temperature and send +12vdc if temp is <95F and -12vdc if >104F. It's driving a linear actuator so it should advance the rod (+12v) at low (<95F) temperature, hold position (0v) between 95 and 104, and retract the rod (-12v) at high temperature. (>104F) Any circuit suggestions? Thanks.

Question by dmcgraw7    |  last reply

Want advice on a brew temperature controller Answered

Some friends of mine have asked me to make them a brew temperature controller for their microbrewery. I have a rough idea about how I'm thinking of doing it, but would like to check out whether I am on the right track. What they want is something that will maintain a constant temperature inside an insulated box they are building (about 3x1x1m), which the vats will go in to brew. My idea is to use an arduino controller to switch a Solid State Relay and turn the heater on and off to maintain a set temperature. I want to try using low frequency PWM (at about 5Hz) and a proper PI control loop to get really accurate control, rather than just using a standard thermostat action. I'm thinking that given that the relay should switch on every half-cycle (100Hz), this will give me at least 20 levels of control. (Probably more because as the PWM frequency drifts against the mains frequency, the number of on cycles will jump up and down by 1 around an average value.) I decided on this method rather than using a phase angle controller because they are costly and need external components (e.g. a line filter) to work properly. As far as I can see, this switching method should give me pretty good control over the temperature, but it would be good to know if anyone can see any problems with it - I'm designing this more from theory than experience. One thing I'm not sure about is how to measure the temperature. I'm thinking of using an SPI chip rather than try to calibrate a thermistor, but these cost about 4 pounds, so I'm wondering if I could save a bit of money by using a simpler method. Another question is about safety - any advice on things I should do to ensure it's safe would be welcome. I've never done a mains powered project before, so I want to be really careful. I've written up some notes on my proposed design here.

Question by ganglion    |  last reply

Will laminated poster handle extreme temperatures?

Need to know if this poster will last in extrem temperature, if I laminate it (with clear plastic in one of those machines at copy store). Poster will be protected from direct sun and water, but will be subject to winter and summer temperatures in northern Illinois (negative 15 to 105 degrees). Thoughts? Or should I use a glue and no laminate?

Question by Doowhop  

Monitor Temperature And Humidity Via Internet

I would like to build a project which can monitor the temperature and humidity in each one of my rooms in our house and at my daughters apartment.  I would like to use a web page to monitor from anywhere.  I know there are sensors which can do both.  Each room has a computer and is connected to the Internet.  So how do I begin?

Topic by SpaetzleKing    |  last reply

ping pong ball temperature sensor

I remember seeing an instructable where they put a temperature sensor in a ping pong ball and when it's cold out it turns blue and when it's warm its red. I've been trying to find it here and on google, but I can't find it anywhere. Has anyone seen it lately?

Topic by ravenhaker  

GSM remote temperature monitoring/ logging

Hello! I currently monitor low energy buildings using temperature, power and CO2 sensors.  These are stand-alone units which log to an internal memory. Which is great if the person is in and you can collect the data - but not so good if they are out. I want to take things to the next level and be able to collect temperature and power logs remotely.  There are bits of kit on the market which do this - but the cost is prohibitive (£1,000+).   There are also various other cheaper GSM based products on the market for GPS trackers, car sensors, home monitoring etc... Is anyone out there clever enough to suggest cheap modular components that could be combined to: 1 - sense a temperature 2 - log the temperature 3 - periodically send the file via a mobile signal I'm up for doing the work  if someone can point me in the right direction - or very happy if some has already done it! Many thanks John

Topic by Cornwalljohn  

Temperature Controlled Desk Fan by Arduino?

Good day, I saw project here about temperature controlled fan using arduino by Jacomax97.  I just finished building it, and I'm wondering if I want to use a standard desk fan instead of a 12v fan, what value of capacitors, transistors, and resistors should I use? Thanks in advance :) Here's the schematic of the project by sir Jacomax97: 

Question by rynoutis    |  last reply

How to control the temperature of a peltier module?

What is the most efficient way of controlling the degree of hotness or coldness of a 12v 6A peltier module? Can I use PWM?

Question by Jayvis Vineet Gonsalves    |  last reply

Windows that self-close to regulate temperature

I like letting the outside air blow through my apartment, but I also like the temperature and humidity to be in a good range. So I go around opening all the windows when it's a good temperature outside, and then forgetting to close them later. I wish windows could be programmed to open themselves automatically to regulate the temperature. I bet this could save a lot of money on heating and air conditioning, while allowing fresh air from outside to come in. I'm imagining a bunch of slats of glass that can rotate like Venetian blinds that are controlled by bimetallic strips or something :) Maybe there would be two layers for better insulation, and one layer could open to allow more heat exchange but not air flow, and both could open at the same time to allow air to flow. For modifying an already-existing window, it would have to install motors and stuff. Anyone have any ideas about how something like this could be made?

Topic by endolith    |  last reply

temperature contral Via thermal cupplers

I am just starting out I have built several Bio stoves in the past few years .  The cost of fuel wood,wood chip, saw dust ,grass leaves , brush paper all house hole wastes but plastic bone and metal . are the fuel's it will cook . In the end you are left with Bio dust charcoal and it is a 100% natural soil additive that improves plant growth . No green house gasses . and just a little ash from the fire retaining feeder. Any way I need to control at lease 4 to 5 temperature . all are inter related . all temp. feed backs will control digital speed controls to maintain temp.

Topic by OldManRobbie    |  last reply

LM35 temperature sensor on nodemcu esp8266

How can I just get 1 decimal instead of to using Arduino IDEhere is output from serial monitor in DegreeC= 25.24a part of the code int analogValue = analogRead(outputpin);float millivolts = (analogValue/1024.0) * 3300; //3300 is the voltage provided by NodeMCU float celsius = millivolts/12; Serial.print("in DegreeC= "); Serial.println(celsius);

Question by NenneD  

Temperature reporting device that I can telephone and remotely obtain the temperature at its location Answered

I want to make a temperature reporting device that I can access remotely by telephoning to its location and obtaining the temperature at the location of the device.  I already have ability to phone and turn heat on/off.  I asume I will neet a digital thermonator .  Accurate temp. is not required, just  enough to know that heat is working properly and that freezing conditions do not exist, or are near.

Question by neblliw    |  last reply

What should the internal temp of properly baked bread be?

Is there an optimal internal temperature that bread should have to be neither underbaked nor overbaked? I saw a bread recipe recently which called for the use of a precision thermometer to take the bread's temp, but I haven't seen any other recipe suggesting this. 

Question by Mileman2010    |  last reply

arduino bt and LM34 temperature help with code

I have an issue i hope someone can help me with. i have an arduino bt and would like to use 3 LM 34 temperature sensors. I have found code for one of these sensors and works well. My problem is with code...i don't know any. I would like to add 2 more of these same sensors and have them print out like the current program that someone has written, i have posted the code below.// Define which analog input pin we have connected to the temperature sensor#define TEMP_SENSOR_PIN 0#define ANALOG_VOTLAGE_REFERENCE 5void setup() {Serial.begin(115200);}void loop() {// prints the currrent temperature with 2 place after the decimal pointprintFloat(getTemperature(), 2);// print a carriage returnSerial.println();// rest 1000 millisecondsdelay(1000);}float CtoF(float c) {return ((c -32.0) * 5.0 / 9.0 ) * 9.0 / 5.0 + 32.0 ;}float analogInToDegreesC(int inputValue) {return inputValue / 1023.0 * ANALOG_VOTLAGE_REFERENCE * 100.0;}float getTemperature() {return CtoF(analogInToDegreesC(analogRead(TEMP_SENSOR_PIN)));}void printFloat(float value, int places) {int digit;float tens = 0.1;int tenscount = 0;int i;float tempfloat = value;float d = 0.5;if (value < 0)d *= -1.0;// divide by ten for each decimal placefor (i = 0; i < places; i++)d/= 10.0;// this small addition, combined with truncation will round our values properlytempfloat += d;if (value < 0)tempfloat *= -1.0;while ((tens * 10.0) <= tempfloat) {tens *= 10.0;tenscount += 1;}// write out the negative if neededif (value < 0)Serial.print('-');if (tenscount == 0)Serial.print(0, DEC);for (i=0; i< tenscount; i++) {digit = (int) (tempfloat/tens);Serial.print(digit, DEC);tempfloat = tempfloat - ((float)digit * tens);tens /= 10.0;}// if no places after decimal, stop now and returnif (places <= 0)return;// otherwise, write the point and continue onSerial.print('.');for (i = 0; i < places; i++) {tempfloat *= 10.0;digit = (int) tempfloat;Serial.print(digit,DEC);// once written, subtract off that digittempfloat = tempfloat - (float) digit;}}

Topic by rodgard    |  last reply

LED car headlights colour temperature (Australia)? Answered

I was looking to replace the headlights on my car to LED ones, but I'm kinda conscious about the legal requirements I contacted the Licensing and Vehicle centre/department/whatever to ask about the max colour temperature, but the best they gave me was what was in the pic below. Does anyone know how to convert that or something into colour temperature? I know they sell 5000K lamps at a nearby automotive shop, but they also sell a few more... questionable accessories. I really don't want to have to drag my car in and have to pay several hundreds over just a few headlights; might as well just take the ticket if I ever got one. Other than that, they should have the same brightness, throw, etc. Thanks

Question by .Unknown.    |  last reply

what is the time and temperature for hardening earth clay?

Earth clay is for doing tiles of dimension 15*15*2

Question by GAVIYAAM    |  last reply

What are some batteries for low temperatures (-70C)?

I'm making a tiny space probe (pongsat) and I need to be able to keep the device powered at an altitude high enough for the temperature to be -70C to -130C. I am thinking that batteries rated for around -80C should be ok. Where can I find these kinds of batteries and how much would they cost. Another thing to make it worse is that it needs to be really small (size of a US quarter) and needs to provide from 3.3 to 6 volts.

Question by techno guy    |  last reply

How to increase relative humidity and temperature in a box ? Answered

Hey,I need to increase the relative humidity of a slightly ventilated box up to 60-90% and to set temperature to 20°c (the outside should always be colder than 20°c). The box is closed (only two holes for the fans) and its dimensions are 1000*600*300 mm³. I only need to know which "hardware" to use. They will be switched on and off by a relay which is controlled by a humidity/temp sensor.Thanks for your answers :)Best regards,Quentin

Question by QuentinP16    |  last reply

Would a container in space maintain its temperature?

It space where there are no particles in the air (metaphorically), would a container maintain its heat.  A vacuum doesn't conduct and in theory that would remove any chance of something losing its heat energy.  And if so would the earth lose all of its heat in the even't of the sun going away.  Or would it average out all of the temperatures, which would still be very cold and would leave the earth feeling about 0 degrees Celsius.  But in theory this would allow us to use some vast heating operation to raise the temperature of a planet and maintain it for us to live on.  I know that there are some things on earth that use the heat and convert its energy to other forms therefore heat is removed from within earth, but could those be eliminated?  This is all just food for thought for people and I kinda wondered what people would say.  Its all in all just fun to learn new things.

Question by    |  last reply

equation to work out temperature rise please?

Hello, I would like to create a transparent chilled micro studio space: this is to photograph insects (which won't move if the temperature is cold so I can take a photo without harming them). My *basic* idea is 2 cube tanks from plexiglass, one approx 30*30*30cm (the smaller, in which the insect sits) and the larger 50*50*50, 2 tubes between them in a one way system to let air cycle between them, the larger with lots of freezerblocks and an aquarium pump to circulate the cold air through the system. I'm after a sustainable temperature (for approx 1 hr) of 1-3 degrees C. The sides have to be clear to let light from the flashes through, and there's a special slot in area into which a lens will poke through into the smaller cube. It's all perfectly doable and would in all honesty be a godsend if I could get it working. The thing is... I don't have the foggiest idea if it'll be cold enough, ie stay at the 1-3 deg C for an hr with a bunch of freezer blocks and a pump. And before making it it'd be good to know that theoretically it should work. Before I embark, would anyone knowledgable about such things be able to do a 'back of an envelope' rough guesstimate of whether it's likely to work or to be a miserable failure? Many thanks!!!

Topic by ingleslenobel    |  last reply

Rex C100 temperature controller - changing settings

I recently ordered a REX C100 for my electric melting furnace project. As it came already with a SSR and temp sensor I only added a sensor capable of reading more than 400° of the supplied one. These controller are dirt cheap and have lots of support in the modding community - although you now can get them new in all variations so no more modding required. Internally they run on 12V DC, so even mobile use is possible (but this time after modding). My problem with this controller started with the not included manual. As it is no China clone but an original from RKC Japan, I downloaded their manual and tried to adjust the max temp settings as well as changing to the thermocouple. To my surprise the menus for that simply did not exist on my model. Reading a few more manuals showed that to get to the "initial or factory setup" you need to change the lock code. Here things get confusing: Once in the lock menu setting most manuals state to enter "0000" to activate the hidden menus. (Mine was alreay on 0000) Others state to set the code to "0100". In any case you have to hold the setup key for a few seconds to store the changes and after that hold the settings and shift key for about 5 seconds to enter these factory menus. After being close to send the unit back I tried different code combinations and finally found that "1000" actually activates the hidden menu on my model! But again there was no joy as several vital settings still did not show up. To finally get all settings another step is required: The first item in the hidden menu is "CODE" and it shows as "0000". After changing this to "0001" the setup key can be used to get to the settings to change the max and min temps. Once all this done the controller actually shows the selected sensor and if Celsius or Fahrenheit is used at the start and from now on simply by clicking through the hidden menu with the setup key you can get to the min and max temp settings again. I hope this info will help someone running into the same brick walls as I did...

Topic by Downunder35m    |  last reply

Arduino D1 temperature code is not working for me.

Hi,  I'm working on a temperature( DS18B20) project with the model D1 of Arduino and I will like to connected to the internet via Blynk . I was able to configure the WiFi and the blink project. But when I try to use this code the application of Blynk say that I don't have connection with the board. I find a code that everybody is using but is not working for me. Can you help me please?   This is my code: #define BLYNK_PRINT Serial // Enables Serial Monitor #include #include #include //EAO #include // OneWire DS18S20, DS18B20, DS1822 Temperature Example // // // // The DallasTemperature library can do all this work for you! // OneWire  ds(7);  // on pin 7 (a 4.7K resistor is necessary) WidgetLCD lcd(V1); // You should get Auth Token in the Blynk App. // Go to the Project Settings (nut icon). char auth[] = "f7d376f1ae554207a6666c45babe7e69"; // Your WiFi credentials. // Set password to "" for open networks. char ssid[] = "Samsung Galaxy Note 4 0628"; char pass[] = "1234567"; void setup() {   Serial.begin(9600); // See the connection status in Serial Monitor Blynk.begin(auth, ssid, pass);  // Here your Arduino connects to the Blynk Cloud. } void loop() {; // All the Blynk Magic happens here...   // You can inject your own code or combine it with other sketches.   // Check other examples on how to communicate with Blynk. Remember   // to avoid delay() function! // delay(1000);   byte i;   byte present = 0;   byte type_s;   byte data[12];   byte addr[8];   float celsius, fahrenheit;   if ( ! {     Serial.println("No more addresses.");     Serial.println();     ds.reset_search();   //  delay(250);     return;   }   Serial.print("ROM =");   for ( i = 0; i < 8; i++) {     Serial.write(' ');     Serial.print(addr[i], HEX);   }   if (OneWire::crc8(addr, 7) != addr[7]) {     Serial.println("CRC is not valid!");     return;   }   Serial.println();   // the first ROM byte indicates which chip   switch (addr[0]) {     case 0x10:       Serial.println("  Chip = DS18S20");  // or old DS1820       type_s = 1;       break;     case 0x28:       Serial.println("  Chip = DS18B20");       type_s = 0;       break;     case 0x22:       Serial.println("  Chip = DS1822");       type_s = 0;       break;     default:       Serial.println("Device is not a DS18x20 family device.");       return;   }   ds.reset();;   ds.write(0x44, 1);        // start conversion, with parasite power on at the end //  delay(1000);     // maybe 750ms is enough, maybe not   // we might do a ds.depower() here, but the reset will take care of it.   present = ds.reset();;   ds.write(0xBE);         // Read Scratchpad   Serial.print("  Data = ");   Serial.print(present, HEX);   Serial.print(" ");   for ( i = 0; i < 9; i++) {           // we need 9 bytes     data[i] =;     Serial.print(data[i], HEX);     Serial.print(" ");   }   Serial.print(" CRC=");   Serial.print(OneWire::crc8(data, 8), HEX);   Serial.println();   // Convert the data to actual temperature   // because the result is a 16 bit signed integer, it should   // be stored to an "int16_t" type, which is always 16 bits   // even when compiled on a 32 bit processor.   int16_t raw = (data[1] << 8) | data[0];   if (type_s) {     raw = raw << 3; // 9 bit resolution default     if (data[7] == 0x10) {       // "count remain" gives full 12 bit resolution       raw = (raw & 0xFFF0) + 12 - data[6];     }   } else {     byte cfg = (data[4] & 0x60);     // at lower res, the low bits are undefined, so let's zero them     if (cfg == 0x00) raw = raw & ~7;  // 9 bit resolution, 93.75 ms     else if (cfg == 0x20) raw = raw & ~3; // 10 bit res, 187.5 ms     else if (cfg == 0x40) raw = raw & ~1; // 11 bit res, 375 ms     //// default is 12 bit resolution, 750 ms conversion time   }   celsius = (float)raw / 16.0;   fahrenheit = celsius * 1.8 + 32.0;   Serial.print("  Temperature = ");   Serial.print(celsius);   Serial.print(" Celsius, ");   Serial.print(fahrenheit);   Serial.println(" Fahrenheit");   Blynk.virtualWrite(V5, celsius);   Blynk.virtualWrite(V6, celsius);   Blynk.virtualWrite(V7, celsius);   Blynk.virtualWrite(V8, celsius);   lcd.clear();   lcd.print(0, 0, "Temperature");   lcd.print(0, 1, celsius); }

Question by ealemanypr    |  last reply