Showing posts with label wifi. Show all posts
Showing posts with label wifi. Show all posts

ESP8266 module family (versions)

At the moment of writing this note, ESP8266 had 14 versions in the family.

ESP-01

ESP-02

ESP-03

ESP-04

ESP-05

ESP-06


ESP-07

ESP-08

ESP-09
ESP-10

ESP-11

ESP-12

ESP-13
ESP-14

ESP boards summary table

Board ID pins pitch form factor LEDs Antenna Ant.Socket Shielded dimensions mm
ESP-01 8 .1" 2×4 DIL Yes Etched-on PCB No No 14.3 x 24.8
ESP-02 8 .1” 2×4 notch No? None Yes No 14.2 x 14.2
ESP-03 14 2mm 2×7 notch No CeramicNo No 17.3 x 12.1
ESP-04 14 2mm 2×4 notch No? None No No 14.7 x 12.1
ESP-05 5 .1" 1×5 SIL No None Yes No 14.2 x 14.2
ESP-06 12+GND misc 4×3 dice No None No Yes 16.3 x 13.1
ESP-07 16 2mm 2×8 pinhole Yes Ceramic Yes Yes 20.0 x 16.0
ESP-08 14 2mm 2×7 notch No None No Yes 17.0 x 16.0
ESP-08 New 16 2mm 2×8 notch No None No Yes 18.0 x 16.0
ESP-09 12+GND misc 4×3 dice No None No No 10.0 x 10.0
ESP-10 5 2mmm? 1×5 notch No None No No 14.2 x 10.0
ESP-11 8 1.27mm1×8 pinhole No? Ceramic No No 17.3 x 12.1
ESP-12 16 2mm 2×8 notch Yes Etched-on PCB No Yes 24.0 x 16.0
ESP-12-E 22 2mm 2×8 notch Yes Etched-on PCB No Yes 24.0 x 16.0
ESP-13 18 1.5mm 2×9 ? Etched-on PCB No Yes ? x ?
ESP-14 22 2mm 2×8 + 6 1 Etched-on PCB No Yes 24.3 x 16.2
WROOM-02 18 1.5mm 2×9 No Etched on PCB No Yes 20.0 x 18.0
WT8266-S1 18 1.5mm 3×6 1 Etched on PCB No Yes 15.0 x 18.6

References: www.esp8266.com

ESP8266 firmware flashing on Windows

The flashing of ESP8266 module will be done using the Windows XTCOM_UTIL application. This application can also read/write registers, flash image download, HSpiFlash image download ands memory image download. I'm going to use "flash image download", which is in fact the firmware flashing. The XTCOM_UTILITY and the flash image can be downloaded here (alternate link here).

Modules:

RS232 FTDI
ESP8266

Connections:


Warning! ESP8266 does not support 5V on either of its pins.
Connecting the ESP8266 to FT232RL FTDI USB to TTL Serial+Adapter:
  • VCC = 3.3V (might require a separate power supply for the ESP8266 module, because the FTDI might not give enough current)
  • GND = ground
  • CH_PD = Chip enable, connect to +VCC
  • RST = Leave floating
  • GPIO0 = Normally floating but this needs to be connected to GND when flashing the ESP8266 module
  • UTXD = Tx data connect to TX of FTDI
  • URXD = Rx data connect to RX of FTDI

Flashing ESP8266 module with XTCOM_UTILITY:

Run the program and go to Tools->Config device. Select the Com port of FTDI adapter (only Com ports COM1-COM6 are supported - change port in Windows control panel if necessary). The port used by FTDI adapter is visible in Device Manager. In my case the port was COM2 and the speed was set to 115200. Press Open button to open the COM port and then click Connect.


Go to API TEST->Flash Image Download. Press Browse to select the firmware image and then press the Download button to start flashing.


Flash image file info output when using AT+GMR command:
AT version:0.21.0.0
SDK version:0.9.5


References: tutorial from iot-playground.com, images from stak.com and arduino-info.wikispaces.com
Similar tutorial: developer.mbed.org

Ebay ESP8266 pinout - model ESP-01

This particular ESP8266 was bought off Ebay from China. Ebay has all kinds of ESP8266 models. My version is ESP-01, it was bought in 2014 and it looks like this.

China Ebay ESP8266 pinout

ESP8266 board connections:

  • 3.3V power supply
  • GPIO0 and GPIO2 are 2 general purpose input/output pins. GPIO0 will be set to GND only when loading the firmware
  • CH_PD must be in pullup mode when programming only
  • RST in pullup mode
Warning! ESP8266 does not support 5V on either of its pins.

References: The image was taken from www.electroschematics.com and the information from www.whatimade.today