Tuesday 5 May 2015

Flashing & running the ESP-201 module

Up to now I only had access to ESP-01 modules. The ESP-201 has a few extra pitfalls.
To flash the firmware, connect the following pins:



  • GND / VCC / RXD / TXD the usual way
  • CHIP_EN to 3.3V
  • GPIO00 to GND
  • GPIO02 to 3.3V
  • GPIO15 to GND

To run the newly flashed firmware:

  • GND / VCC / RXD / TXD the usual way
  • CHIP_EN to 3.3V
  • GPIO00 to 3.3V
  • GPIO02 to 3.3V
  • GPIO15 to GND
Apart from the CHIP_EN, the GPIOs might be left floating when they are marked 3.3V in the table above.
I haven't done anything fancy yet. Just flashed it with NodeMCU and tried a couple of my scripts. I can't wait to try stuff on the additional GPIOs.

I bought the module here.

5 comments:

  1. Hi Andreas, I'm a hobbyist and I have been using arduino, know I have a couple of projects and I was thinking of buy some ESP 01 modules, after some research I was amazed by this modules, thath can run standalone, the bad thing was the limited of pins available, so after reading a wile... This model comes with more available pins, do you consider a good entry point for a newbie in the ESP world.?? Or should buy and practice withe humble 01 first.

    Thanks a lot for your response, I will keep reading your blog.

    Kind regards.
    Alex

    ReplyDelete
    Replies
    1. The esp-201 is ok to work with. If you used Arduino before, you'll love the ESPs.
      I never used any of these boards with integrated USB adapters:
      http://www.banggood.com/NodeMcu-Lua-ESP-12E-WIFI-Development-Board-p-985891.html?p=NT1005763073201409DA
      http://www.banggood.com/NodeMcu-Lua-WIFI-Development-Board-For-ESP8266-Module-p-976440.html?p=NT1005763073201409DA
      They might be an alternative for you. But as said: I haven't tried them.
      Olimex has very well built boards with more i2c memory if you need that:
      https://www.youtube.com/watch?v=NCelhhc27lk

      Delete

  2. Hi Andreas
    how to flash esp201 for use AT Command ?
    what primary baud rate in esp201?
    how to connect esp201 to arduino and control led?
    thank you

    ReplyDelete
    Replies
    1. I can have a try with my favourite 0.9.2.2 AT-Firmware next week. For details on programming an arduino, you'll have to wait for the 2nd part of my video tutorial. First you should have a look at the 1st part on level shifters here: https://youtu.be/OKZwXLtxREM

      Delete
    2. I just flashed 0.9.2.2 to the ESP201. No problems whatsoever. The baudrate depends on the firmware version. In case of the 0.9.2.2 it is 9600 baud. Everything works as expected.

      Delete