Questions tagged [dht22]

a low cost humidity and temperature sensor with a single wire digital interface. The sensor is calibrated and doesn’t require extra components so you can get right to measuring relative humidity and temperature.

Filter by
Sorted by
Tagged with
0
votes
0answers
29 views

My Relay suddenly turns on and off, and this happens in a second

Well, I had written a code for Automatic Cooling with DHT 11, but I did not get any successful result in it, I want the Relay turn on when the humidity rises up, and I did not have any errors in my ...
1
vote
2answers
116 views

Is there a way to connect a DHT22 humidity sensor to a USB Port?

Forgive how green I am. Can I use a USB to TTL cable to connect a DHT22 sensor (not the module) to a raspberry pi and then listen in to the USB TTY in Raspbian to pull data off of the sensor? ...
1
vote
1answer
59 views

Piggyback two boards on a single RPi - Relay Board + Paddle Breakout

So I want to wire two DHT22 sensors (5V) to a Pi and also control a lightbulb with 220V. As a plus this should be very compact and I don't want to solder or use breadboards/jumper cabling. I looked ...
1
vote
2answers
194 views

AM2302 no signal using Raspberry Pi 3

I am trying to setup a AM2302 (DHT22) to use with Raspberry Pi, and unable to get a signal. What I need help is to be able to conclude whether the problem is due to (1) sensor fault (2) wiring fault (...
1
vote
1answer
66 views

Wiring that won't damage my pi [closed]

A while ago, I decided to wire up a Raspberry Pi (Zero W) to a few peripherals, but it stopped working shortly afterward (not entirely, but I think it was undervolting the power rails). I had ...
0
votes
2answers
138 views

DHT11 incorrect readings and taking too long to read values

We are trying to use a Camera Module v1 to record video using gstreamer whilst also reading from DHT11 every 4s. I observed that, when the camera is not running, DHT11 takes 1.5s to output the ...
3
votes
2answers
4k views

Docker run “someImage” returns: standard_init_linux.go190: exec user process caused “no such file or directory”

As the title said, I cannot reproduce this kind of error in any Dockerfiles of mine, after trying to run the Docker Container with docker run registryName:tag I'm trying to cross compile from amd64 ...
0
votes
0answers
316 views

DHT22 Sensor not working

I'm using a Pi 3 running Raspbian with a DHT22 sensor. When I run the DHT22 code: import Adafruit_DHT from time import sleep DELAY_INTERVAL = 0.3 dht_sensor = Adafruit_DHT.DHT22 DHT_PIN = 4 while ...
2
votes
0answers
533 views

PI Zero W, Running NodeJS and reading sensors - bad performance [closed]

I am doing a little project for my pet snake and that is a Terrarium controller with my Raspberry PI Zero W. Just for fun I created it using NodeJS since I am a bit familiar with it. A friend of mine ...
2
votes
1answer
302 views

error in atexit._run_exitfuncs when using DHT22 with pigpio library

I am using PIGPIO library to read temperature and humidity from a DHT22 sensor. This is the script I am using. import os import sys import time import pigpio pi = pigpio.pi() import DHT22 s = DHT22....
0
votes
0answers
140 views

DHT22 temp sensor. Randomly showing -11.1

I have two DHT22 sensors, connected to GPIO 4 AND GPIO 22 and 3.3V. It randomly shows -11.1 or 11.1 as output occasionally. See the sample log of polling it every few seconds using the "AdafruitDHT.py"...
1
vote
0answers
465 views

Using Raspberry Pi to Receive Float from Arduino using NRF24L01

Good day. I've been learning on how to transfer data from Arduino to Raspberry Pi wirelessly using NRF24L01 based on the following reference: Raspberry Pi 3 Tutorial 14 – Wireless Pi to Arduino ...
2
votes
3answers
6k views

Raspberry pi zero W + DHT22 sensor

Trying to get the DHT22 sensor working on my raspberry pi zero W. I have connected everything as required, I checked like 20 times but just in case here is a pic: I used this links to figure out ...
0
votes
2answers
2k views

DHT11 sensor with adafruit_DHT library keeps giving None reading

I am trying to get readings from a DHT11 sensor (temperature and humidity). I installed the library like so: git clone https://github.com/adafruit/Adafruit_Python_DHT.git cd Adafruit_Python_DHT sudo ...
1
vote
1answer
828 views

AM2302/DHT22 power supply

The AM2302 (or DHT22) supports power supply between 3.3V and 5V DC. I have seen both possibilities in various tutorials, although it seems most people go with 3.3V. Is it preferable to supply it ...
0
votes
0answers
682 views

How to determine if DHT22 is working?

I got this DHT22 sensor (COM-FOUR DHT22 AM2302) but I'm not able to extract any data from it... Current setup is Rpi2 -> Breadboard -> DHT22 Pi is based on standard configuration where I've only ...
0
votes
3answers
2k views

DHT11 or GPIO Library to Use in C

I am teaching a child C programming with the RPi using a project with the DHT 11. I'm coming from Python and Node on the RPi but haven't done I/O on the RPi in C. What are some available libraries we ...
0
votes
1answer
393 views

DHT22 Temp sensor - first time connected very high readings

I have just connected a DHT22 sensor to my RPi3. I have a 10k resistor between the data line and the 3.3v. The readings i am getting when I run loldht are very high (Humidity 1100.8 % and Temp 614.4 *...
0
votes
1answer
794 views

SQL Statements from multiple RPi to Web server

I am building a few RPi with temperature sensors and they are all connected to the same lan by ethernet. Raspberry Pi 1 has address 172.10.16.1 Raspberry Pi 2 has address 172.10.16.2 Raspberry Pi 3 ...
2
votes
0answers
921 views

99% humidity during the night and indoors using DHT22

I've been playing with the DHT22, but the humidity values are very intriguing. During the night or indoors the sensor is returning 99%. While the temperature values looks good. Here is a ...
0
votes
2answers
514 views

RPi 3 DHT22 question about the sensor

Good morning everyone, I wanted to ask a question about the usage of a DHT22 sensor (AM2302). I was about to buy a sensor mounted on a board, as you can see in the link on amazon: Amazon DHT22 It ...
0
votes
2answers
583 views

Multiple DHT22 sensors in different sets of GPIO ports

Is it possible to connect multiple sensors to different ports? I have one working using 1 for 3.3, 9 for GPIO4 and 6 for ground based on this image https://encrypted-tbn3.gstatic.com/images?q=tbn:...
1
vote
0answers
474 views

DHT22 not working on Raspberry Pi2

I have DHT22 sensor hooked up to my Raspberry Pi2 running default Raspbian image. I have similar setup on Raspberry Pi B and it is working. I am using Adafruit library for DH22. However when I try ...
3
votes
4answers
1k views

DHT22 Raspberry Pi 2/3 questionable humidity accuracy

Background: My project is to have several raspberry pis measuring and record temperature and humidity throughout our factory. DHT22 AM2302 sensor seemed like the best option at the time, do to its ...
0
votes
1answer
2k views

How to know if DHT11/DHT22 is working?

How to know if Temperature and humidity sensor DHT11 is working. I am trying to read data from DHT11, when I read data using Adafruit library it just keeps waiting for data. When I tried using https://...
1
vote
1answer
981 views

DHT22 code problems

I've been having problems integrating the code used to extract temp/humidity measurements from the DHT22 into a larger python script. The following code works without issue - import Adafruit_DHT as ...
1
vote
1answer
467 views

Adafruit DHT22 measurement problem

I am logging Temp and Hum with the DHT22 sensor every minute. Every Now and than a wrong measurement occurs. So long I recorded 4days 7hours and and within this period 3, measurements with totally ...
0
votes
1answer
79 views

Can I use a DHT22 sensor with the servo hat installed on my RPi-3?

the title pretty much says it all... My son an I are doing some robotics experimenting with the RPi-2 and RPi-3, we are using the Servo Hat to control several servos on them. We would like to ...
0
votes
1answer
834 views

Can't access gpio with sudo, still have Make sure program is run as root with sudo

I want to connect my DHT11 sensor to my Raspberry pi 2 Model B. I am using the adafruit tutorial (https://github.com/adafruit/Adafruit_Python_DHT). I've copied the simpletest.pyand ran it with sudo (...
2
votes
1answer
2k views

DHT22 temp sensor. Randomly dropping

I am having trouble with a dht22 sensor. It works well for most of the time but randomly the library I am using can no longer receive a reading until I unplug then plug the sensor back in. (just ...
2
votes
1answer
1k views

pigpio = DHT22 humidity sensor + TMP36 readings PROBLEM

What I'm trying to do is to read temperature from TMP36 sensor (over MCP3008 ADC), light from LDR, and humidity from DHT22 sensor. Firstly, I had one script for temperature and light readings, and it ...
2
votes
1answer
1k views

What will happen if I accidentally connect GND to VCC and VCC to GND?

I accidentally connected DHT11's GND to VCC and VCC to GND. Now I can't read using it. Is it damaged now? What could have happened? (Sorry if it sounds lame, I am a newbie)
2
votes
1answer
1k views

Windows 10 iot, Raspberry Pi 2, DHT22/AM2302 Sensor Not Receiving Data

Currently I am using the DHT22/AM2302 which has a built in 5.1k resistor, using the program provided from https://ms-iot.github.io/content/en-US/win10/samples/GpioOneWire.htm and connected the sensors ...
0
votes
2answers
1k views

Pulling Data from Python Script for Webpage on RPi

Now this issue isn't particular to the Raspberry Pi, but I'm really lost on how all this works. I've written a Python script that successfully pulls the temperature and humidity from a number of DHT22 ...
1
vote
2answers
8k views

How many sensors I can connect to one breadboard ? (raspberry pi 2)

I'm a new user of raspberry pi 2. I'm preparing a school project and I wonder how many sensors I can plug in to my raspberry pi. I would like to connect 3 sensors: PIR sensor DHT22 DS18B20 Will ...
0
votes
0answers
429 views

Raspberry Pi 2 : DHT11 : Oracle Java ME Embedded

Anyone integrated DHT11 temperature sensor on Raspberry Pi2 with Oracle Java ME Embedded system? Any direction will be helpful.
2
votes
2answers
6k views

How many DHT22's can be connected to a RPi?

I'm intending to use DHT22s to get temperatures from multiple sites using a RPi2. Since I'm not much of an electronics guy, how many DHT22s can I connect? From the schematics, it uses the 3V port for ...
0
votes
2answers
4k views

Recording Temperature and Humidity Data to a Memory Stick

I have a Adafruit DHT22 sensor connected to my Raspberry Pi B+. I want to put this in an outbuilding to monitor the temperature and humidity over a period of time. The building has mains power but ...
0
votes
1answer
786 views

DHT22 code not working (datasheet instruction and xenomai)

I'm trying to read temperature form DHT22 using Raspbian patched with xenomai real time system. I'm following steps of datasheet page 4 using gpio4. . the circuit is correctly wired(I can read with ...