arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
21.98k stars 4.77k forks source link

SOLVED - DHT11 on my sonoff basic not show temperture #1745

Closed fgvicente closed 6 years ago

fgvicente commented 6 years ago

I have connected a dht11 sensor in the gpio14 configure in modules the gpio but it does not show the values of the sensor

image

image

image

image

I do not know what can be wrong. thanks in advance

gtortone commented 6 years ago

do you have a 4.7kohm resistor on DHT11 between 3.3V and DATA pin ? (https://i0.wp.com/www.electrodummies.net/wp-content/uploads/2017/02/dht11-library-and-schematic-1.png)

fgvicente commented 6 years ago

mmm no. I will add and I will retest. thanks for response

fgvicente commented 6 years ago

already connect the resistance and neither does it. still does not show me the temperature. I even probe with the module of th but nothing.

image

image

23:18:37 CMD: sensor 23:18:37 MQT: stat/home/baño/extractor/RESULT = {"Command":"Unknown"}

00:30:37 DHT: Timeout waiting for start signal low pulse

I tried it with another sonoff with the same firmware and does the same. does not recognize it

It's like there's no sensor. how can I test it

gtortone commented 6 years ago

I see you are using a quite old release. Try to upgrade it because there are some DHT11 issues solved in releases next to your...

lobradov commented 6 years ago

...also, not sure Tasmota will accept non-English characters in URL (ñ)... try replacing with regular n to see if it would be better.

//_ on phone

On Jan 30, 2018, at 05:43, Gennaro Tortone notifications@github.com wrote:

I see you are using a quite old release. Try to upgrade it because there are some DHT11 issues solved in releases next to your...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

app41 commented 6 years ago

really sure about connections? The devil is in the detail...

SONOFF BASIC - CONNECTOR 1 (close to the pushbutton) Vcc 2 3 4 GND 5 data 10k resistor between Vcc and data

DHT CONNECTOR 1 Vcc 2 data 3 4 GND

by the way, I made a mistake in soldering a DHT22 last week, resistor was not connected to data It run also without the resistor, maybe because of internal pull up in ESP

fgvicente commented 6 years ago

@lobradov The ñ is not the problem. the same thing happens to me with another sonoff equal without ñ. @app41 the connections are as you indicate. (probe with and resistance) (the resistance is 4k7 as I indicated ... but it did not work either.) I've seen other tutorials that do not put resistance and work but not to me @gtortone I have to try updating. but I do not know how to do it from the web server. I have some instructions?

app41 commented 6 years ago

try also to recompile the whole package changing the eeprom validation number (#define CFG_HOLDER in user_config.h) and then firmware again your sonoff with the new image should you have something dirty in your configuration, you can clear it starting from a fresh eeprom reformatting it is a 2-minute test...

fgvicente commented 6 years ago

im updated but still not working

image

13:11:53 DHT: Timeout waiting for start signal high pulse 13:11:55 DHT: Timeout waiting for start signal high pulse 13:11:58 DHT: Timeout waiting for start signal high pulse

Jason2866 commented 6 years ago

Maybe the sensor is defect?!

gtortone commented 6 years ago

can you test the same sensor on a different board ? (e.g. Arduino, something else...)

gtortone commented 6 years ago

if you connect a simple led on GPIO14 does it work ?

app41 commented 6 years ago

As last solution, try to cut/eliminate the resistor. I had similar experience few time ago, I don’t know why (maybe the sensor?) but it worked

Da: Jason2866 [mailto:notifications@github.com] Inviato: martedì 30 gennaio 2018 20:55 A: arendst/Sonoff-Tasmota Sonoff-Tasmota@noreply.github.com Cc: Alberto app41@virgilio.it; Mention mention@noreply.github.com Oggetto: Re: [arendst/Sonoff-Tasmota] DHT11 on my sonoff basic not show temperture (#1745)

Maybe the sensor is defect?!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/arendst/Sonoff-Tasmota/issues/1745#issuecomment-361714636 , or mute the thread https://github.com/notifications/unsubscribe-auth/AQRf44xaN3_UN65RlPxn7jWOEro1YmoDks5tP3OcgaJpZM4RxBgG . https://github.com/notifications/beacon/AQRf44pnZhuycY-kPlbzdMjg0HoIFqepks5tP3OcgaJpZM4RxBgG.gif

fgvicente commented 6 years ago

I already solved the problem. Review everything you do to me. the problem was bad welding in the sonoff. Thanks to everyone for their contributions