-->
Page 1 of 2

Query Regarding Arduino Bootloader for esp

PostPosted: Tue Jun 21, 2016 11:26 am
by anujmattoo
Hi

I am working on a project which requires efficiency, instant performance. I was wondering does Arduino IDE use bootloader to program ESP8266?

What is the most efficient way to program ESP? The project needs to turn light on off instantly upon sending command, therefore seconds delay will ruin the project and it's purpose. It has to be instant.

Any help?

Re: Query Regarding Arduino Bootloader for esp

PostPosted: Thu Jun 23, 2016 7:46 am
by eduperez
How fast is "instant" to you? The basic web server example posted everywhere does not take seconds to react, in my experience.

Re: Query Regarding Arduino Bootloader for esp

PostPosted: Sat Jun 25, 2016 11:54 am
by Subhajit Das
anujmattoo wrote:Hi

I am working on a project which requires efficiency, instant performance. I was wondering does Arduino IDE use bootloader to program ESP8266?

What is the most efficient way to program ESP? The project needs to turn light on off instantly upon sending command, therefore seconds delay will ruin the project and it's purpose. It has to be instant.

Any help?


ESP doesn't use an arduino bootloader separately.
You can try programming with standard sdk. It may give you much more speed than arduino code.
Anyway what is purpose? Why you need instant reaction?
Anyway, at current state I would not expect more than 500mS delay. Casue with last releases it has gone pretty fast. I get small webpages at about 300mS.
You should also try to run esp at 160MHz for more speed.

Edit: Tested again and received 293 bytes of data at 64 to 160 mS. But other code for electronic switching may affect speed.

Re: Query Regarding Arduino Bootloader for esp

PostPosted: Sat Jun 25, 2016 12:31 pm
by martinayotte
Subhajit Das wrote:You can try programming with standard sdk. It may give you much more speed than arduino code.

Well, both are using the same C/C++ compiler, so how could same instructions on Arduino could end up beeing slower ? ... :ugeek: