Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [temperature-sensor]

A component which measures heat.

Filter by
Sorted by
Tagged with
1 vote
0 answers
42 views

Help with combining sensor codes

I'm trying to combine 4 sensors' codes into one to display on the serial monitor: MAX30205, MAX30100, AHT20, and ENS160. I'm using the Adafruit ESP32 Feather V2 board. Here are the libraries that I've ...
GiaNguyen Pham's user avatar
1 vote
2 answers
218 views

DHT20 and OLED display not working together

I am trying to get my DHT20 and OLED (both from the Arduino Sensor Kit) to work at the same time. I am able to get them working separately with their respective test codes, but when I try to combine ...
Darren D'Arcy's user avatar
2 votes
2 answers
295 views

Arduino read thermocouple Type K with ADS1115

I ordered a ADS1115 so I could measure temperature of a type K thermocouple, but I am not managing to get accurate readings. I had it working while having a normal A0 pin, but since the type K table ...
Bart's user avatar
  • 123
0 votes
0 answers
527 views

ESP32 S3 Same code works on Serial1 but NOT on Serial0 for RS485 module

I have designed a test board to understand ESP32-S3 working pins. I am using USB interface D+, D- for programing so Serial0 is free to use. This is my test circuit for testing an RS485 converter. For ...
mehmet's user avatar
  • 287
3 votes
1 answer
181 views

Arduino Servo with temperature sensor (TMP36)

The essence of the program is to measure the temperature, and if the temperature is higher than 26 degrees, the servo rotates by 45 degrees, and if it's lower, it rotates by 179 degrees. However, a ...
Pain's user avatar
  • 33
0 votes
1 answer
107 views

DS18B20 doesn't work reliably

like discribed in the title my temperature sensor goes to -127 after a few minutes of run time, it works again after a restart, I have already replaced the sensor and I'm using the same code for the ...
Dennis's user avatar
  • 21
2 votes
0 answers
81 views

Slow I2C communication

To collect temperature and BPM, I connected a max30101 in my Heltec WiFi kit V3 with ESP32. The data collected are stored in arrays to extract statistical features from signals which an algorithm will ...
Alice's user avatar
  • 31
-1 votes
1 answer
243 views

NodeMcu V3 & BMe280 -> Temperature, Humidity, Pressure: value nan

I've just started playing around with a NodeMcu V3 and a BME280 sensor. wiring VCC -> 3.3V GND -> GND SCL -> D1 (GPIO5) SDA -> D2 (GPIO4) I've tried this sketch / I2C scanner: it finds ...
Massimo Variolo's user avatar
2 votes
2 answers
329 views

DS18B20 oneWire analog vs digital

I just discovered that the Dallas DS18B20 can be read from either digital or analog pins. I never thought analog was an option until I stumbled across an article searching for another issue. So now I'...
daves_nt_here's user avatar
1 vote
0 answers
76 views

Which temperature sensor is accurate?

I have an Arduino Nano RP2040 Connect with two temperature sensors. A DHT22 is connected to D2 and pulled up with a 5 kΩ resistor to 5V, and a LSM6DSOX IMU is built in to the board. Here's my code: #...
Ryland Goldman's user avatar
0 votes
1 answer
172 views

Temperature is not updated on OLED screen - Grove components

I am using 2 grove components in order to display a temperature. I use an I2C High Accuracy Temperature Sensor - MCP9808 and an OLED Screen using this script: #include <U8g2lib.h> #include <...
AsiJapan's user avatar
  • 113
1 vote
1 answer
276 views

DHT11 temperature and humidity sensor Code

I’ve got a question about this code I’ve attached please- would it be correct to read it like this: After defining the variable temperature and humidity and assigning measurement_timestamp to millis(),...
Tom's user avatar
  • 13
-2 votes
1 answer
52 views

how do I wire a 2nd Adafruit TMP117 board to my Adafruit Metro by I2C?

