Git Product home page Git Product logo

esp-at-binaries's Introduction

Custom Compiled ESP-AT Firmware Binaries

These are the AT command firmwares for ESP8266 compiled from Espressif ESP-AT Source Code.
The firmwares have two different sizes:

What is NONOS-AT and ESP-AT?

NONOS-AT is the legacy AT Firmware from Espressif up to v1.7.x. This firmware is based on Non-OS SDK and no longer supported by Espressif. It's not recommended to use it anymore in new design.

ESP-AT is Espressif's AT firmware v2.0.0 and above. It's developed with OS based SDK and it's still actively supported by Espressif.
However, the supported AT Commands are not fully compatible with the legacy AT firmware. Thus this is only recommended for new design.

For more info, please refer to:

Cytron's Firmware vs Espressif's Firmware?

Since v2.0.0, Espressif has changed the UART port for AT Command to pin GPIO15 and GPIO13. However, most of the hardware for ESP8266 available in the market is still using GPIO1 and GPIO3 as its UART port. This makes extra wiring is needed in order to use the ESP-AT firmware.

Thus, we have configured the ESP-AT firmware and compiled it on our own so that we can use back pin GPIO1 and GPIO3 as its UART port. The rest of the features are exactly the same with Espressif's firmware.

Function of Connection Espressif Firmware Cytron Firmware
Update Firmware UART0
  • GPIO3 (RX)
  • GPIO1 (TX)
UART0
  • GPIO3 (RX)
  • GPIO1 (TX)
AT Command/Response UART0
  • GPIO13 (RX)
  • GPIO15 (TX)
UART0
  • GPIO3 (RX)
  • GPIO1 (TX)
Log Output UART1
  • GPIO2 (TX)
UART1
  • GPIO2 (TX)

How to Update the Firmware?

Please download the latest version of Espressif Flash Download Tool.

ESP-01S

  1. A USB to UART converter is needed to update the firmware of ESP-01S. We recommend to use this ESP01 USB Programmer Adapter as it will enter the boot mode automatically without the needs of pressing the boot button.
  2. Run the Flash Download Tool and select "Developer" mode.
  3. Select the firmware binary file and enter 0x0 as its target address.
  4. Make sure all the settings are as follow:
    • CrystalFreq: 26M
    • SPI SPEED: 40MHz
    • SPI MODE: DIO
    • FLASH SIZE: 8Mbit
    • "DoNotChgBin" is selected
      ESP-01 Settings
  5. Select the correct COM according to your system. Make sure the baud rate is 115200 or below.
  6. Press the START button and wait until it finishes.

Cytron ESP8266 WiFi Shield

  1. Stack the WiFi shield on an Arduino UNO. We will use the USB to UART converter onboard the Arduino UNO.
  2. Upload the "Blink" Sketch to the Arduino UNO (File -> Examples -> 01.Basics -> Blink). This is to make sure the Arduino program doesn't use the serial function and interfere the upload process.
  3. Push the slide switch to "Flash" and change the Tx Rx jumpers to "USB".
  4. Press the "ESP RESET" button to reset the ESP8266 into boot mode.
  5. Run the Flash Download Tool and select "Developer" mode.
  6. Select the firmware binary file and enter 0x0 as its target address.
  7. Make sure all the settings are as follow:
    • CrystalFreq: 26M
    • SPI SPEED: 40MHz
    • SPI MODE: DIO
    • FLASH SIZE: 32Mbit
    • "DoNotChgBin" is selected
      ESP12F_WROOM02 Settings
  8. Select the correct COM according to your system. Make sure the baud rate is 115200 or below.
  9. Press the START button and wait until it finishes.
  10. Push the slide switch back to "RUN" and reset it again before start using the WiFi shield.

esp-at-binaries's People

Contributors

waiweng83 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.