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.

57 questions
3
votes
2 answers

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 -> arm6 via gitLab CI 1. Dockerfile: FROM…
Phong
  • 113
  • 1
  • 10
3
votes
4 answers

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 ability to measure both humidity and temperature at…
JKMartinez
  • 89
  • 1
  • 5
3
votes
1 answer

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 disconnecting and reconnecting the GND pin is often…
BryanK
  • 285
  • 1
  • 3
  • 8
3
votes
2 answers

Reliable temperature/humidity logging with Python and a DHT11

There are more than 100 questions on this site concerning DHT11 or DHT22 sensors and I have used these with Python and c code using various libraries. None that I have tried seem to give reliable consistent results. I have been using the Adafruit…
Milliways
  • 62,573
  • 32
  • 113
  • 225
2
votes
0 answers

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

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 created everything hardware related and just gave…
ZassX
  • 121
  • 2
2
votes
1 answer

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 =…
Leonard AB
  • 121
  • 2
2
votes
3 answers

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 what to connect and where…
vallllll
  • 121
  • 1
  • 1
  • 5
2
votes
0 answers

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 visualization for the last 12 hours: Before 10:30 the sensor…
rednaks
  • 121
  • 3
2
votes
1 answer

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 worked ok. And also I had another script for…
hideburn
  • 137
  • 2
  • 9
2
votes
1 answer

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)
Ric
  • 89
  • 1
  • 8
2
votes
1 answer

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 VCC to 3.3V(Pin1), GND to GND(Pin6), and DOUT to…
JKMartinez
  • 89
  • 1
  • 5
2
votes
2 answers

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 it work on the one breadbord? I don't want to…
Anna K
  • 121
  • 1
  • 1
  • 3
2
votes
2 answers

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 power, and RPi has 2 of those only.
Sin5k4
  • 123
  • 1
  • 5
1
vote
2 answers

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? Additional information: USB to TTL cable: Red =…
Shrout1
  • 172
  • 1
  • 11
1
vote
1 answer

How to use a stackable Rpi relay HAT to control 220V AC mains power?

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 around and found some nice HATs/boards for the Pi.…
duenni
  • 111
  • 4
1
2 3 4