ESP8266 ESP-12E (AI-Thinker Module)

ESP12E-ESP8266-Wifi-Board

esp8266_esp12e_horizontal-01

esp12e

 

Arduino Code

int ch_pd = 3;
int io0 = 2;

void setup() {
 pinMode(ch_pd, OUTPUT);
 pinMode(io0, OUTPUT);
 digitalWrite(io0,LOW);
 digitalWrite(ch_pd, LOW);
 delay(1000);
 digitalWrite(ch_pd, HIGH);
}

void loop()
{
}

Get Flash ID

user@server~/esp8266/esptool$ ./esptool.py --baud 76800 --port /dev/ttyS0 flash_id

esptool.py v2.0-beta1
Connecting....
Detecting chip type... ESP8266
Uploading stub...
Running stub...
Stub running...
Manufacturer: ef
Device: 4016
Hard resetting...
aslan@howto:~/esp8266/esptool$

AiThinker Firmware V0.9.5.2 baud rate 9600

user@server:~/esp8266/esptool$ ./esptool.py --baud 76800 --port /dev/ttyS0 write_flash 0x0 firmware/ai-thinker-0.9.5.2-9600.bin 
esptool.py v2.0-beta1
Connecting....
Detecting chip type... ESP8266
Uploading stub...
Running stub...
Stub running...
Attaching SPI flash...
Configuring flash size...
Auto-detected Flash size: 4MB
Flash params set to 0x0040
Compressed 524288 bytes to 165401...
Wrote 524288 bytes (165401 compressed) at 0x00000000 in 14.5 seconds (effective 288.9 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting...

AiThinker Firmware V1.5.4

aslan@howto:~/esp8266/esptool$ ./esptool.py --baud 76800 --port /dev/ttyS0 write_flash 0x0 firmware/AiThinker_ESP8266_DIO_8M_8M_20160615_V1.5.4.bin 
esptool.py v2.0-beta1
Connecting....
Detecting chip type... ESP8266
Uploading stub...
Running stub...
Stub running...
Attaching SPI flash...
Configuring flash size...
Auto-detected Flash size: 4MB
Flash params set to 0x0040
Compressed 1048576 bytes to 311250...
Wrote 1048576 bytes (311250 compressed) at 0x00000000 in 27.3 seconds (effective 307.1 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting...

JJROBOTS ESP8266 Connection Log

BROBOT by JJROBOTS v2.2
Initializing I2C devices...
Initializing DMP...
DMP Initialization failed (code 1)
Gyro calibration!!  Dont move the robot in 10 seconds... 
Initalizing ESP Wifi Module...
WIFI RESET
AT


OK
AT+RST


OK
.5
  SPI Speed      : 40MHz
  SPI Mode       : QIO
  SPI Flash Size & Map: 32Mbit(512KB+512KB)
jump to run user1 @ 1000

��r�l�l��l`��r�l�l�l`��r�l��

Ai-Thinker Technology Co. Ltd.

ready
AT+GMR

AT version:1.1.0.0(May 11 2016 18:09:56)
SDK version:1.5.4(baaeaebb)
Ai-Thinker Technology Co. Ltd.
Jun 13 2016 11:29:20
OK
AT+CIPSTAMAC?

+CIPSTAMAC:"60:01:94:02:fb:94"

OK
MAC:60019402FB94

AT+CWMODE=2


OK
AT+CWSAP="JJROBOTS_94","87654321",5,3


OK
Start UDP server at port 2222
AT+CIPMUX=0


OK
AT+CIPMODE=1


OK
AT+CIPSTART="UDP","192.168.4.2",2223,2222,0

CONNECT

OK
AT+CIPSEND


OK

ESP 8266 IO Pins

http://blog.circuits4you.com/2016/03/understanding-esp8266-io-pins.html

ESP 8266 Programming

https://github.com/nodemcu/nodemcu-flasher

http://www.whatimade.today/esp8266-easiest-way-to-program-so-far/

ESP 8266 Firmware

https://github.com/sleemanj/ESP8266_Simple/tree/master/firmware

http://www.electrodragon.com/w/ESP8266_AT-Command_firmware

Leave a comment

Your email address will not be published.


*