can't you read up to page 2?
Automatyczny reset - da się?
-
elmaya
- Posts: 1485
- Joined: Wed Jun 27, 2018 5:48 pm
- Location: El Saucejo - Sevilla
-
Xoggo
- Posts: 182
- Joined: Sun Mar 29, 2020 10:03 pm
- Location: Zbąszynek
@elmaya,
is there a way to know when MCP23017 is suspended and needs to be restarted?
Beside the visual fact that buttons or relays connected to MCP don`t work.
And is it possible to restart MCP from the code (without additional relay)?
is there a way to know when MCP23017 is suspended and needs to be restarted?
Beside the visual fact that buttons or relays connected to MCP don`t work.
And is it possible to restart MCP from the code (without additional relay)?
Last edited by Xoggo on Thu Nov 12, 2020 12:30 am, edited 1 time in total.
-
elmaya
- Posts: 1485
- Joined: Wed Jun 27, 2018 5:48 pm
- Location: El Saucejo - Sevilla
NieXoggo wrote: Tue Nov 10, 2020 11:23 pm @elmaya,
is there a way to know when MCP23017 is suspended and needs to be restarted?
Beside the visual fact that buttons or relays connected to MCP don`t work.
in your design you should have connected Gpio2 "D4" of Esp8266 with Reset of MCP23017.And is it possible to restart MCP from the code (without addictional relay)?
Gpio2 of Esp8266 changes state when starting Esp8266, which guarantees the restart of MCP23017 together with the Esp8266 "don't use Gpio2 in your code"
It is not normal that the MCP23017 is blocked during the normal operation of the device and if you have problems of this type they are usually caused by the power supply of the MCP23017 therefore make sure that the ground conductor has a good diameter, add filters "capacitors of 10 and 0.1 micro farads close to the MCP23017 between 3.3v and ground or even power with a separate 3.3v regulator.
-
Xoggo
- Posts: 182
- Joined: Sun Mar 29, 2020 10:03 pm
- Location: Zbąszynek
I`m not using GIPO2, so I may consider that solution.
And the problem with suspension of MCP occures only once a month.
So it`s not a big issue, however it`s still an issue.
One more time, thank you
And the problem with suspension of MCP occures only once a month.
So it`s not a big issue, however it`s still an issue.
One more time, thank you
-
elmaya
- Posts: 1485
- Joined: Wed Jun 27, 2018 5:48 pm
- Location: El Saucejo - Sevilla
It is possibly caused by a reboot of the Esp8266 and the connection of Gpio2 solves this problem.Xoggo wrote: Wed Nov 11, 2020 12:20 pm I`m not using GIPO2, so I may consider that solution.
And the problem with suspension of MCP occures only once a month.
So it`s not a big issue, however it`s still an issue.
One more time, thank you![]()
-
Xoggo
- Posts: 182
- Joined: Sun Mar 29, 2020 10:03 pm
- Location: Zbąszynek
@elmaya
Done. I will let you know in about one month the resaults.
Done. I will let you know in about one month the resaults.
-
kindziol
- Posts: 70
- Joined: Mon Oct 07, 2019 10:28 pm
Witam.
Chciałbym powrócić do tematu automatycznego resetu.
Czy możecie mi pomóc w napisaniu programiku pod esp żeby działał tak jak do tej pory ale ping puszczał nie do www.google.pl tylko do adresu w mojej sieci np. 192.168.2.116. Jeżeli moje urządzenie o adresie 192.168.2.116 nie odpowie na ping to następuje restart.
Chciałbym powrócić do tematu automatycznego resetu.
Czy możecie mi pomóc w napisaniu programiku pod esp żeby działał tak jak do tej pory ale ping puszczał nie do www.google.pl tylko do adresu w mojej sieci np. 192.168.2.116. Jeżeli moje urządzenie o adresie 192.168.2.116 nie odpowie na ping to następuje restart.
-
elmaya
- Posts: 1485
- Joined: Wed Jun 27, 2018 5:48 pm
- Location: El Saucejo - Sevilla
and what is your problem, you can define the Host in WiFiConfig simply define the IP instead of "www.google.pl"kindziol wrote: Mon Nov 23, 2020 9:11 am Witam.
Chciałbym powrócić do tematu automatycznego resetu.
Czy możecie mi pomóc w napisaniu programiku pod esp żeby działał tak jak do tej pory ale ping puszczał nie do www.google.pl tylko do adresu w mojej sieci np. 192.168.2.116. Jeżeli moje urządzenie o adresie 192.168.2.116 nie odpowie na ping to następuje restart.
-
kindziol
- Posts: 70
- Joined: Mon Oct 07, 2019 10:28 pm
Ok. Ale jeszcze czas po którym następuje restart na mniejszy, 5 min. Czyli wysyła ping do 192.168.2.116 co 10 sec, jest ping to nic się nie dzieje. Utrata ping do 192.168.2.116, 5 min i robi restart.
Thank you @elmaya !!!!!!
Thank you @elmaya !!!!!!