I want to connect two TMP117 boards to one Metro (ie. Arduino). (the first, addressed at 48 the 2nd at 49.) Should 2nd board's 4 wires simply attach (ie. solder) in parallel to 1st board's 4 wires? (...
Doug Null's user avatar
  • 201
0 votes
2 answers
646 views

Temperature sensors are heating themselves

I have 2 IoT devices for measuring room temperature. Room does not have direct sunlight (it is north oriented and have tree in front of window). One is ESP8266 with DHT11 and next one is ESP8266 with ...
110mat110's user avatar
  • 149
0 votes
2 answers
235 views

How to use the M117 temperature sensor from mysentech?

Anyone can help me decode the temperature of the M117 chip from mysentech.com? I tried things, but I get a constant raw value of 0xFFFF, which becomes 1 once 2's complemented is applied. The chip ...
Stéphane de Luca's user avatar
0 votes
1 answer
181 views

What's the difference between CloudTemperature, CloudTemperatureSensor and Float data types?

I have a SHT30 sensor for Wemos and I am learning to use Arduino IOT Cloud. I use float data type for my temperature variable but I see two more data types: CloudTemperature CloudTemperatureSensor ...
Roby Sottini's user avatar
3 votes
3 answers
129 views

How to perform multitask using arduino such as update data as well as check condition?

Here data is updated after every 2 seconds. But when the condition is true then the valve and motor process starts and data is updated only after completion of that part (i.e., data is updated after ...
Jashanjot Kaur's user avatar
0 votes
1 answer
88 views

Having trouble reading multiple thermistors w/ Arduino 2560

I'm trying to get my code to read multiple thermistors and I can't quite seem to get it correct using my arduino 2560. The first issue is it's not reading more than the first thermistor. The next ...
GarthDanti's user avatar
1 vote
0 answers
221 views

PID cooler temperature control

Hello Hello I am making a controller of a small cooler (dry ice) PID but Im not sure if I am using the indicated mosfet Im trying with a NPN 222a and my second option is IRFZ44 Which would be the best ...
Estefanía Rodríguez Álvarez's user avatar
0 votes
2 answers
1k views

DHT22 sensor reading code interprets negative values weirdly

The following code reads the DHT22 temperature and humidity values, assuming the pin value as the sensor's host pin. When the temperature drops below 0°C, this code returns inadequate values in the ...
Starter's user avatar
  • 153
0 votes
1 answer
118 views

Circuit to get highest reading value from multiple thermistors?

I need to measure temperature of 6 battery cells. I don't care much about individual cell readings, I just want to sound a buzzer as soon as at least one of the temperatures is above a certain ...
user avatar
2 votes
0 answers
49 views

About Corrupted LM35 IC and Arduino port problem

I have one Arduino Uno which was working fine by below circuit(link): But when I have connected the new bought the LM35 Ic by the below connection: The Arduino UNO don't be recognized by the my ...
Soheil Paper's user avatar
2 votes
1 answer
123 views

Error trying to simulate temperature dynamically

I'm trying to simulate dynamic temperature using a small set of data with ESP32. I've just realized that the relay doesn't change the status if there is some variation of the temperature upper or ...
s_tatus3's user avatar
1 vote
0 answers
92 views

Data output , ds18b20 , lcd1602 , yl-69, dht11

Good afternoon, I wonder if you could help me. I have the code but the data from the sensors is not correct. Perhaps there are some errors, could you fix them? I apologise for my inaccurate statement. ...
Дарина Бакута's user avatar
-1 votes
1 answer
107 views

Interfacing LM35 and MQ2 with Arduino

When I interface LM35 temperature sensor and MQ-2 gas sensor with Arduino - my LM35 sensor gave incorrect values. From research I've found out that MQ-2 gas sensor dragging the AREF voltage down and ...
mugdho nahian's user avatar
2 votes
0 answers
101 views

Parsing read SD file into 2 variables

Recently I started some tests controlling water heater with temperature sensor data as described in detail here So far I've been testing a small dataset to control water temperature that is quite easy ...
s_tatus3's user avatar
1 vote
1 answer
840 views

Dht 11 sensors give null value

void Sensor_value() { server.handleClient(); humidity = dht.readHumidity(); temperature = dht.readTemperature(); } I want to make condition if temperature = null and Humidity= null ...
Shrikant Nikam's user avatar
1 vote
0 answers
33 views

Does the Sparkfun ESP32 Thing is compatible with generic modules like DHT11 sensor?

First of all I am kind of a noob working with microcontrollers, by the way I am using Arduino IDE 1.8.13 I fallowed the hookup guide to set up Arduino IDE to work with Sparkfun ESP 32 Thing board, and ...
luis_laurent's user avatar
1 vote
0 answers
751 views

Need documentation for Soil Sensor from DIYmore

Does anyone have any documentation on this device? Im just curious how it work out of the box and how to reference the on board temp and soil sensors. Its a (for lack of a better name)a "ESP32 ...
Chris Catignani's user avatar
3 votes
1 answer
131 views

Reproduce simulated temperature data with Arduino

I'm starting a test using Arduino to reproduce a set of temperature values in water each three hours and need some help with it. I will use two ds18b20 sensors to control two thermostats connected to ...
s_tatus3's user avatar
1 vote
0 answers
59 views

Vernier to Arduino not working

I want to connect this analog Vernier temperature probe to my Arduino with this British Telecom Connector (BTA). According to datasheet, when sensor is in the connector, the PIN 6 of the connector ...
OtGreat's user avatar
  • 21
0 votes
1 answer
305 views

How to you initialize a reset on a sht30 digital thermometer?

I have a sht30 that will output correct temperature readings for about 5 min and then will drift off. So I'm trying to hit the reset every few seconds to keep the readings accurate. I am on a nano ...
brad's user avatar
  • 201
3 votes
1 answer
837 views

ATtiny85-DHT11-TM1637

I have tried many combinations and I can get the Attiny85 to display on the TM1637 just fine, but I cannot get ant readings from the DTH11, tried different pins, libraries. I upload code via UNO as ...
Jim Rodemeyer's user avatar
0 votes
1 answer
388 views

Servomotor and Bluetooth module block each other

For a small project, I aim to connect a digital temperature sensor (KY-028), a Bluetooth module (HC-05) and a servomotor (SG90). The problem is it seems I can't connect the Bluetooth module and the ...
Gabriel Stancu's user avatar
0 votes
2 answers
2k views

DC motor fan speed control with Temperature Sensor [duplicate]

I used this circuit schematic for the project however, when DC Motor starts to work, temperature value is increasing abnormally high. How can I solve this problem? It shows abnormal high values like ...
Raul's user avatar
  • 9
0 votes
3 answers
129 views

Why Are My High and Low Values Not Updating Correctly During Successive Loops

I am attempting to capture the high and low temperature and humidity values, then clearing the LCD and displaying them on 2 successive screen updates. All is working correctly except that the ...
Mav's user avatar
  • 9
1 vote
1 answer
71 views

How can i make my MLX90614ESF scan temperature after the MFRC522 scans the RFID tag? [closed]

//THIS IS THE RFID CODE #include <SPI.h> #include <MFRC522.h> #define RST_PIN 9 // Configurable, see typical pin layout above #define SS_PIN 10 // ...
Ace Canacan's user avatar
1 vote
0 answers
264 views

Temp Sensor not working on ESP32

I am using SHT21 temp sensor with ESP32 using I2C. The sensor only reports temp of -273 and 0 for RH. The sensor is not faulty as I have tried this on an Arduino UNO with the same sketch and it works ...
Zaffresky's user avatar
  • 183
1 vote
4 answers
114 views

Displayng 2 error messages on a 16x02 display

I am trying to display on a 16x02 LCD display 2 error codes. The error message is when one or both thermocouple wires get disconnected and the second error message is when the soldering iron temp goes ...
beard999's user avatar
1 vote
1 answer
365 views

what command should i use to read and write through spi.tranfer command

#include<spi.h> byte val; // variabe for storing temp data #define PIN_SPI_SS (9) #define PIN_SPI_MOSI (10) #define PIN_SPI_MISO (11) #define PIN_SPI_SCK (12) void setup(); pinMode(...
Swapnil Agrahari's user avatar
1 vote
1 answer
350 views

HTU21 on GY-21 breakout board I2C problem

I am interfacing the HTU21D sensor with my nodeMCU v3. All good! I managed to get some readings etc. But when I re-upload my code the device does not respond. If I remove the power supply from the pin ...
sanrays10's user avatar
0 votes
0 answers
240 views

how do i convert to assembly code (AVR assembly) from arduino

i have code in the Arduino ide for a temperature sensor that shows the temperature on three 7 segment displays, it shows the temperature to one decimal point. using an arduino uno. I am struggling to ...
dirshan ramlall's user avatar
1 vote
1 answer
2k views

DHT11 Humidity/Temp Sensor showing incorrect values [duplicate]

So I am trying to use a humidity sensor with an LCD, but have run into this problem I have yet to fix. My problem is that when it is turned on, it returns the values Humidity: 255% and Temp: 255C. I ...
SaucyCodes05's user avatar
2 votes
1 answer
122 views

L293D to change the direction current and amplify it - Temperature-Stabilizer

I have a question about my project. I'm going to make a temperature-stabilizer. To make this, I think I should use a TEC with a H-bridge and a LM35. First of all, I tried to make a H-bridge by myself, ...
GKO's user avatar
  • 21
1 vote
1 answer
289 views

Problem with if condition

So my project is including detecting the temperature in the room by using dth11 sensor. my idea is to add 3 LED lights were each light represent the temperature if its cold or hot or perfect. the ...
Faisal's user avatar
  • 11
1 vote
1 answer
4k views

DHT11 analog or digital?

I saw some projects with DHT11, some connect it with analog pin, others connect with digital pin. Is there any difference / advantage connecting to the analog?
wesWWW's user avatar
  • 13
0 votes
1 answer
50 views

Part identification [closed]

This may be a dumb question but i would like to know what this part is. Anyone who knows?
Jens Sejer Christiansen's user avatar
0 votes
1 answer
260 views

Use Low Power Arduino with Solar Panel

I am trying to create an arduino system with radio-transmitters and radio-receivers. The system runs from a rechargable battery that is charged with a solar panel. I am using a 1.1W 6V solar panel. ...
Filip's user avatar
  • 103
1 vote
0 answers
2k views

DS18B20 temperature sensor not working

I am new to arduino.I try to read temperature using DS18B20 temperature sensor.I connected the pins as bellow.But,When I connected 1-pin to ground and 3-pin to +5V the sensor heated and all the little ...
Kavindu Lochana's user avatar
1 vote
0 answers
95 views

Newbie trying to interface MLX90614 with Arduino Due

Im a newbie and Im trying to interface the temperature sensor mlx90614 to the arduino due using i2c bus. After a lot of digging I found this code which works,but it works only on the sda(20),scl(21) ...
Tejus Vivek's user avatar

1
2 3 4 5