Getting Started with ESP8266

Getting Started with ESP8266



Who is Espressif??


  • 2008 - Founded 
  •  2010 - First Wi-Fi chip (offers IoT/LP WiSoCs)

             Espressif Systems is a fabless semiconductor company, with headquarters in Shanghai Zhangjiang High-Tech Park, providing low power Wi-Fi and Bluetooth SoCs and wireless solutions for the Internet of Things (IoT)applications.

ESP8266

Pin Definition

Functional Description

Main Technical Specifications

Wi-Fi Features

  • Standards - FCC/CE/TELEC/SRRC
  • Protocols - 802.11 b/g/n/e/i
  • Frequency Range  -  2.4GHz - 2.5GHz (2400MHz to 2483.5MHz) 
  • Tx Power
    • 802.11 b: +20 dBm
    • 802.11 g: +17 dBm
    • 802.11 n: +14 dBm 
  • Rx Sensitivity
    • 802.11 b: -91 dbm (11 Mbps)
    • 802.11 g: -75 dbm (54 Mbps)
      • 802.11 n: -72 dbm (MCS7) 
    • Antenna - PCB Trace, External, IPEX Connector, Ceramic Chip

    Hardware

    • CPU 
      • Tensilica L106 32-bit micro controller 
      • Ultra-low-power 16-bit RSIC
      • clock speed is 80 MHz. (maximum – 160MHz)
    • Peripheral Interface 
      • GPIO (General Purpose Input/Output)          - 17 GPIOs 
      • UART (Universal Asynchronous Receiver Transmitter) – 2 UART 
        • TX, RX 
        • UART0, UART1 
      • SDIO (Secure Digital Input/Output)             - 1 SDIO 
        • CLK, DATA_0, DATA1, DATA_2, DATA_3, CMD 
        • Supported 4 bit 25MHz SDIO v1.1 and 4 bit 50 MHz SDIO v2.0 
      • SPI (Serial Peripheral Interface-CLK, MISO, MOSI, CS) - 3 SPIs 
        • One General Slave/Master SPI 
        • One Slave SDIO/SPI 
        • One General Slave/Master HSPI 
      • I2C (Inter Integrated Circuit-SCL, SDA)               -One I2C 
      • I2S - (Inter Integrated sound)WS2812 series          - One I2S 
      • IR Remote Control (IR_Tx, IR_Rx)                       - One IR 
      • ADC (Analog to digital Converter)     10 Bits         - One ADC 
      • PWM (Pulse with Modulation)                              - 4 PWM 
      • LED Light & Button
    • Operating Voltage (1.85vmin)  3.0V ~ 3.6V 
    • Operating Current Average value: 80 mA (Min require 230mA)
    • Operating Temperature Range -40°C ~ 125°C
    • Storage Temperature Range -40°C ~ 125°C
    • Package Size                   QFN32-pin (5 mm x 5 mm)

    Software

    • Wi-Fi Mode                    station/softAP/SoftAP+station
    • Security                         WPA/WPA2
    • Encryption                      WEP/TKIP/AES
    • Firmware Upgrade 
      • UART Download 
      • OTA (via network-1MB)
    • Software Development 
      • Supports Cloud Server Development /Firmware and SDK for fast on-chip programming
    • Network Protocols          IPv4, TCP/UDP/HTTP/FTP
    • User Configuration 
      • AT Instruction Set, 
      • Cloud Server, 
      •  Android/iOS App 

    Power Consumption

    Package Information

    Applications

    • Home Appliances
    • Home Automation
    • Smart Plugs and Lights
    • Mesh Network
    • Industrial Wireless Control
    • Baby Monitors
    • IP Cameras
    • Sensor Networks
    • Wearable Electronics
    • Wi-Fi Location-aware Devices
    • Security ID Tags
    • Wi-Fi Position System Beacons


    Programming Language & Method

    • AT Command
    • C++ Language (ESPressif Core, Arduino Core)
    • ESP8266 BASIC (browser based development environment)
    • JavaScript API (Mongoose OS)
    • Lua Script (NodeMCU)
    • Micro Python

    Different Kind of ESP8266 module Boards

    Different Kind of ESP8266 Programming Tools

    • AT (Any Serial Programmer)
    • C++ Language
      • Arduino IDE
      • ESPressif SDK
    • ESP8266 BASIC (browser based development environment)
    • Mongoose OS
    • Lua Script (NodeMCU)
      • LuaLoader (NodeMCU Programs)
      • ESPlorer  (NodeMCU Programs)
      • EspFlasher tool (NodeMCU)
    • Micro Python 
      •  Python [ Expressif’s Flash Download Tools (ESP8266 & ]
      • NodeMCU 


    ESP8266 BASIC


    Main Disadvantage is of ESP8266 BASIC?

        512k modules will not support all features of ESP8266 BASIC.
        To make it fit on an ESP-01 and alike the following features have been removed for 512k modu

    Features

        Browser Based debugger
        Vars page
        TFT display functions
        OLED display commands
        LCD display commands

    How to flash your chip ?

        1. Downlaod the flash tool from below Links
            https://www.esp8266basic.com/download.html
      
            Full Source code on the github
                https://github.com/esp8266/Basic/tree/NewWebSockets
        2. follow this instruction from this below link website
                https://www.esp8266basic.com/flashing-instructions.html

    Downlaod Getting started videos from below links

        ESP8266 Basic Interpreter from ESP8266basic.com         https://www.youtube.com/watch?v=ntYJ5TErJLk
      

      YouTube playlist of ESP8266 Basic

        https://www.youtube.com/playlist?list=PLeoCiKHizvH90nsLnBd_eEbzAGodfIE05

    ESP8266 Useful Books



    Websites

    ·        http://esp8266.ru/
    ·        http://www.esp8266.com/
    ·        https://nurdspace.nl/ESP8266
    ·        http://benlo.com/esp8266/
    ·        NodeMCU
    o   https://github.com/nodemcu/
    o   http://nodemcu-build.com (NodeMCU Custom Build)

    Source: https://esp8266iot.blogspot.com/2017/03/Getting-Started-With-ESP8266.html