Stack Exchange Network

Stack Exchange network consists of 174 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
0answers
31 views

Comfort zone environmental sensor [closed]

Humans need a very specific set of environmental conditions for their wellbeing, mainly temperature, humidity and illumination. I would like to create a device that can tell how comfortable a certain ...
1
vote
1answer
33 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
39 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
18 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
24 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
43 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
53 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
43 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
101 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
114 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
95 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
93 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
283 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
0answers
56 views

Refreshing LCD with different frequency than output

I have a problem, where I want to use a digital output of Arduino at range of 1kHz, but refresh the LCD with 1 Hz. I don't know how to refresh LCD slower, without effecting the frequency of output ...
0
votes
2answers
22 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
112 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
69 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
44 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
100 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
57 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
93 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
67 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
324 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
234 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
98 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
104 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
462 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
72 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
674 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
56 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
183 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
1k 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
850 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
0answers
112 views

DHT22 powered by Arduino pin uses MORE power while sleeping?

Experimenting with a low-power temp/humidity wireless sensor. Brief H/W description: ATMEGA328P chip (bare, int.8MHz clock) powered by LiPo cell. DHT22 with Vcc connected to Arduino Pin 9. NRF24L01+...
0
votes
1answer
52 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
248 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
310 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
100 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
279 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
71 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 (...
0
votes
0answers
259 views

Powering DHT Sensor from Digital Pin

Been having a lot of trouble getting my DHT sensor to take power from a digital pin. Can anyone clue me in here? All I get is %nan% or no signal when I try to power it from a pin. Here is my ...
3
votes
1answer
154 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 ...
1
vote
1answer
572 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
votes
3answers
47 views

Which voltage should I use with a component that allows between 3v and 5.5v? [closed]

I have a DS18B20 temperature sensor that needs between 3v and 5.5v to work, as seen in its documentation. What's the difference? Should it work better which 5.5v? I know that a LED with more voltage ...
0
votes
1answer
1k 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
2answers
4k 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 ...
1
vote
1answer
647 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
523 views

Arduino Serial data communication with NodeJS

I am using an Arduino Uno and a DTH11 temperature sensor to read temperature and then send that value to a computer via the serial port. A NodeJS application is running on the computer and captures ...
0
votes
0answers
369 views

Temperature Sensor not giving proper values

In my current project I am reading temperature through sensor which is having only two wires. To read sensor values, I have used below schematic which I have found on Arduino Project Hub site. In my ...
0
votes
1answer
318 views

How do I connect a temperature and heartbeat sensor to an Arduino Uno?

I have been using a temperature sensor and heartbeat sensor separately and I am trying to code for temperature and heartbeat sensors. How do I get its output on the Arduino IDE's Serial Plotter? Code ...