Go to advanced search

by pcmanbob
Tue May 28, 2019 10:15 am
Forum: Automation, sensing and robotics
Topic: Temperature sensor and real time clock
Replies: 3
Views: 937

Re: Temperature sensor and real time clock

Hi.

Yes you can run both the dht22 sensors and the RTC either using the two 3.3v pins on the gpio or by connecting all to one pin via a PCB that all the components are connected to.
by MadHoover
Tue May 28, 2019 8:03 am
Forum: Automation, sensing and robotics
Topic: Temperature sensor and real time clock
Replies: 3
Views: 937

Temperature sensor and real time clock

... time - I know very, very little about circuits and such so this was an accomplishment ;) ). So whilst I know you can get temperature components (dht22 sensors) and real time clock modules (ds3231) that the pi can use I don't know if they can be combined together. Since ds3231 draws 3.3V and I ...
by EZKernel
Sun May 26, 2019 11:26 pm
Forum: Troubleshooting
Topic: DHT22/AM2302 and I/O conflicts
Replies: 3
Views: 325

Re: DHT22/AM2302 and I/O conflicts

thanks for your reply Joan, I was figuring if they were kernel level processes they would get absolute process priority and others in the forums have said that it had worked for them. I agree with you that this sensor sucks. I actually ran across your website when someone compared it to lol_dht as w...
by joan
Sun May 26, 2019 10:08 pm
Forum: Troubleshooting
Topic: DHT22/AM2302 and I/O conflicts
Replies: 3
Views: 325

Re: DHT22/AM2302 and I/O conflicts

... (e.g. BME280, Si7021 etc.) that works on the I2C bus. I doubt that the kernel modules will be any better than user space modules at reading the DHT22. Have a look at my user space http://abyz.me.uk/rpi/pigpio/examples.html#pdif2_DHTXXD (requires the pigpio daemon to be running). I doubt you ...
by EZKernel
Sun May 26, 2019 9:54 pm
Forum: Troubleshooting
Topic: DHT22/AM2302 and I/O conflicts
Replies: 3
Views: 325

Re: DHT22/AM2302 and I/O conflicts

... well. https://github.com/seblucas/lol_dht22 there are 3 more individuals that have written kernel drivers (.ko files) https://github.com/Filkolev/DHT22-sensor-driver https://github.com/KermsGit/dht22 https://github.com/edwardlintw/DHT22 however, I've come to a roadblock in setting up the correct ...
by EZKernel
Sat May 25, 2019 5:02 pm
Forum: Troubleshooting
Topic: DHT22/AM2302 and I/O conflicts
Replies: 3
Views: 325

DHT22/AM2302 and I/O conflicts

Hi all, sorry that I am asking for help on my first post but I thought I might as well say hi. My background is in finance, accounting and data analysis so I know very little about electrical engineering and safety, I have done an energy physics course in university and that is not saying much. I do...
by ghp
Fri May 17, 2019 4:47 pm
Forum: Python
Topic: Adafruit DHT22, CGI and Apache
Replies: 2
Views: 332

Re: Adafruit DHT22, CGI and Apache

Instead of reading in the glass ball, I would prefer to read the CGI script. Probability for good answers increases with the number of lines of codes posted here.
by joan
Fri May 17, 2019 11:25 am
Forum: Python
Topic: Adafruit DHT22, CGI and Apache
Replies: 2
Views: 332

Re: Adafruit DHT22, CGI and Apache

I would search for the '<!--' in one of the scripts you are executing. It sounds like that script is being returned as the result rather than being executed.
by finndus
Fri May 17, 2019 10:39 am
Forum: Python
Topic: Adafruit DHT22, CGI and Apache
Replies: 2
Views: 332

Adafruit DHT22, CGI and Apache

Hi, I'm having trouble reading an Adafruit DHT22 sensor (temperature/humidity) through a CGI python script, when called from the webpage. I know the backend programme works as it is logging the temperatures to a sql database, but when I try to ...
by joan
Sun May 12, 2019 11:07 pm
Forum: Troubleshooting
Topic: Can't get DHT22 to work
Replies: 3
Views: 279

