ESP8266Flasher.exe program #1


ESP8266Flasher.exe #2


ESP8266Flasher.exe #3

=== ESP202.jpgesp202pic.jpg


Well I bought one ESP8266 based module from and made some addions to this.
ESP202 is WIFI module, which works with serial communication.
It also can programmed to work independenty.
I started to use it with serial drive.

In page there was no information, not even schematic of the device

Here is the circuit layout


and here is other


and here is the internal circuit



First I build it.

I got information how to connect it from
It was wrong!
I can't find information to their email to inform them that they deliver wrong informaton.

Here is faulty picture


I made LD33 regulator to make 3.3V power supply.
I addes TTL/RS232 converter to make right connection.
I added some resistors to start it.

Then I connect my terminal program and oscilloscope.
I tried AT<CR><LF> command to get some responce.

I got only 2-3 mA load, it should be about 100mA.

When I try to give AT -command, I got nothing.
I try first 115200 baud, then 9600 and the other bauds, nothing.

Then I changed TX and RX-wires. Then I got LED blinging according my baud.
It blinks with any baud from 110-256000 baud.
I do not get answer either, it was going wrong way.

Is the device faulty?
I have never seen new faulty electronic device in my life.

I have designing circuits 56 years.

I got today information that CD_PD pin should be connected to VCC.
Let see how it goes.


I connect 2k2 resitor from CD_PD to VCC.

Yes. It started to work!
It took 88mA to 5V regutor.
It was working at 115200 baud.

I reset it, with
ets Jan 8 2013,rst cause:4, boot mode:(3,0) etc

AT+CIPMUX=1<CR><LF> // Multilpe connection
AT+CWJAP="myIP","mypassword"<CR><LF> // Connect to Internet Use your own passwords.

AT+CWMODE =3<CR><LF> 1=Station mode, 2=AP Mode, 3=Station +AP mode

// Connect number 1 channel to other computer at any IP ( with UDP, Remote port 4111, Local port 4112 . Start the UDP-program on other computer.


AT+CIPSEND,1,10<CR><LF> ( Send to number 1 channel 10 character, maximun is 2048 )

“>” after execute command. 20ms interval between each packet.
When single packet containing “+++” is received, it returns to command mode.


+IPD,1,9;remotesend // Msg remotesend came from remote station.

AT+CIPCLOSE=1<CR><LF> // Close connection

Everything went ok.


I made a new circuit board for PIC16F886
It has three temperature sensors DS1820 and HC-SR04 ultrasonic distance sensor for oil height,

ESP202 Wifi-adapter, 5 to 3.3V regulator and two different power supply connectors.
There is a relay for temperarure regulator.

I try to measure my heating oil level and outside temperature using Wifi
Let see how it will go.


Here is PCB for this circuit


When I was prototyping the device. The HC-SR04 did't give responce.
I was drawing the device.
I got following schematic.


I was examinging the HC-SR04.
The prosessor did't give any responce.
It did't have oscillator working, not even a new crystal ( 4MHz).
Well I have to replace the whole device.
Then it worked.


There seems to be may kinds of ESP8266 devices:ESP01, EPS02,ESP03, EPS04,ESP05, EPS06
ESP07, EPS08,ESP09, EPS10,ESP11, EPS12,ESP13,ESP14, Wroom-02, ESP201 and ESP202
ESP202 seems to similar to ESP12.

They have displayded here:


Here are some links

ESP8266 specification
Here are some general data, nothing usefull. It is done by the manufacturer.
This has nothing special, no AT-commands etc. No use to look.

This has AT-commands:
Really usefull.
***Here are description of ESP01 and some desciption of AT-commands.
Here is discussion on ESP8266
It is diffucult to find any important or useful data, but I think it may have, but I can't find it.
There is lot discussion.

Cross Compiler Tools and C SDK Installation.

Espressif, the ESP8266’s manufacturer, provide the source code for the gcc cross-compiler tool chain, and for their C SDK (Note that some parts of the SDK are closed source, and distributed as object code only).

Unfortunately, due to its relative newness and being rapidly changing, installing it all is quite fiddly, error prone, and tedious, but fortunately, pfalcon has come to the rescue and combined everything into his single esp-open-sdk package which can be installed on Linux quite effortlessly. We will be using it here.

First, we need to ensure that the standard GNU development tools are installed. For Ubuntu 14.04:

Create a directory for everything to go in:

Then, download, build and install:

This will take some time, but when it is done everything is installed in the esp-open-sdk subdirectory, which has three important subdirectories: xtensa-lx106-elf, esp_iot_sdk_v0.9.5, and esptool which we will look at now.

Here is the intenal picture of ESP8266

Here is a better picture of ESP8266.

and here is a schemtic diagramm if internal ESP8266


Here are source code for WIFI-device


Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License