Arduino ESP8266 DHT22, code stop running randomly

9 years 7 months ago #969 by cdj
Ok, you write :
If you are usning SW serial, set baudrate to 9600 (default is 115200) with AT+CIOBAUD=9600

Yes, but where? in Esp8266EasyIoT.h ?

where i can set baud to 9600 ? i use your lib !

Thanks
Dario

Please Log in or Create an account to join the conversation.

9 years 7 months ago #970 by tonyn79
Directly to the esp8266, like you were going to flash it, but use that at+ciobaud command.

Please Log in or Create an account to join the conversation.

9 years 7 months ago #973 by cdj
No, no wait... this firmware run at 115200, so when you reset esp it run again to 115200, so i think that baud rate must be first command after reset... but where can i set it if i use easyiot lib.... ?

Please Log in or Create an account to join the conversation.

9 years 7 months ago #974 by Poldi
Hi @ll,

I have the same problem. I just updated all files (Arduino library) and the firmware on one of my ESPs.

But after a reset it runs really at 115200 again. We have to include the command in the arduino / library.

But where?

Please Log in or Create an account to join the conversation.

9 years 7 months ago #975 by EasyIoT

Poldi wrote: Hi @ll,

I have the same problem. I just updated all files (Arduino library) and the firmware on one of my ESPs.

But after a reset it runs really at 115200 again. We have to include the command in the arduino / library.

But where?


No, I just checked again. After I change baudrade it stays at 9600 even if I switch off my device.
The following user(s) said Thank You: cdj

Please Log in or Create an account to join the conversation.

9 years 7 months ago #977 by cdj
really? so it store value in the eprom ? great... will try it !

Please Log in or Create an account to join the conversation.

Time to create page: 0.212 seconds

Forum latest

  • No posts to display.