Re: Can't get DHT22 to work

It also looks like the DHT - pin is connected to 5V and the DHT + pin is connected to ground. That might destroy the DHT and the Pi.
by danjperron
Sun May 12, 2019 10:57 pm
Forum: Troubleshooting
Topic: Can't get DHT22 to work
Replies: 3
Views: 279

Re: Can't get DHT22 to work

The third picture show me that you are using 5V instead of 3.3V. This is wrong since that type of DHT22 pcb use a pull-up connect to the + pin. Then you put 5V on your GPIO.


First try it at 3.3V instead of 5V and change the GPIO pin in case you burned that GPIO pin using 5V.
by pcmanbob
Sun May 12, 2019 10:22 am
Forum: Troubleshooting
Topic: Can't get DHT22 to work
Replies: 3
Views: 279

Re: Can't get DHT22 to work

Hi. For us to help we need to see your pictures for a start, up load them to imgur.com and then post the links in your post , we also need to see the code you are using to understand how you are attempting to access the sensor. please use code tags when posting code Add [ code] at the top code goes ...
by peppy.player
Sun May 12, 2019 2:51 am
Forum: Русский
Topic: Не дорогой дисплей совместно с датчиком DHT22
Replies: 2
Views: 831

Re: Не дорогой дисплей совместно с датчиком DHT22

Не совсем обычный вариант питания - через HDMI. Похоже очень малопотребляющий дисплей.
Обычно питание происходит либо через GPIO, либо через отдельный USB кабель.

Решений вашей задачи существует вагон и маленькая тележка. Не совсем понятно какой
ответ вы ожидаете услышать.
by VGusev2007
Sat May 11, 2019 9:50 pm
Forum: Русский
Topic: Не дорогой дисплей совместно с датчиком DHT22
Replies: 2
Views: 831

Re: Не дорогой дисплей совместно с датчиком DHT22

Ребята, вот такую штуку хочу, но не врубаюсь как она питается: https://youtu.be/vegC5Ng5Nzc , прямо от малинки, по HDMI? :o


5inch HDMI LCD, HDMI дисплей 800×480px с резистивной сенсорной панелью для Raspberry Pi
by -jubjub-
Sat May 11, 2019 5:29 pm
Forum: Troubleshooting
Topic: Can't get DHT22 to work
Replies: 3
Views: 279

Can't get DHT22 to work

I'm having a devil of a time getting my DHT22 to work on my Raspberry Pi. I have a Pi 1 Model B Rev 2 where the PCB says "Raspberry Pi (c)2011.12." Running Raspbian Lite. I have been roughly following the directions at this site: http://home-automation-community.com/temperature-and-humidity-from-am2302-dht22-sensor-displayed-as-chart/. ...
by Andyroo
Sat May 11, 2019 1:03 pm
Forum: Automation, sensing and robotics
Topic: Automation of green house parameters control
Replies: 3
Views: 568

Re: Automation of green house parameters control

... bit old but covers the main ones I’ve seen mentioned here https://www.linuxlinks.com/Automation/ Take care with the humidity sensor - most of the DHT22 / AM 2320 are not worth the money - they fail and report very very odd data. Go up to the Bosch BME680 - more money but worth it. For soil moisture ...
by VGusev2007
Sat May 11, 2019 7:59 am
Forum: Русский
Topic: Не дорогой дисплей совместно с датчиком DHT22
Replies: 2
Views: 831

Не дорогой дисплей совместно с датчиком DHT22

... не популярные, не купить в РФ так просто, во вторых занимают GPIO - не понятно, они занимают половину слота, как минимум, останется ли место для DHT22 или нет. Спасибо. Что-то не дорогое желательно бы. Это может быть TFT (лучше всего), e-lnk, светодиодные матрицы (сементы). Решение хотелось бы ...
by ameador1
Fri May 03, 2019 12:24 pm
Forum: Beginners
Topic: MCP23017 Specs mA per IO and overall mA across all IOs
Replies: 3
Views: 291

