esp-01s wifi node esp8266 node setup (bug search notes in addition to already available guides)

ESP-01S esp8266 board programming from arduino

  1. usb-to-serial converter – connect rx to tx; tx to rx; gnd to gnd and vpp to both cnp and vcc (or whatever. you need an y cable to do that
  2. don’t trust putty. use termite, set flow control to none, speed 115200
  3. connecting to power will send you “ready”;
  4. AT+GMR gives

AT version:1.3.0.0(Jul 14 2016 18:54:01)
SDK version:2.0.0(5a875ba)
Farylink Technology Co., Ltd. v1.0.0.2
May 11 2017 22:23:58
OK

-If you type, you should see echo if RX and TX connected correctly (meaning you see what you type) but if CN+p or whatever enable pin is not high, you won’t get answer to other commands

-for programming GPIO0 should be grounded so make Y of the ground cable

-If grounded, you don’t see anything on termite, disconnect gpio0 gnd if you want to see something

-blinky does not work as default, the esp-01 relay v4.0 example works

arduino gui: add the json for the esps, select default esp8266, check serial port, programmer is not important option, do not touch too much

start upload. if communication fails, check comms without gpio0 shorted to ground, and SHORT IT before uploading. upload should make esp-01s make short blue flashes, and in short term some good messages. 7% appeared instantly other lines at the same time about 1 minute afterwards

A vázlat 274912 bájt (55%)-ot használ a program tárhelyből. A maximum 499696 bájt.
A globális változók 27184 bájt (33%)-ot használnak a dinamikus memóriából, 54736 bájtot hagyva a helyi változóknak. A maximum 81920 bájt.
esptool.py v2.6
2.6
esptool.py v2.6
Serial port COM5
Connecting….
Chip is ESP8266EX
Features: WiFi
MAC: ec:fa:bc:38:d4:95
Uploading stub…
Running stub…
Stub running…
Configuring flash size…
Auto-detected Flash size: 1MB
Flash params set to 0x0320
Compressed 279072 bytes to 201421…

Writing at 0x00000000… (7 %)
Writing at 0x00004000… (15 %)
Writing at 0x00008000… (23 %)
Writing at 0x0000c000… (30 %)
Writing at 0x00010000… (38 %)
Writing at 0x00014000… (46 %)
Writing at 0x00018000… (53 %)
Writing at 0x0001c000… (61 %)
Writing at 0x00020000… (69 %)
Writing at 0x00024000… (76 %)
Writing at 0x00028000… (84 %)
Writing at 0x0002c000… (92 %)
Writing at 0x00030000… (100 %)
Wrote 279072 bytes (201421 compressed) at 0x00000000 in 22.8 seconds (effective 98.0 kbit/s)…
Hash of data verified.

Leaving…
Hard resetting via RTS pin…

now disconnect gnd to gpio0

reset the board by disconnecting power and reconnecting

Connecting to
……
WiFi connected
Server started
Use this URL to connect: http://10./

all in just 5-10 seconds. now you can work on more advanced projects.

This entry was posted on October 14, 2019 at 9:20 pm and is filed under Uncategorized. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

You must be logged in to post a comment.