Questions tagged [temperature-sensor]
A component which measures heat.
227 questions
0
votes
1
answer
75
views
Change I2C address of Arduino Modulino Thermo
I want to use several Arduino Modulino Thermo modules in one project and therefore change the default I2C addresses of the sensors. On the internet, I find conflicting info about if this is possible.
...
0
votes
1
answer
537
views
Set SPI Mode on Arduino Uno R4
I am switching a code from Arduino Uno R3 to Arduino Uno R4 Wifi due to the limitation of RAM spaces on R3. I use a thermocouple shield and SD Card read/write shield with the project, which requires ...
1
vote
2
answers
296
views
Why is my BME280 sensor returning 0 for all data values?
My BME280 is returning 0 for temperature in Celsius, 0% humidity, 0.00 pressure (hPa) and 44330.00m for altitude. I am connecting it with I2C on a Raspberry Pi Pico and everyone on the team has ...
1
vote
0
answers
99
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 ...
1
vote
2
answers
386
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 ...
2
votes
2
answers
987
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 ...
0
votes
0
answers
999
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 ...
3
votes
1
answer
435
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 ...
0
votes
1
answer
196
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 ...
2
votes
0
answers
113
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 ...
-1
votes
1
answer
450
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 ...
2
votes
2
answers
772
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'...
1
vote
0
answers
113
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:
#...
0
votes
1
answer
227
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 <...
1
vote
1
answer
403
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(),...
-2
votes
1
answer
80
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?
(...
0
votes
2
answers
1k
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 ...
0
votes
2
answers
358
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 ...
0
votes
1
answer
261
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
...
3
votes
3
answers
167
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 ...
0
votes
1
answer
120
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 ...
1
vote
0
answers
308
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 ...
0
votes
2
answers
2k
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 ...
0
votes
1
answer
165
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 ...
2
votes
0
answers
81
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 ...
2
votes
1
answer
163
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 ...
1
vote
0
answers
113
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. ...
-1
votes
1
answer
138
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 ...
2
votes
0
answers
119
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 ...
1
vote
1
answer
984
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 ...
1
vote
0
answers
42
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 ...
0
votes
0
answers
960
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 ...
3
votes
1
answer
168
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 ...
1
vote
0
answers
83
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 ...
0
votes
1
answer
386
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 ...
3
votes
1
answer
1k
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 ...
0
votes
1
answer
481
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 ...
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 ...
0
votes
3
answers
150
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 ...
1
vote
0
answers
339
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 ...
1
vote
4
answers
149
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 ...
1
vote
1
answer
392
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(...
1
vote
1
answer
447
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 ...
0
votes
0
answers
285
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 ...
1
vote
1
answer
3k
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 ...
2
votes
1
answer
153
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, ...
1
vote
1
answer
330
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 ...
1
vote
1
answer
5k
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?
0
votes
1
answer
59
views
Part identification [closed]
This may be a dumb question but i would like to know what this part is. Anyone who knows?
0
votes
1
answer
324
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.
...