Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [temperature-sensor]

A component which measures heat.

2
votes
2answers
6k 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
1answer
213 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) ...
0
votes
1answer
463 views

GPS module not working with sensor

I am connecting my Soil Moisture Temperature Sensor SHT10 with GSM Module SIM900A and GPS GY-GPS6MV2. Individually, all components work properly and give proper values. But when I interface all three ...
0
votes
1answer
16 views

Need help combining two sketches (HC05 and temperature)

I have a project where I have to combine 4 sensors and get data wireless via Bluetooth (HC05). I just want help with combining just 1 sensor sketch and the Bluetooth sketch. I want the data from the ...
0
votes
2answers
36 views

Interrupt triggering using DHT-11

I am new at arduino. I want to write a sketch that would print the message if the temperature grows greater than 30 C. Here is my sketch can you please tell me what's wrong with it #include "DHT.h" #...
0
votes
0answers
32 views

Arduino stuck when I disable Timer 2 Interrupt

#define TIM2_EN() (TIMSK2 = 0x02) #define TIM2_DIS() (TIMSK2 = 0x00) //HEART SENSOR // Include Libraries #include "Arduino.h" class PulseSensor { public: static void begin(int pulsePin); static ...
0
votes
0answers
36 views

What is the difference between the digital temperature sensors SHT31 and DHT11 or DHT12?

I am looking for a digital temperature sensor with I2C interface. I found the SHT31 and the DHT12 (compatible to DHT11). Both also include humidity sensors. And I found libraries for both of them. ...
1
vote
0answers
36 views

Converting Client input char to int

I'm trying to print out the temperature from a DS18B20 sensor to my app via a tpc connection. Because I have two sensors connected I will need to call the one needed by an Index. This index comes from ...
-2
votes
1answer
34 views

Use 2 DHT22 AND PASS THE DATA TO SD Error File data does not exsist

anyone can help me please to fix this error when I try to compilate says File does not exsist. It would be great if anyone can post the entirely code. Link of code below if anyone can help me please: ...
1
vote
0answers
82 views

Arduino Uno - temperature sensor DS18B20 not responding

I try to use a new DS18B20+ temperature sensor (sealed water proof version). It doesn't work. My own code doesn't work, examples from DallasTemperature Library don't work, example from OneWire ...
0
votes
0answers
29 views

EEPROM.read data not comparing with DHT11 sensor value - Arduino temp controller

I'm using a DHT11 to read temperature to control a relay that will control a fan. When 'A' is pressed it allows the user to update the temp value that the relay will go HIGH at. The value is being ...
1
vote
1answer
25 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 ...
0
votes
1answer
49 views

DHT 11 temp. And hum. Sensor always 0 values

I am trying to get my DHT 11 from the official arduino store to work (https://store.arduino.cc/grove-temperature-humidity-sensor). I am following this guide right here: http://wiki.seeedstudio.com/...
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 ...
0
votes
0answers
37 views

Can I put a resistor in the ground connection of my DHT22 sensor?

I'm building a project that uses a couple of Adafruit DTH22 temp/humidity sensors. (https://www.adafruit.com/product/385) I have them wired into my project box through 3.5mm mini plugs (The kind that ...
1
vote
1answer
65 views

Arduino based fully controlled aquaculture

I am doing a project on aquaculture,so I am using temperature sensor, water level sensor, dissolved oxygen sensor, pH sensor and also 4 motor's and water heater is it possible for a single Arduino to ...
1
vote
1answer
5k views

DHT11 data in Arduino UNO to Firebase through ESP8266

Hello Good Day to Everyone. I have a project where I need to send DHT11 sensor data to a Firebase database using both Arduino UNO and Esp8266 esp-01 wifi module. Both of them must work together to ...
0
votes
2answers
109 views

Combining code for multiple sensors in a single program [closed]

I need to operate 3 different sensors (taken 6 sensors of each type) by Arduino Mega2560 :- DHT11 (temperature-Humidity sensor) MQ5 (gas sensor) and Soil Moisture sensor {taken 6 of each type (total=...
0
votes
1answer
4k views

How to make MEMS IR Thermal Sensor - D6T-44-L06 work with Arduino?

I am working on project that my team need to detect the presence of the people. At first, we tried with motion sensor but it wasn't the way that we want it to work. We want to detect presence of the ...
1
vote
1answer
86 views

Looking for a waterproof SPI temperature sensor

In my current project I'm using a DS18B20, which seems to be the only temperature sensor to show up when googling for waterproof temperature sensor for an arduino. The sensor itself is fine, however, ...
2
votes
2answers
6k 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 ...
7
votes
2answers
1k 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 ...
2
votes
2answers
240 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 ...
1
vote
1answer
1k views

MQ135 Air Quality Sensor Signal Amplifier needed? Higher Quality Sensor?

I am trying to strengthen the signal from my MQ135 air quality sensor so it can detect aerosols from 3 feet away, as, currently as it stands the resolution is pathetic, it only blips from 0.21 to 0.58 ...
1
vote
1answer
46 views

Error:expected declaration before { token. (Havent i already declared it?) [closed]

I'm getting the error message: sketch_dec31d.ino: In function 'void setup()': sketch_dec31d:20: error: expected unqualified-id before '.' token sketch_dec31d.ino: In function 'void loop()': ...
-1
votes
1answer
23 views

I keep gettint the error expected construcotr,destructor or type conversion before = token [closed]

#include <dht.h> dht DHT; #define DHT11_PIN 2 // what pin we're connected to // DHT 11 String TextForSms ; String humidity = " Humidity: %"; String temperature = " Temperature"; String ...
0
votes
0answers
53 views

LCD (I2C) issues with pull up resistor

I'm close to finish my first DYI project. But a never seen issue on the breadboard has apprear as soon as assembled. The LCD is always / totally blank/black. When I remove the 4.7 K ohm pull-up ...
1
vote
1answer
814 views

Arduino MKR1000 and DHT11 not giving correct output for temperature and humidity

I've been trying to follow this tutorial to wire my Arduino MKR1000 to a DHT11 temperature and humidity sensor, but my output consists of either 0's or 255's for both values. I've tried several ...
0
votes
1answer
527 views

Using Modbus-RTU with Arduino and temperature controller

I'm trying to connect with a 4 channel temperature controller using Arduino Modbus Library. This is a part of my temperature controller datasheet. It has register for read PV of each channel. I have ...
1
vote
1answer
140 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 ...
0
votes
1answer
104 views

MKR1000 and DS18B20 temperature sensor

I am new to Arduino and electronics in general and I can't get my MKR1000 to read correct data from a DS18B20 temperature sensor. Here is the tutorial I followed. The issue is: I always get the same ...
-1
votes
1answer
57 views

Learn Arduino Basics : Temperature sensor with LCD Display and Potentiometer setup [closed]

I have temperature sensor, potentiometer and LCD screen attached to mini breadboard and wired to an Arduino. My temp sensor appears to be working fine however sometimes it reads inaccurate numbers ...
0
votes
1answer
219 views

DHT22 need pull down/up ESP8266

I have the strange pb. My esp8266 was working fine with my DHT22 and then failed every time. I loaded an example sketch in a other ESP8266 and I have the same pb.... until I shut down -> up the DHT22 ...
0
votes
2answers
310 views

How to Connect ESP8266 with ultrasonic sensor and dht11 without breadboard? [duplicate]

I want to connect the sensors in Esp8266 after I code those using arduino uno r3. The problem is that I don't have the idea on connecting those sensors without breadboard. Thank you
0
votes
1answer
204 views

how to increase the delay factor of DHT11?

There is no compiler error but output is showing timeout error. as per as the instruction given in https://github.com/RobTillaart/Arduino/issues/61 it says to increase the timeout factor but i did ...
0
votes
1answer
129 views

Frequent ON OFF in SSR

I am working on a project on Arduino OLED MAX6675 thermocouple and SSR for my oven. My problem is when my SSR goes in LOW or HIGH state it turn ON and OFF several times before going to permanent HIGH ...
1
vote
1answer
145 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 ...
0
votes
2answers
24 views

Ping a sensor for error checking

Is it possible to ping a sensor, like DHT22 or 18B20, to check for connection. I want to do an error check in void setup() and make sure all sensors are connected properly.
2
votes
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
1answer
54 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 ...
4
votes
6answers
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. ...
1
vote
1answer
208 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
0answers
162 views

Too high mistake percentage in reading data from MLX90615 Sensor & Arduino?

I have bought a MLX90615 IR Thermal sensor with my Arduino UNO. After consulting Google and Github data, I have code similar to this: #include "LiquidCrystal.h" unsigned char Re_buf[11],counter=0;...
0
votes
1answer
80 views

Is there a real alternative now to using GSM for data sending?

I would like to create an Arduino system that sends the temperature in a place outdoors to a server. I've read in Internet forums that there might be alternatives to GSM and GPRS technology for ...
0
votes
1answer
156 views

SerialPort Node.js stuck in 'Error'

I am trying to get my Arduino to send data to my computer using Node.js Serial port. Everything compiles, my Arduino is working well and sending data in the serial monitor, but the program always goes ...
1
vote
1answer
355 views

Using ESP8266 Adapter with Temperature/Humidity Sensor

Good Day. I am currently following a project where I can send data to my firebase database using an ESP8266-ESP01 wifi module and DHT11 temp/hum sensor. I am using this adapter to enter the boot mode ...
0
votes
2answers
72 views

How to control two devices with Arduino? [closed]

I want to control two devices: AC Humidifier I have a DHT11 sensor for temperature and humidity. I want the AC to turn on when the temperature is greater than 30°C, and off when it's less than 20°C....
0
votes
2answers
636 views

Need help with converting Celsius to Fahrenheit in the code

I'm new to Arduino and trying to figure out how to convert Celsius to Fahrenheit with the parameters listed below. Do I need to create a separate file for the calculations? If so, can someone help me ...
0
votes
0answers
415 views

PWM fans causing temp sensor erroneus values (interference?)

I am learning Arduino programming and my current project for real use is to connect 10-17 PC chassis PWM fans to be temperature controlled by the arduino. So, I have connected the fans exactly as in ...
4
votes
2answers
537 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 ...