It's better now.
The relays return to the state from before the module power supply failure, so the state in the application is correct.
Maybe it is worth adding the ability to define the behavior of relays after a power outage?
- always turn it off
- return to the state from before the disappearance
- always turn on
It seems to me that in some software I have already seen such functionality.
Ps. Can you also upgrade Supla_16x16_3NO_DOUT_16Mbit.rar ??
Supla 16 X relay -- esp8266 + mcp23017
-
- Posts: 456
- Joined: Thu Feb 08, 2018 6:51 pm
- Location: Podkarpackie
Hi elmaya.
I need your help.
Could you help in starting your 16x16 software with 3 sensors on the module created by the kinium user.
After starting DIN inputs that are connected directly to Gpio in esp work without any problems.
Attempting to change the state in the application has no effect.
Please look at schematic
I need your help.
Could you help in starting your 16x16 software with 3 sensors on the module created by the kinium user.
After starting DIN inputs that are connected directly to Gpio in esp work without any problems.
Attempting to change the state in the application has no effect.
Please look at schematic
You do not have the required permissions to view the files attached to this post.
-
- Posts: 1482
- Joined: Wed Jun 27, 2018 5:48 pm
- Location: El Saucejo - Sevilla
8 outputs, 8 push buttons and 4 sensors?
-
- Posts: 1482
- Joined: Wed Jun 27, 2018 5:48 pm
- Location: El Saucejo - Sevilla
temperature sensor only with i2c (BMP180 Etc.).
DHT22 or ds18b20 will not work with the optocoupler.
there is no push button for WiFiConfig?
D4 Gpio2 of the Esp8266 should be connected with Reset of the MCP23s17 to ensure that it always starts correctly.
Maybe should also add a Led connected to D0 Gpio16
-
- Posts: 456
- Joined: Thu Feb 08, 2018 6:51 pm
- Location: Podkarpackie
All my stupid questions are due to a lack of knowledge. Please, don't blame me.
If you can help and create soft it was great.
8 outputs, 8 buttons and 4 sensors
After i2c I have some bme280
The Temp sensor is not necessary so you don't have to waste time.
The WiFi Config button would actually be useful, our PCB design mistake.
It is a pity that at the stage of the proceedings we did not consult the your opinion, it was certainly helpful.
If you can help and create soft it was great.
8 outputs, 8 buttons and 4 sensors
After i2c I have some bme280
The Temp sensor is not necessary so you don't have to waste time.
The WiFi Config button would actually be useful, our PCB design mistake.
It is a pity that at the stage of the proceedings we did not consult the your opinion, it was certainly helpful.
-
- Posts: 598
- Joined: Fri Jan 04, 2019 8:32 pm
- Location: Chełm
Hello.
Elemaya I have little problem with your stuff
I need 12 relays + 12 buttons and 3 sensors, so I downloaded 16x16+3 NO firmware.
My problem is with sensors. Two of them are crazy. When I connect for example D6 to my post box, after moment status is changed to closed. I gave 4.7k resistors between D5 D6 D7 and 3v3, but doesn't work..
Elemaya I have little problem with your stuff
I need 12 relays + 12 buttons and 3 sensors, so I downloaded 16x16+3 NO firmware.
My problem is with sensors. Two of them are crazy. When I connect for example D6 to my post box, after moment status is changed to closed. I gave 4.7k resistors between D5 D6 D7 and 3v3, but doesn't work..
-
- Posts: 1482
- Joined: Wed Jun 27, 2018 5:48 pm
- Location: El Saucejo - Sevilla
here is the current version.
clean Flash memory before uploading.
carefully check your hardware
EDIT: download again, the previous one has an error.
clean Flash memory before uploading.
carefully check your hardware
EDIT: download again, the previous one has an error.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 598
- Joined: Fri Jan 04, 2019 8:32 pm
- Location: Chełm
Ok I will. Thanks for firmware. Tomorrow I will try this;) greets
-
- Posts: 598
- Joined: Fri Jan 04, 2019 8:32 pm
- Location: Chełm
Elmaya sensors are now ok. But I have another issue... when I turn on few relays in the same time, wemos stop answering to switches in Supla app.. I tap to on or off and nothing happens. I have to restart wemos, and problem is gone. For next time....