1

Topic: unstable work: Read timeout error Board not reply

https://b.radikal.ru/b01/2104/06/adfbc76e84f4.jpg

https://b.radikal.ru/b23/2104/ed/a179e5c5ecd3.jpg

ru:
обнаружена нестабильная работа приложения, а именно после запуска esp, разных вариацый и через точку и через клиент локальной сети, через 2 - 7 мин происходит  отключение  приложения от esp.
так же esp перестает быть доступной в сети ,
но скетч работет на esp а  RemoteXY pro(куплена на google play) ver.4.7.12 не может работать. ide FLProg 7.3.3  как мне быть ? помогите советом пожалуйста.

en:
unstable operation of the application was detected, namely after launching esp, different variants both through the point and through the client of the local network, after 2 - 7 minutes the application is disconnected from esp.
also esp is no longer available on the network,
but the sketch works on esp and RemoteXY pro (bought on google play) ver.4.7.12 cannot work. ide FLProg 7.3.3 what should I do? help with advice please.

krdzhonyn@yandex.ru

2

Re: unstable work: Read timeout error Board not reply

It is similar to my issue.
Yesterday i opened my garage using the app 4.7.14 + library 3.1.5 and Arduino UNO+esp8266-01, for the first time (on wednesday i turned off and on my platform and i never connected until yesterday). I tried 2 ways:

  • The first, after enabling the Wifi and the geolocalization, i let the app to connect to my AP but it failed after 4 attempts.

  • The second way worked, i connect to the AP and after i opened the app and it connected for 2 minutes (time needed to open my garage door).

Today my AP is disappeared, but my Arduino runs (as i posted in another topic).


I cannot understand why my AP is off. I know that the AP is setted up with AT commands and there i should find an answer (esp will reply to my AT commands??). Another test i will perform is to disconnect from the AP instead of turn off Wifi and geoloc..

3

Re: unstable work: Read timeout error Board not reply

And the most offensive thing is that esp continues to work but the anamaalia with WiFi and the client and the point remain, I too like you gathered on the point but also the point disappeared. I'm stumped by this and decided to share the problem. By the way, the replacement of esp does not help, and with the food drawdowns no.

4

Re: unstable work: Read timeout error Board not reply

1. Use the last library 3.x.x https://remotexy.com/en/library/
2. Enable debug mode in the library on Serial. Add the following code to the beginning of the program.

#define REMOTEXY__DEBUGLOG
#define REMOTEXY__DEBUGLOG_SERIAL Serial
#define REMOTEXY__DEBUGLOG_SPEED 115200

What do you see in the terminal?

5 (edited by salsedine 2021-04-12 11:25:13)

Re: unstable work: Read timeout error Board not reply

remotexy wrote:

1. Use the last library 3.x.x https://remotexy.com/en/library/
2. Enable debug mode in the library on Serial. Add the following code to the beginning of the program.

#define REMOTEXY__DEBUGLOG
#define REMOTEXY__DEBUGLOG_SERIAL Serial
#define REMOTEXY__DEBUGLOG_SPEED 115200

What do you see in the terminal?

Thanks for your reply, i'm just searching how enable the debug. On the UNO it is tricky to debug because the only serial port is used by my esp. i should enable a sw serial port. Anyway i'll investigate

6

Re: unstable work: Read timeout error Board not reply

Try setting the default baud rate of ESP to 19200 using AT commands (AT+UART_DEF). Connect it to the soft serial. And you get a free hard serial for debug

7

Re: unstable work: Read timeout error Board not reply

remotexy wrote:

Try setting the default baud rate of ESP to 19200 using AT commands (AT+UART_DEF). Connect it to the soft serial. And you get a free hard serial for debug

Thanks.

Yesterday and today i did 2 connections about 3 minutes and the AP is alive, no freeze no disconnections (not setted a debug yet) then tomorrow i'll test again.

The only problem to debug is keeping a PC always connected to the UNO until something could happen after X days, i haven't enough pins to connect a SD and save on it datas, https://i.postimg.cc/63ZZq42x/photo5884 … 061887.jpg, i'll think something.

The only care i used is to disconnect from the AP before turn off wifi and geoloc. of the phone, i think it is not the definitive solution, the issue will pop up.

8

Re: unstable work: Read timeout error Board not reply

remotexy wrote:

1. Use the last library 3.x.x https://remotexy.com/en/library/
2. Enable debug mode in the library on Serial. Add the following code to the beginning of the program.

#define REMOTEXY__DEBUGLOG
#define REMOTEXY__DEBUGLOG_SERIAL Serial
#define REMOTEXY__DEBUGLOG_SPEED 115200

What do you see in the terminal?


Верисю библиотеки обновлял. Но проблему решило удаление библиотеки neopixel.

Ещё вопрос ???? а в будущем можно будет к задатчику задавать приделы не 0-100 а например 0-255?

9

Re: unstable work: Read timeout error Board not reply

Karens4 wrote:

Ещё вопрос ???? а в будущем можно будет к задатчику задавать приделы не 0-100 а например 0-255?

Это планируется вместе с другими глобальными изменениями.
Однако я совсем не вижу в этом проблемы. Вы же можете просто умножить значение на 2.55 и получите от 0 до 255. Правда немного пострадает точность, но не думаю что бегунком можно так точно регулировать.