@koffienl
Hi, here are some screnshots. If the relay in the config is active, the temperature of the DHT is gone.
I have used this circuit to connect the relay.
ESPimatic does not send, DHT22- Data
@koffienl
Hi, here are some screnshots. If the relay in the config is active, the temperature of the DHT is gone.
I have used this circuit to connect the relay.
"Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." 09-28-2003, LINUS TORVALDS (http://www.nytimes.com)
Thanks. So the issue is the DHT is not recognized at all.
The relay is working fine and the DHT is not.
The DHT has 4 pins : VSS, Data, NC, GND.
Did you connect the VCC on DHT to VCC and CH_PD on the ESP ? Did you use any resistors between DHT and ESP ?
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
@koffienl
I have connected the ESP like this.
VCC and CH_PD has the bridge.
I have no resistor between ESP and DHT.
So are my connections:
ESP - DHT
VCC - VCC
GND - GND
GPIO - DATA
It works fine with my first ESP (without relays).
Should I put a resistor between VCC and DATA? Maybe 10 k?
"Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." 09-28-2003, LINUS TORVALDS (http://www.nytimes.com)
And if you remove the relay, everything works?
(please explain how you remove the relais, is it by physical removing connections or only removing from config ? )
As far as I know you do not need a resistor for a DHT22 (but I don’t have a DHT22 so didn’t test it).
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
@koffienl
It is enough if I disable the relay in the config. Then I receive data from the DHT.
"Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." 09-28-2003, LINUS TORVALDS (http://www.nytimes.com)
@koffienl
I’ve re-enabled the relay in the config. Funnily enough, I now get the data of the DHT. I was watching it some time and the data is still coming.
Something else still boggles me. When I opened the relay1, then the icons show in the root to see view as shown in the picture.
R1 - open
R2 - closed
R3 - closed
R4 - closed
When I plug the relay1, all relay change their status.
R1 - closed
R2 - open
R3 - open
R4 - open
A GPIO is assigned to only the first relay in config.
It may be that the software of relay settings appeals to all GPIO? And that therefore this error with the DHT is?
"Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." 09-28-2003, LINUS TORVALDS (http://www.nytimes.com)
Little test : can you set GPIO4 and GPIO5 as available in the GPIO config?
Besides I don’t have a DHT or ESP-01 I can’t reproduce your relay issue with a ESP that only has 2 relays.
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
Also : could you try a Reset from the Configure -> System menu ? This will reset ALL settings on the ESP, including wifi!!
Bu this will make sure everything stored in the EEPROM is deleted. Just curious id this would solve the issue.
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
Hello, sorry for my late reply. I had already configured GPIO 5 some time ago with success of a bootloop of ESP. (The ESP 01 has only 4 GPIO)
But now the ESP with relay and DHT works fine for over a week.
powered by pimatic and ESP
Just stupid if you don’t know what problem it was. I can’t even say why, I have nothing changed on the building.
"Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." 09-28-2003, LINUS TORVALDS (http://www.nytimes.com)
hehe! that’s a really nice example of what you can do with pimatic / espimatic
glad to hear that it works now
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebook
make it so !