How to change ESP8266 Baud-rate permanently

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Derby43
 
Posts: 2
Joined: Wed Apr 11, 2018 8:24 am

How to change ESP8266 Baud-rate permanently

Post by Derby43 »

Ok so this something new for me, I am using one of the most light weight IOT device called Feather Huzzah connected with I2C feather shield and I wanted to ESP2866 to communicate at baud-rate 115,200 but I didn't find out the way how should I change the baud-rate permanently ?

Any intel would be appreciated

Thank you

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: How to change ESP8266 Baud-rate permanently

Post by adafruit_support_mike »

You can't. It's configured in ROM.

User avatar
Derby43
 
Posts: 2
Joined: Wed Apr 11, 2018 8:24 am

Re: How to change ESP8266 Baud-rate permanently

Post by Derby43 »

If its configured at Baud-rate of 9600 and If I wanted to change the baud-rate to 115200 then what should we do ?

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: How to change ESP8266 Baud-rate permanently

Post by adafruit_support_mike »

Calling Serial.begin(115200) in setup() will set the baudrate before any of your other code executes. You just can't rewrite the hardware boot-up configuration settings.

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”