Esp8266 12 touch control relay

elmaya
Posts: 1482
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

eradek wrote: Fri Jan 29, 2021 9:04 am Hi Guys,

I would like to use this board to manage floor heating, 9 circuits. However I need one more functionality I need additional circuit that will close whenever one of 9 circuits is closed to steer the pump. Is it possible, are there any relay module that has like additional circuit which close whenever one main circuits is closed?
hardware solution:
8+1_bb.png
8+1_bb.png (188.52 KiB) Viewed 2991 times
eradek
Posts: 81
Joined: Sun Sep 09, 2018 5:32 pm

Thanks a lot Elmaya! What kind of diode should I use here?
In fact whenever any heating circuit is open I need to trigger two water pumps and heating pump. So I assume I can just use this additional 4 channel relay instead in same fashion - https://elty.pl/pl/p/Modul-z-4-przekazn ... rami-/2628?
elmaya
Posts: 1482
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

eradek wrote: Fri Jan 29, 2021 4:27 pm Thanks a lot Elmaya! What kind of diode should I use here?
In fact whenever any heating circuit is open I need to trigger two water pumps and heating pump. So I assume I can just use this additional 4 channel relay instead in same fashion - https://elty.pl/pl/p/Modul-z-4-przekazn ... rami-/2628?
the relays are ok
diodes: 1N4148, 1N4001-1N4007
eradek
Posts: 81
Joined: Sun Sep 09, 2018 5:32 pm

Thanks!
eradek
Posts: 81
Joined: Sun Sep 09, 2018 5:32 pm

Again I need your help. I am having trouble connecting to supla server. First MPR121 was not found, so I changed the code as mentioned in the thread. Now it starts, connects to WIFI but is not connecting to Supla server. Also looks like there is a problem to mount FS not sure what's the reason for that. Below is serial output:

Code: Select all

mounting FS...
failed to mount FS
No Double Reset Detected
Server status:
5
Unknown server address
Recover.0 read.0 channel 0
Recover.1 read.0 channel 1
Recover.2 read.0 channel 2
Recover.3 read.0 channel 3
Recover.4 read.0 channel 4
Recover.5 read.0 channel 5
Recover.6 read.0 channel 6
Recover.7 read.0 channel 7
Recover.8 read.0 channel 8
Recover.9 read.0 channel 9
Recover.10 read.0 channel 10
Recover.11 read.0 channel 11
CONNECTING WIFI

CONNECTED
local IP: 192.168.1.14
subnetMask: 255.255.255.128
gatewayIP: 192.168.1.1
Signal Strength (RSSI): -71 dBm
elmaya
Posts: 1482
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

in Arduino IDE select a flash size with "SPIFFS"
I usually use 128K SPIFFS
if you have it in "no SPIFFS" obviously you will not be able to read or write the WiFiConfig file. ;)


Image
eradek
Posts: 81
Joined: Sun Sep 09, 2018 5:32 pm

Thank you it was it indeed. Pretty embarrassing ;).
elmaya
Posts: 1482
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

do not worry about it. ;)
and today you learned that if the code has "#include <FS.h>" or "#include <LittleFS.h>" you have to choose Flash size "with SPIFFS"
eradek
Posts: 81
Joined: Sun Sep 09, 2018 5:32 pm

Will it cause any problems to supply WemosD1 mini wit 5V and use its 3.3 regulator to power mcp and mpr? I would like to use HLK-PM01 on input.
elmaya
Posts: 1482
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

eradek wrote: Sat Feb 13, 2021 9:24 pm Will it cause any problems to supply WemosD1 mini wit 5V and use its 3.3 regulator to power mcp and mpr? I would like to use HLK-PM01 on input.
WemosD1 usually has a very weak 3.3v regulator.
What version do you have? "Maybe you can attach a photo"
Post Reply

Return to “Ideas and concepts”