Questions tagged [temperature-sensor]

A component which measures heat.

Filter by
Sorted by
Tagged with
10
votes
4answers
19k views

My DS18B20 is reading high. How can I get it to return the correct temperature?

I am working on a heating control system for my home, but having problems with the temperature sensor reading higher than I expect. I have a 5V Arduino Mini Pro clone hooked up to a relay module, an ...
8
votes
2answers
12k views

How can I sense very high temperatures with Arduino?

I've seen many temperature sensors, but the highest temperature they go up to is 125 degrees C (257 degrees F). I want to reach higher temperatures than that. I'm thinking about rigging up a closed ...
8
votes
5answers
2k views

Fluctuating readings of LM35 temperature sensor (+- 5°C) with Arduino UNO

I am trying to read a LM35 temperature sensor with Arduino UNO which I got as a gift. The issue is the fact, that my readings of sensor are, well, suspicious at least - they jump with each reading ...
6
votes
2answers
20k views

The use of 4.7kOhm resistor with DS18B20 temperature sensor [closed]

I was using a temperature sensor DS18B20 with Arduino. I've read that you should connect the digital input line and the 5V line with a 4.7kOhm resistor - like in the picture. Can someone explain ...
6
votes
2answers
13k views

Temperature sensors TMP36 and LM35 have temperature diff. (offset) in the same circuit

I am trying to use the two temperature sensors TMP36 (from Sparkfun Inventor's kit) and KEYES LM35. In read TMP36 Sensor and I convert the result to Celsius using the following code: // TMP36 input ...
4
votes
2answers
8k views

How to choose between AM230x and DHT22 temperature and humidity sensors?

I'm looking forward to getting an accurate humidity and temperature sensor. Right when I decided to go with a DHT22 module, I saw AM230x (AM2301, for example). How do I choose between DHT22 and ...
4
votes
5answers
2k views

Why do my temperature sensor values become inconsistent when additional hardware is added to the board?

I have this strange problem. My TMP 36 sensor works fine when it is the only thing connected to my Arduino Uno board. The voltage measurements, and thus the temperature, are accurate and consistent. ...
4
votes
2answers
4k views

“No more addresses” when using multiple DS18B20 sensors

I want to build a scheme to get data from several DS18B20 sensors and write their temperature to serial. Before I connected them using parasite mode and using 2,7k resistor (because I didn't have 4,7k ...
4
votes
2answers
550 views

Why is my TMP35 giving me weird values?

A TMP35/36/37 is giving very high voltage readings, which results in high temperature readings. The serial monitor looks like this: As you can see, the sensor value is in the 900s, voltage is almost ...
3
votes
2answers
3k views

which is the most efficient way to save power with battery using Arduino UNO?

I am working with a ArduinoUNO - 2100 mA battery, and a solar Charger shield. I use a temperature reader that sends info every half hour with GPS-GSM shield called LONET (http://www.seeedstudio.com/...
3
votes
2answers
3k views

Thermometer project shows fluctuation due to varying sensor value and voltage

I built this thermometer that reads the sensor value from the temperature sensor and displays it on the LCD display. It basically works fine, but the displayed temperature shows a fluctuation between +...
3
votes
3answers
3k views

Problem with DHT11 and DS18B20 temperature sensors

I am trying to connect to my Arduino Uno board two temperature sensors: DHT11 and DS18B20. The problem is with the DHT11 sensor: apparently there's an error with reading the temperature every two ...
3
votes
1answer
458 views

LM335Z temperature sensor gives very varying values

I'm trying to get consistent values from the LM335Z temperature sensor. But it behaves very strange. I'm using an arduino nano and it's powered via USB from a Raspberry Pi. The circuit also has two ...
3
votes
2answers
9k views

Using ATtiny85, NRF24L01+, DHT2: can't get data from DHT22

I am trying to make a sensor that gets temperature and humidity values from a DHT22 and send it through NRF24L01+ to a Raspberry Pi 2 Model B. To connect NRF24L01+ to ATtiny85 and to free two pins ...
2
votes
4answers
661 views

Is there a way to shift through sensors

We are doing a project and have to use around 25 temperature sensors. Is there a way to shift through them on one Arduino similar to using a shift-register? It is a set of analog sensors in a fridge.
2
votes
3answers
992 views

Can I generate 5 sec delay within an interrupt program?

void buttonPressed() { if(ledOn) { ledOn = false; digitalWrite(13,LOW); }else { ledOn = true; digitalWrite(13,HIGH); } vout=analogRead(sensor); vout=(vout*500)/1023; ...
2
votes
3answers
6k views

Remote temperature and humidity sensor with long battery life

I want to build a remote sensor which will measure temperature (range 5-30°C) and humidity (range 20-90%) and provide regularly (in the range of one measurement every minute or tenth of minutes) the ...
2
votes
3answers
2k views

Wrong data from DS18B20 temperature sensor after long power off

I have my Arduino Uno connected to the PC via USB when prototyping. I am developing a thermometer with memory, using DS18B20 sensors. When PC is shut down, there is no power on the USB and the ...
2
votes
3answers
7k views

What difference makes resistance of thermistors?

Following this thermistor tutorial i used 1k thermistors (and resistors) instead of 100k as in video. What difference does it make? What about 10k thermistors? Is it good idea to use 1k/10k/100k ...
2
votes
2answers
14k views

How to read temperature from multiple DS18B20 faster?

I am writing an Arduino sketch to read temp data from multiple DS18B20 sensors and then write it to serial. The problem is, as I am connecting more sensors, the delay between my temp data is written ...
2
votes
2answers
7k views

Problems with I2C connection on ESP8266 - 12F, which pins should I use?

Previously I had pined the temp/hum sensor HDC1080 with an Arduino using this sketch and everything worked fine. Now I want to run it over an ESP-12F, I uploaded it but it has issues at the time of ...
2
votes
4answers
2k views

Reading a 10 pin 7 segment (2 digits) sing Arduino 1. Please Help!

thanks for taking the time to read this, I really appreciate it. I am very new to Arduino and the Micro controller world so please forgive my ignorance. So I have an old 7 segment display that ...
2
votes
2answers
8k views

Problem with a DHT11 Temperature & Humidity sensor

I'm new in the Arduino world and today i was trying to make a simple program to show the temparature an humidity with this sensor. I made a circuit following one tutorial and nothing happend, the ...
2
votes
3answers
527 views

I2C Temperature Sensor Communication Issue

I'm currently learning I2C and having some issues displaying the correct temperature in the serial monitor. I am using an Arduino Uno and an SI7021 temperature sensor from Sparkfun; here's the ...
2
votes
2answers
603 views

Sensor for very low temperature (liquid nitrogen)

I'm looking for a way to measure temperatures in range of 40 to -200 °C (100 to −320 °F). The usual solution DS18B20 works only down to -55 °C (-67 °F). Any ideas? p.s. Precision of 2 °C would be ...
2
votes
1answer
211 views

Why is my DS18B20-PAR not picked up?

I have had a DS18B20-PAR for some time and have often used it without a problem until now. Yesterday it just suddenly stopped working. I was trying to use it along with two i2C sensors at the time. I ...
2
votes
5answers
331 views

Arithmetic mean for sensor

This is the code I am currently using, but I want to add an arithmetic mean to it. My goal is: when the pin A0 reads 5 values, I get the average on which the fan and led will depend to be turned on ...
2
votes
2answers
2k views

Thermosensor Error - 'Wire' does not name type?

Here is the code I am using: #define D6T_ID 0x0A #define D6T_CMD 0x4C int ReadBuffer[35]; float ptat; float tdata[16]; #include <Wire.h> void setup() { Wire.begin(); Serial.begin(9600); ...
2
votes
2answers
53 views

Running sensor input for given time, stopping, then running seperate scheduled relay output

I've set up an Arduino Uno to run a pretty basic garden watering schedule, with the delay function. I've now built a solar thermal water heater with a pump and tried running it separately through a ...
2
votes
2answers
2k views

DHT11 and DHT22 unused pin

The DHT11 and DHT22 is a 4 pin temperature and humidity sensor, where one of the pins is labelled as NC (not connected). I'm curious what the unused pin is used for. Factory calibration?
2
votes
2answers
10k views

Basics with DHT11

I just bought the sensor DHT11 and trying to test it with the library code provided by the IDE, but I always get the same error on .read() . Code -2 /*#################################################...
2
votes
2answers
749 views

Sending Analog Input Data from Serial Port to Google Sheets

So I'm trying to make use of my Arduino Uno while I purchase the components for my next project. I've made use of the Digital Hourglass project from the Starter Kit to make sure I get up and move ...
2
votes
2answers
272 views

Trouble reading LM35 with long (?) Ethernet connection

I have a quick question to ask. I have an Arduino Uno reading 4 temperature sensors (LM35) in 4 different rooms. What happens is that the two nearest rooms give stable values, while the two further ...
2
votes
1answer
220 views

Combine DHT22 and SI114X.h

It looks like I cannot combine the Grove sunlight sensor and the Grove DHT22 temperature and humidity sensor. I can't figure out why. I have the following setup: Seeeduino Cloud (Arduino Yún clone) ...
2
votes
3answers
569 views

Problems coding a 12 pin 7 segment display and grove temperature sensor with Arduino Uno

I am trying to code my 12 pin seven segment display to display the temperature from my grove temperature sensor. I am new to this and I have been struggling, so if anyone could help that would be much ...
2
votes
0answers
2k views

How to read temperature using arduino uno board with PT100 RTD sensor?

I am new to arduino programming. And almost inexperienced. I am looking to program my arduino Uno board to read 2/3/4 wire configuration of PT100 RTD sensor (in accuracy levels of atleast 0.5°C). The ...
1
vote
2answers
1k views

Arduino freezing with OLED display

I have a 0.96" OLED display hooked up to my Arduino Mega via SPI. I installed the Adafruit library and GFX library. I can run through the little graphical demo from Adafruit just fine as well as ...
1
vote
1answer
289 views

DHT11 Sensor : Stand-by or Shut down?

I have an ATmega328P monitoring room temperature and humidity. It is enough for me to monitor every 8 seconds. In these 8 seconds, I am putting my Atmega to sleep. Now , I want to know : Does ...
1
vote
1answer
773 views

DHT11 Sensor Code Fatal Error

I recently tried using Hobbyist.co.nz's guide on the DHT11 sensor. I installed the Adafruit_Sensor and DHT11 Sensor libraries, but it keeps returning with a fatal error. Here is the code and the ...
1
vote
3answers
2k views

Help using thermistor with esp8266

So I am trying to use this thermistor to measure temperature and with this code below it always puts the same value (2147483647). I used this tutorial to do the wiring and coding. I don't think the ...
1
vote
2answers
634 views

Best practices for really long distance sensor deployments

I'm noob to Arduino and electronics, but here is a problem from life which I need to solve for myself: We grow strawberries and early spring freezes can take most of the flowers from the plants. One ...
1
vote
1answer
161 views

Plug/socket between thermocouple wires and the amplifier

I am building a temperature monitoring system that has 24 thermocouples. Managing all the wires is a hassle, and I'd like to connect all 48 wires to a few plug and socket connectors. Maybe 6 of these ...
1
vote
1answer
196 views

Data loging while browsing a menu on LCD shield

I'm new in arduino and not particularly awaken when it comes to code ;) . I'm developing a device SD logging Temperatures from 2 thermocouple . Hardware works well and I'm now trying to refine use of ...
1
vote
1answer
165 views

How do I select Sensor using chip 74HC138 on Wemos D1 Mini?

I have a project for my graduate degree. It's about Monitoring Temperature and Humidity using Message Queuing Telemetry Transport on Serial NodeJS. To get sensor data to Wemos D1 Mini and NodeJS had ...
1
vote
1answer
58 views

Thermistor doesn't work [closed]

Connecting all like shows the image, thermistor shows, that I'm going to be burnt: The code is simple: #define analogPin A0 //the thermistor attach to #define beta 4090 #define resistance 10 ...
1
vote
1answer
2k views

Wemos: relay shield doesn't work on top of the stack

I connected a SHT30 shield to a Wemos D1 mini (one on top of the other) to measure temperatures. Wemos D1 mini (2.3.0): SHT30 shield: It works great but when I added a relay on the top of the ...
1
vote
2answers
2k views

How to measure the supply voltage of Arduino without using an analog pin

I'm using Arduino Nano to measure temperature with a 10 kohm thermistor and a voltage divider. My problem is I'm getting only 4.2V on the 5V pin. The power is supplied via a USB cable from a desktop ...
1
vote
1answer
2k views

MAX31855 giving NaN after some readings [closed]

In my current project I am measuring temperature using K-type thermocouple and MAX31855 breakout board and Arduino uno. I have used Adafruit-max31855 library and example code from that library. But ...
1
vote
4answers
1k views

Suggest some highly sensitive temperature sensor [closed]

Currently I am using DHT11 in my project, but its not very sensitive, it is quite slow in detecting temperature changes. What sensor could I use that will be more sensitive?
1
vote
1answer
33 views

Interpreting pull-up values Rp and Rpu in AM3202 (DHT22) datasheet [closed]

In the AM2302 datasheet at page 3, table 4, it gives min, typ and max values for Rpu (that the pull-up resistor as it says verbatim) being 30K, 45K and 60K ohm respectively. Elsewhere in the same ...