logo elektroda
logo elektroda
X
logo elektroda

[ESP8266] How to connect GPIO15, GPIO2, GPIO0 in ESP-12-E for flashing and UART?

bartosz.tarnowski 4404 4
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 16610955
    bartosz.tarnowski
    Level 17  
    Hello,
    I have a question about the ESP12-E module and specifically about this one and not another e.g. ESP12.

    How to connect GPIO15 GPIO2 GPIO0 in order to:
    1. to upload the soft to flash
    2. to communicate via the UART from ESplorer

    And what is the baud rate?
  • ADVERTISEMENT
  • #2 16611045
    piterek-23
    Level 33  
    bartosz.tarnowski wrote:
    I have a question about the ESP12-E module and specifically about this module and not another e.g. ESP12.
    .
    They all work in the same way.
    bartosz.tarnowski wrote:
    How to connect GPIO15 GPIO2 GPIO0 to:
    1. upload the flash soft
    .

    [ESP8266] How to connect GPIO15, GPIO2, GPIO0 in ESP-12-E for flashing and UART? .

    bartosz.tarnowski wrote:
    2. To communicate via UART from ESplorer


    [ESP8266] How to connect GPIO15, GPIO2, GPIO0 in ESP-12-E for flashing and UART? .

    bartosz.tarnowski wrote:
    And what is the baud rate?

    115200
  • ADVERTISEMENT
  • #3 16611108
    bartosz.tarnowski
    Level 17  
    but not the other way round?
    Page 9 of the documentation https://www.elecrow.com/download/ESP-12F.pdf
    says something different

    [ESP8266] How to connect GPIO15, GPIO2, GPIO0 in ESP-12-E for flashing and UART? .

    Today I uploaded the nodeMCU twice at 230400 speed.
    After uploading the Baud switched to 74880.
    But apart from the ESP reporting itself after the reset there is no response.

    I am currently unable to flash the ESP.
    Yesterday I had the same, overnight the ESP thought itself and today it was possible to reflash it but only 2 times.

    Can the other GPIOs hang unconnected.
    I am powering from USB so current capacity should be ok.

    This is what my circuit looks like [ESP8266] How to connect GPIO15, GPIO2, GPIO0 in ESP-12-E for flashing and UART?
  • ADVERTISEMENT
  • #4 16612518
    krzbor
    Level 28  
    Rather not the other way around. "Flash boot" from the table means boot from flash memory, so it corresponds to "normal boot" from the picture above. I always recorded in 115200 and it worked. Note - at startup, ESP always sends information with 74880 (this happens even before the program starts) and then switches to 115200. Of course, the speed can be changed later by software.
  • #5 16623274
    bartosz.tarnowski
    Level 17  
    It is interesting that nowhere about this speed 74880 is written and I use a lot of material.

    Ultimately, in order not to get neurosis one should:

    1. power the ESP with a good power supply
    2. connect a high capacitance capacitor to the VCC - GND leads

    It has been written in several places that 10u is enough, I connected 47u and it had no effect, I connected 2200u and now it is quite ok although still ESP programming does not always work but it is already much better.
ADVERTISEMENT