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.

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
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
0answers
37 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 ...
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 ...
-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: ...
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/...
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 ...
0
votes
2answers
111 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=...
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
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
141 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
106 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
220 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
311 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
205 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 ...
0
votes
1answer
532 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 ...
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.
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 ...
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, ...
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 ...
1
vote
1answer
209 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 ...
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 ...
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
639 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 ...
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
2answers
134 views

TMP36 not working with arduino uno?

I have an Arduino Uno hooked up with a TMP36 and an ESP8266 to send the temperature reading to a PHP file which receives the post request and stores it in a text file. The ESP8266 and PHP works fine ...
1
vote
0answers
700 views

ESP8266 can't read parasitic DS18B20 temperature (reset during conversion, 85°C)

tl;dr at the end I was running two DS18B20+PAR temperature sensors without any problems for the last two years on an ESP-01 module running on 3.3V on GPIO 2 using a 4.7K pullup resistor. Now, ...
1
vote
1answer
98 views

DHT22 Hanging Up Entire Program

In the process of learning and working on a larger project, I started by adding an OLED display (128x64, SPI). I wrote a simple script to update every 5 seconds and then display the number of seconds ...
2
votes
3answers
877 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; ...
0
votes
0answers
66 views

How to interface LCD?

I brought an ATmega328p chip today, which I bootloaded later on and I tried some basic circuit examples (like blink LED) with the chip (Minimizing the circuitry) and it worked perfectly fine. When I ...
0
votes
0answers
256 views

Ethercard SD and DHT11

I want to build a web page on an ATmega328 that will link me to an SD card file with the saved values of a DHT11 sensor. I manage to program the "Web Server" on the atmega328 and the code that creates ...
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 ...
0
votes
1answer
65 views

Problems bluetoothing float values

I have two Arduino Unos, one of which is connected to a HC-05 bluetooth device and a temperature reader, the other has just a HC-05 bluetooth and is expected to output temperature readings in serial ...
0
votes
1answer
350 views

LMT 84 temperature sensor measurement error

I want to measure atomospheric temperature with arduino sensor i am using is LMT84. data sheet :http://www.ti.com/lit/ds/symlink/lmt84.pdf After uploading following code to arduino board i am ...
0
votes
1answer
390 views

DHT 11 sensors and i2c LCD to Wemos Wifi not Working

Its my first time make arduino project. I make wemos d1 project using DHT11 temperature sensor and LCD 20x4 with i2c. The temperature data will display in LCD and sending to the bot telegram. For ...
0
votes
0answers
130 views

Read the temperature of some temperature sensor in the neighbourhood

I got a new thermometer that supports an outdoor module. Despite the fact that I don't have such a module it displays an outside temperature of currently 2.6°C, which is more or less accurate for the ...
1
vote
1answer
393 views

Temperature control using a DHT11

I am trying to do a project on temperature control and found an example but cannot get the code to work. I have read forums and tried to fix the issue which is below the code. Code: #include<DHT....
0
votes
0answers
78 views

Spurious temp readings with DHT11

I have a very simple circuit and program to read the temperature and humidity from a DHT11 sensor and an Arduino Nano. When connected to the PC all works as expected but when I switch to a battery (...
3
votes
1answer
196 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 ...