Difference between revisions of "ESP8266"

From CommonsLab
Jump to navigation Jump to search
(Flashing with Arduino IDE)
(→‎E-12: LED on pin 2)
Line 11: Line 11:
  
 
=== E-12 ===
 
=== E-12 ===
This module is FCC-licensed and has more pins of the [[EAP8266]] broken out.  
+
This module is FCC-licensed and has more pins of the ESP8266 broken out.  
 
The spacing if the pins is '''not''' the usual DIP/breadboard spacing of 0.1 inch.
 
The spacing if the pins is '''not''' the usual DIP/breadboard spacing of 0.1 inch.
 +
The small SMD on-board LED is connected to GPIO2 (Arduino pin 2).
 +
 +
==== E-12F ====
 +
This version of the E-12 module has an improved PCB antenna design.
  
 
== USB-Enabled boards ==
 
== USB-Enabled boards ==

Revision as of 01:35, 6 September 2016

The ESP8266 is a WiFi-enabled SOC (system on chip) which can run open-source firmware, such as nodeMCU (an eLua interpreter), Ai-Thinker (a simple TCP/IP stack to act as a serial-to-TCP WiFi adapter), a bootloader to use with the ArduinoIDE or any other program written with the SDK (software development kit).

The ESP8266 chip can be readily purchased, presoldered on a small PCB module with different pins broken out for easy access.

Modules

E-01

E-01 Module with the ESP8266 chip on board.

The E-01 module is of the cheapest and simplest modules with only 8 pins broken out to a 2x4 pin header. Since this module is not very breadboard friendly with the 8x2 pin header, we have a special E-01 USB flashing tool at the commons|lab.

E-12

This module is FCC-licensed and has more pins of the ESP8266 broken out. The spacing if the pins is not the usual DIP/breadboard spacing of 0.1 inch. The small SMD on-board LED is connected to GPIO2 (Arduino pin 2).

E-12F

This version of the E-12 module has an improved PCB antenna design.

USB-Enabled boards

Amica

The NodeMCU Amica board has the E-12 module and a micro USB port on board.


Flashing with Arduino IDE

Choose the ESP8266 from the available boards.

The ESP2866 boards can be flashed with the Arduino IDE after installing the ESP boards into your Arduino IDE using the Board Manager by adding [the link] which is given at the Arduino core for ESP code repository.

  • Choose 'Generic ESP8266 module' as 'Board' from the 'Tools' menu. (That seems to give good results with the E-01 USB flashing tool.)
  • Make sure the ESP8266 has entered the bootloader.
  • Press the upload button on the Arduino IDE.