07-03-2017, 09:42
(06-03-2017, 23:48)hornychz Wrote: Hi Allan,
I would probably look first at the proper functionality of the router - I would look into the logs of what happens
when the RX unit trying to connect. This to me looks like when it is not a DHCP server well, or bad firewall-router.
Or - maybe - poor WiFi signal ???
Good luck!
Zdenek, thank you for the suggestions. It is easy to test using my laptop and mobile phone so I know the wifi signal is good - and I've been using the PLUS rx about 7 metres from the router so I'm sure signal strength is not a problem.
When I first completed the board and connected successfully to my home network, I assigned a static IP address matched to the MAC address of the ESP8266 module, so the device *does* have an IP address and there is no possible conflict on the network. It has worked perfectly in the past and I have not made any changes at all to my network, so it is a very strange problem. (To be sure, I have checked the firewall and the ESP8266 *is* allowed through.)
I have watched the router while powering the PLUS rx and there is no sign of it detecting any signal from the board...
(In the past it has immediately appeared in the "connected stations" list.)(07-03-2017, 03:05)Werk_AG Wrote: When I wrote the previous post I had not read yet the post from Zdenek. And yes, he touched into the problem. This is why that I said that assign a fixed IP to the WiFi module is a good procedure.
It seems that the ESP8266 modules store the last IP where they have been connected the last time, and at each attempt to reconnect, first they try to use the same IP. On some routers, if the request IP address is already used, they just refuse the connection, and the DHCP just do nothing, making that the WiFi module will not be able to reconnect. Those are the cases where pressing the Meduino RESET button is needed.
Perhaps someone with a better knowledge of networks, can explain with better words, what I'm trying to say.
Werk_AG, you are right (as usual!!) and I also think it is a good idea to assign static IP addresses to devices (using their MAC address) like this - and I did that as soon as I first successfully connected to my home network. Until this last few days it has worked perfectly. I have tried pressing the Meduino reset button, but it does not change anything.
(I ALWAYS understand perfectly what you mean to say and as I have said before, the English you write is better than some English people I know. Honestly!!)
This morning I opened a serial monitor window in the Arduino IDE and watched as the PLUS board was powered up. Immediately this appeared:
Mode station err
Then about 5 seconds later:
Join AP failure
Single err
ESP 8266 init end
I don't know if that helps at all.
Allan.

