This is my first post and I`m new to the forum as well!
I am working with RPi for some time now (only as a hobby, I like the DIY projects!
Namely, I have a DH11 temp+humidity sensor hooked up to my RPi3 and using the code below as test:
Code: Select all
#!/usr/bin/python
import sys
import Adafruit_DHT
while True:
humidity, temperature = Adafruit_DHT.read_retry(11, 23)
print 'Temp: {0:0.1f} C Humidity: {1:0.1f} %'.format(temperature, humidity)I`m working in a T-shirt and shorts and its not cold so I figured that the sensor may want to trick me
Joking aside, I suppose there can be 3 different causes for this:
1. Distance, so its loosing signal and somehow the signal should be strengthened.
2. The signal is interfered within the walls, because its running next to other CAT-5E cables (but currently they are not in use! so they are just sitting there)
3. The sensor must be calibrated somehow, since its detecting temp changes and humidity changes even over the 20m distance, but of course the values are incorrect.
So I wanted to reach out to the helpful community in hopes that someone can help me in resolving my agonies with the sensor and the distance.
Thank you in advance!
Cheers!