GithubHelp home page GithubHelp logo

ng-designs / esp8266web Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pvvx/esp8266web

0.0 0.0 0.0 17.09 MB

Small web server on ESP8266

License: The Unlicense

JavaScript 3.86% C++ 1.32% Python 2.13% C 72.59% PHP 0.02% Objective-C 0.33% Assembly 0.36% CSS 1.36% Makefile 1.87% HTML 15.73% Batchfile 0.39% Roff 0.04%

esp8266web's Introduction

esp8266web

Small WEB server on ESP8266 + TCP2UART or Modbus RS-485

HTTP-Web supports more than hundred variables -
All I/O, Wifi, system, ... variables.
GET/POST/websocket, cookie, load/upload data/Flash, multipart/form-data,...
TCP2UART: 300..3000000 Baud, Flow Control On/Off, Inverse On/Of all signals, ...
RS-485: half-duplex 300..1000000 Baud
HTTP-Web services to more than 10 simultaneous open connections.
Websocket open uri: '/web.cgi'
Supports Overlay drivers.

TCP/HTTP transfer speed:
~1 Mbytes/sec (debug off).

UDP Wave server (Integrated SAR ADC):
Sends 14-bit samples at 1 Hz .. 48 kHz (max 192 kHz 12 bits).

Modbus TCP port 502:
GPIOs, ADC, VDD.
RS-485 chematics: SCH

Supported options 48 kbytes IRAM.
Supported 'Rapid Loader' and Flash 512 кbytes - 16 Mbytes.
Поддержка расширенной памяти IRAM в 48 килобайт,
Flash от 512 килобайт до 16 Мегабайт и ускоряющего загрузку SDK 'лоадера'.

From Espressif SDK used only:
libpp.a, libwpa.a, libnet80211.a, parts libphy.a, libcrypto.a, user_interface.o
Из Espressif SDK используются только описанные части.
Остальные части даны с исходными кодами.
LwIP based on Open source LWIP for ESP_IOT_SDK_V1.5.4.

Options programming Flash:

SPI_SPEED: 40MHz or 80MHz.
SPI_MODE: QIO only.
FLASH_SIZE: Always set the size to 512 KB flash.
Automatic determination of the real size of the flash.
При заливке прошивки в модуль всегда устанавливайте размер Flash в 512 килобайт.
Реальный размер Flash определяется автоматически во время старта SDK.

Make WEBFS CmdLine:

WEBFS22.exe -h "*.htm, *.html, *.cgi, *.xml, *.bin, *.txt, *.wav" -z "mdbini.bin, *.inc, *.ini, snmp.bib" .\WEBFiles .\webbin WEBFiles.bin

Upload WEBFS:

  1. Connect AP 'ESP8266', password '0123456789'
  2. Explorer: http://192.168.4.1/fsupload (name and password from WiFi AP)
  3. Select WEBFiles.bin file. Upload.

Для компиляции используется Unofficial Developer Kit.

Переключение проекта с TCP2UART на MODBUS RS-485 производится в include/user_config.h.
Переключение версий SDK с 1.5.4 на 2.0.0 производится в include/sdk/sdk_config.h и заменой директория lib*.
Файлы для web-диска для проектов находятся в разных папках.
Желательно переместить используемые для проекта в папку WEBFiles.

Но возможно использование и make_webfs_rs485.bat или make_webfs_tcp2uart.bat.

В Eclipse заданы 3 опции Manage Configurations:

  1. AutoMake (собрать проект для прошивки, используются установки в Eclipse)
  2. CreateLib (собрать библиотеку libsdk.a (meSDK), используются установки в Eclipse)
  3. Default (собрать проект для прошивки, используя makefile)

Forum esp8266web Web_Base Forum Modbus TCP / RTU RS-485 + WEB server

esp8266web's People

Contributors

pvvx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.