Re: MCP23017 Specs mA per IO and overall mA across all IOs

... on - at least 2 of them would be in a series pair running from a single IO pin. So this should all be good. Oh, and this will also be running my DHT22 sensors data reads. I was using an Adafruit 757 logic leveler so I could run them at 5V - but since running this MCPx at 5V - I can move the DHT22s ...
by joseplaselva
Tue Apr 30, 2019 3:57 pm
Forum: Python
Topic: Getting crazy with tkinter text widget
Replies: 2
Views: 325

Getting crazy with tkinter text widget

... #-------------------------------------------READING INITIAL TEMPERATURES--------------------------- humi, temp = dht.read_retry(dht.DHT22, 23) temperature = '{0:0.1f}'.format(temp) humidity = '{1:0.1f}%'.format(temp,humi) temp_intdoor = temperature + graus temp = os.popen("vcgencmd ...
by samiraawad
Sun Apr 28, 2019 9:45 am
Forum: Beginners
Topic: no readings from sensors
Replies: 4
Views: 257

Re: no readings from sensors

... from the 3.3v rail and not 5v, look at this for an example. https://tutorials-raspberrypi.com/raspberry-pi-measure-humidity-temperature-dht11-dht22/ the same with your MCP3008 it should be connected to 3.3v for power ( VDD ) and ref. https://i.imgur.com/QxgSuG5m.jpg if your sensor connected ...
by pcmanbob
Sun Apr 28, 2019 9:40 am
Forum: Beginners
Topic: no readings from sensors
Replies: 4
Views: 257

Re: no readings from sensors

... from the 3.3v rail and not 5v, look at this for an example. https://tutorials-raspberrypi.com/raspberry-pi-measure-humidity-temperature-dht11-dht22/ the same with your MCP3008 it should be connected to 3.3v for power ( VDD ) and ref. https://i.imgur.com/QxgSuG5m.jpg if your sensor connected ...
by yv1hx
Sat Apr 27, 2019 7:59 pm
Forum: Automation, sensing and robotics
Topic: Random spikes with AM2302 Temperature & Humidity sensor
Replies: 3
Views: 567

Random spikes with AM2302 Temperature & Humidity sensor

... purposes a simple Temperature & Humidity datalogger, using an DS18B20 temp sensor for sensing an equipment rack and a AM2302 (also know as DHT22) Temperature & Humidity sensor for registering the ambient temperature inside the room. This setup is running 24 hours a day registering all three ...
by srpape
Sat Apr 27, 2019 5:24 pm
Forum: Troubleshooting
Topic: Reducing 3b+ ARM clock speed - I/O issues
Replies: 4
Views: 364

Reducing 3b+ ARM clock speed - I/O issues

... issues with 1wire, specifically a DS18B20, including CRC errors and the device disappearing. I also had reliability issues with an AM2302 (a wired DHT22), and was relying on both sensors together to make some kind of sense, but it was frustrating me. I just remembered this morning that I had made ...
by MarkDH102
Sat Apr 27, 2019 6:15 am
Forum: Troubleshooting
Topic: DHT22 Accuraty.
Replies: 2
Views: 379

Re: DHT22 Accuraty.

I too use the BME280.
I used to use the DHT22 but running the 2 in parallel showed the BME280 seemed to be more accurate.
My DHT22 were always reading about 20% over the correct level - but were consistent...
by Joel_Mckay
Sat Apr 27, 2019 6:11 am
Forum: Troubleshooting
Topic: DHT22 Accuraty.
Replies: 2
Views: 379

Re: DHT22 Accuraty.

We use the BME280 (several years of uptime), and I dumped the DHT/SHT units we sampled in the e-waste recycling bucket after testing the repeatability over several months (cleaved the leads off to ensure they stayed gone). I suggest you do the same... as although there will be a few people who insis...

Go to advanced search