Arduino ESP8266 DHT22, code stop running randomly

9 years 6 months ago #1395 by EasyIoT

piman wrote: Thanks, EasyIoT is this problem only related to did DHT 22 using an Arduino, or does this problem affects all Arduino related interfacing. Am I better off getting a different temperature and humidity sensor as opposed to the DHT 22.
Thanks Andy.


I didn't test it. You can use DHT22 on Atmega328, but without debug. Also you can try to connect ESP8266 on HW port.

Please Log in or Create an account to join the conversation.

9 years 6 months ago #1418 by cdj

EasyIoT wrote: -I've disabled DEBUG. Added #ifdef DEBUG #endif around debugPrintBuffer(); in Esp8266EasyIoT.cpp - it's missing. With this configuration DHT22 works without problem longer period.


Please can you post new Esp8266EasyIoT.cpp modified?
And obviously just disable debug in "ESP8266 EasyIoT driver" section, correct ?

Please Log in or Create an account to join the conversation.

9 years 6 months ago #1477 by EasyIoT

cdj wrote:

EasyIoT wrote: -I've disabled DEBUG. Added #ifdef DEBUG #endif around debugPrintBuffer(); in Esp8266EasyIoT.cpp - it's missing. With this configuration DHT22 works without problem longer period.


Please can you post new Esp8266EasyIoT.cpp modified?
And obviously just disable debug in "ESP8266 EasyIoT driver" section, correct ?


Update is on GitHub

Please Log in or Create an account to join the conversation.

9 years 4 months ago #1998 by subsix
hello

any news about this issue ?

i have upgraded my server is the last version
i have flashed the ESP with the firmware 0.952
i use last lib from github
i have enough power, LP2992 for ESP and 7805 1.5A for Arduino
i have put 1000uf, and some 100nf decoupling close to ESP and Arduino
i have put a watchdog, without success

Please Log in or Create an account to join the conversation.

9 years 4 months ago #1999 by piman
Do you have a picture of your Circuit and wiring diagram.?

Please Log in or Create an account to join the conversation.

Time to create page: 0.272 seconds

Forum latest

  • No posts to display.