Overview

ESP-01

A network device driver for ESP8266 module (AT command).

Usage

Tested firmware versions:

Module Manufacturer AT version SDK version
ESP-01 Ai-Thinker Technology Co. Ltd. 1.2.0.0 1.5.4.1

Here is a wiring example for UART0 of Kameleon Core.

ESP8266 Kameleon Core
VCC 3V3
GND GND
TXD 7 (UART0 RX)
RXD 6 (UART0 TX)

You can register ESP8266 network device driver using UART interface as below:

var UART = require('uart').UART;
var serial0 = new UART(0, {baudrate: 115200, bufferSize: 2048});

var esp8266 = require('@niklauslee/esp8266');
esp8266.connect(serial0);

// Now you can use 'net', 'http', 'wifi' builtin modules.