-->
Page 1 of 2

NodeMCU Dev Board (ESP-12) set default baud rate

PostPosted: Tue Jun 07, 2016 12:36 pm
by lotus49
I have a NodeMCU 1.0 Development Board which is based on the ESP-12. I have been programming it with the Arduino IDE on a Linux box. It has all worked fine but the default baud rate is 9600 and so even uploading a small sketch takes absolutely ages.

Is there any way to permanently (or even temporarily) increase the speed so it doesn't take ten minutes to upload every sketch?

Re: NodeMCU Dev Board (ESP-12) set default baud rate

PostPosted: Tue Jun 07, 2016 12:59 pm
by martinayotte
The ESP in Upload mode doesn't have specific baudrate, it does auto rate detection. So, you are using ArduinoIDE, the esptool should be defaulting at 115200 but can be override with the "-cb" option. If you use esptool.py, it is up to you to choose different baudrate with the "-b" option.

Re: NodeMCU Dev Board (ESP-12) set default baud rate

PostPosted: Tue Jun 07, 2016 3:51 pm
by lotus49
Excellent and thank you very much for your help.

I think the Arduino IDE had defaulted to 115200 but I had changed it as the dev board actually says "Use 9600 baud rate" screen printed on the bottom of the board.

It appears that you are correct and it is not. I changed the speed in the Arduino IDE and it uploaded at 115200 perfectly. I think I'll try the higher speeds and see whether they work as well.

Re: NodeMCU Dev Board (ESP-12) set default baud rate

PostPosted: Tue Jun 07, 2016 9:20 pm
by martinayotte
The mention "Use 9600 baud rate" was probably written only for those who stick with the AT Firmware delivered with this module.