• Stars
    star
    236
  • Rank 170,480 (Top 4 %)
  • Language
    C
  • License
    The Unlicense
  • Created over 9 years ago
  • Updated about 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Small web server on ESP8266

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

More Repositories

1

ZigbeeTLc

Custom firmware for Zigbee 3.0 IoT devices on the TLSR825x chip
C
130
star
2

SDKnoWiFi

ESP8266 Open SDK without WiFi (startup < 30 ms to complete the flash cache)
C
110
star
3

MinEspSDKLib

Minimalist SDK on ESP8266ex
C
108
star
4

RtlDuino

Arduino module RTL8195/8711/8710Ax
C
72
star
5

mp3_decode

Test ESP8266 MP3 webradio (512k Flash)
C
62
star
6

TlsrTools

Alternative programmer for TLSR8269
C
46
star
7

TlsrComSwireWriter

TLSR826x/825x COM port Swire Writer
Python
37
star
8

TlsrComProg

TLSR826x programmator via COM port
C
30
star
9

RTL00MP3

RTL00(RTL8710AF) Test MP3
C
29
star
10

STM32INA2xxPowerProfiler

STM32/BLE INA219/INA226 Power Profiler
C
27
star
11

pvvx.github.io

web data
HTML
26
star
12

TLSRPGM

TLSR SWire programmer
C
26
star
13

UBIA

USB/BLE to I2C/ADC Adapter
C
25
star
14

EspLua

A lua based firmware for wifi-soc esp8266
C
17
star
15

Rapid_Loader

ESP8266 Rapid Loader
C
14
star
16

BZdevice

Custom firmware for devices on the TLSR825x chip operating simultaneously in Zigbee 3 and Bluetooth LE
C
11
star
17

AdScanerTrg

TLSR8266/825x AdScanerTrg - relay control from external BLE sensors for temperature, humidity, lighting, motion, reed switch. A repeater of BLE advertising packages.
C
10
star
18

TlsrComProg825x

TLSR825x programmator via COM port
C
10
star
19

BLE_THSensor

BLE temperature and humidity sensor based on TS0201
C
9
star
20

RTL871x_Info

9
star
21

TLSR8269-EVK

EVK on the E104-BT10-G/N module (TLSR8269).
9
star
22

RTL00_WEB

Simple web server for RTL8710AF
C
7
star
23

SimplePowerProfiler

Simple PowerProfiler on INA219/226/3221...
C
6
star
24

ADV_BLE2UART

Receiving BLE advertisements via UART.
C
6
star
25

TlsrTools825x

Alternative programmer for TLSR825x
C
5
star
26

RTL00_HelloWorld

C
5
star
27

Zigbee2BLE

Gateway Zigbee in BLE on modules with TLSR825x.
C
4
star
28

rtl00TstMinAmebaV35a

RTL00 (RTL8710AF) Test Minimal AmebaV3.5a GCC
C
4
star
29

TLSR825x_OTA_Flash_Hacker

Allows: read firmware via BLE, restore and patch the original firmware, ...
C
4
star
30

PHY62x2

PHY62x2
Python
3
star
31

RTL0B_SDK

RTL8710BN SDK
C
3
star
32

RTL0B_WEB

RTL series "B", Small Web Server
C
3
star
33

RTL00ConsoleROM

Test RTL Console ROM
C
2
star
34

PowerProfiler_pcm1802

Using an AUDIO chip as a 24-bit ADC
C
2
star
35

hcitooladv

BLE Advertising monitor
C
2
star
36

RTL00_AT

RTL00(RTL8710AF) AT command
C
2
star
37

RTLHTTPD

C
1
star
38

bl702_adc_test

USB ADC 16 bits (averaging) test BL702
C
1
star
39

JieLiAC690XSDK

JieLi-AC690X
C
1
star