Skip to content

Latest commit

 

History

History
55 lines (29 loc) · 1.61 KB

README.md

File metadata and controls

55 lines (29 loc) · 1.61 KB

Simple web server on the ESP8266 NodeMCU v2 using Arduino core

Installation process

First clone this git repository :

git clone git@github.com:tdehaeze/esp8266-simple-web-server.git

You need to install PlatformIO CLI or the full PlatformIO IDE.

Then, you have to set the correct serial port on platformio.ini file :

platform = espressif
framework = arduino
board = nodemcuv2
upload_port = /dev/tty.SLAB_USBtoUART

On mac, to see all available serial ports, you can use : ls /dev/tty.*.

Then on the project directory, to compile and upload the project, just type :

platformio run

To open a serial communication, you can type :

platformio serialports monitor --port /dev/tty.SLAB_USBtoUART --baud 115200 --eol CR --raw

Documentation

Pin map : link

Other firmware for the esp8266

How to flash a firmware

On mac, to see all available serial ports, you can use : ls /dev/tty.*