Difference between revisions of "Protocol decoder:Esp8266"

From sigrok
Jump to navigation Jump to search
Line 64: Line 64:
* ESP-04
* ESP-04
<blockquote>
<blockquote>
{| border="0" style="font-size: smaller; text-align: center" class="alternategrey sigroktable"
Connectors: 7 pin castellated holes on both sides (2mm distance)
|+ Pinout of left connector
{|style="border-width: 0px"
|-
|
  ! Pin
  {| border="0" style="margin-top: 0px; font-size: smaller; text-align: center" class="alternategrey sigroktable"
  ! Function
  |+ Pinout of left connector
|-
  |-
  | 1
    ! Pin
  | VCC
    ! Function
|-
  |-
  | 2
    | 1
  | <div>{{ESP8266EXpin|9}}</div>
    | VCC
|-
  |-
  | 3
    | 2
  | <div>{{ESP8266EXpin|10}}</div>
    | <div>{{ESP8266EXpin|9}}</div>
|-
  |-
  | 4
    | 3
  | <div>{{ESP8266EXpin|12}}</div>
    | <div>{{ESP8266EXpin|10}}</div>
|-
  |-
  | 5
    | 4
  | <div>{{ESP8266EXpin|13}}</div>
    | <div>{{ESP8266EXpin|12}}</div>
|-
  |-
  | 6
    | 5
  | <div>{{ESP8266EXpin|14}}</div>
    | <div>{{ESP8266EXpin|13}}</div>
|-
  |-
  | 7
    | 6
  | <div>{{ESP8266EXpin|15}}</div>
    | <div>{{ESP8266EXpin|14}}</div>
|}
  |-
 
    | 7
{| border="0" style="font-size: smaller; text-align: center" class="alternategrey sigroktable"
    | <div>{{ESP8266EXpin|15}}</div>
|+ Pinout of right connector
  |}
|-
|
  ! Pin
  {| border="0" style="margin-top: 0px; font-size: smaller; text-align: center" class="alternategrey sigroktable"
  ! Function
  |+ Pinout of right connector
|-
  |-
  | 1
    ! Pin
  | <div>{{ESP8266EXpin|2}}</div>
    ! Function
|-
  |-
  | 2
    | 1
  | <div>{{ESP8266EXpin|7}}</div>
    | <div>{{ESP8266EXpin|2}}</div>
|-
  |-
  | 3
    | 2
  | <div>{{ESP8266EXpin|8}}</div>
    | <div>{{ESP8266EXpin|7}}</div>
|-
  |-
  | 4
    | 3
  | <div>{{ESP8266EXpin|25}}</div>
    | <div>{{ESP8266EXpin|8}}</div>
|-
  |-
  | 5
    | 4
  | <div>{{ESP8266EXpin|26}}</div>
    | <div>{{ESP8266EXpin|25}}</div>
|-
  |-
  | 6
    | 5
  | n.c.
    | <div>{{ESP8266EXpin|26}}</div>
|-
  |-
  | 7
    | 6
   | GND
    | n.c.
  |-
    | 7
    | GND
   |}
|}
|}
</blockquote>
</blockquote>

Revision as of 02:32, 6 November 2014

esp8266
ESP8266 closeup.jpg
Name ESP8266
Description WiFi Serial Transceiver.
Status planned
License GPLv2+
Source code decoders/
Input uart
Output esp8266
Probes
Optional probes

The esp8266 protocol decoder supports the UART command protocol spoken by modules equipped with an ESP8266 WiFi transceiver chip.

Hardware

The ESP8266 chip contains an Xtensa LX106 CPU and a radio for IEEE 802.11b/g/n.

Modules

Various online marketplaces sell modules containing the ESP8266 (and a few assisting components) that comes preprogrammed with a TCP/IP stack that can be controlled via RS232 commands.

  • ESP-01

Connector: 2x4pin male 2.54mm header

Function Pin Pin Function
U0TXD
1 2 GND
CHIP_EN
3 4
GPIO2
EXT_RSTB
5 6
GPIO0
VCC 7 8
U0RXD

(Note: The PCB has two square pads at the pin header, so it's not clear which one should be pin number 1. The table above assumes that the module is oriented as shown in the picture from the top, with the antenna on the right side, pin 1 is then in the top left corner and pin 8 next to the SPI flash chip.)

  • ESP-04

Connectors: 7 pin castellated holes on both sides (2mm distance)

Pinout of left connector
Pin Function
1 VCC
2
MTMS
3
MTDI
4
MTCK
5
MTDO
6
GPIO2
7
GPIO0
Pinout of right connector
Pin Function
1
LNA
2
CHIP_EN
3
XPD_DCDC
4
U0RXD
5
U0TXD
6 n.c.
7 GND
  • ESP-05

TODO

Resources