Skip to content

Full-featured Serial bridge for ESP8266, supports MQTT, WebSockets,Telnet, and also comes with a nice Config Page

License

Notifications You must be signed in to change notification settings

Vitorbnc/espSuite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

espSuite

Full-featured Serial bridge for ESP8266 and ESP32, supports MQTT, WebSockets,Raw TCP (Telnet), Server and Client mode and also comes with a nice Configuration Page.


Now we don't have to upload code again only to switch to AP Mode or change the password. Just open the config page and you're all set.

New version: ESP32 support + EEPROM emulation for saving default data. This greatly improves stability.

Previous version moved to the legacy folder.

Flashing:

Pre-built:

Bulding from source is recommended for customizing the default options.

Prebuilt binaries available:

  • Wemos Lolin32
    • Go to ./bin/esp32 and run flash_wemos_lolin32.bat
  • Generic ESP-01 module (not tested yet)
    • Install python 3 and esptool (with pip)
    • Go to ./bin/esp8266 and run flash_esp01_generic.bat

Edit the .bat files to replace COM3 with your port number if it fails to find the device.

For linux, just copy+paste the batch file contents in the terminal.

From source

Tested with:

Steps:

  • Upload the Sketch to ESP8266/ESP32
  • Connect to its AP (SSID is things by default) and go to 192.168.1.1 to see the Setup Page
  • Optional: open constants.h to view or edit default settings (change INIT_CODE to some arbitrary number of your choice after every new change)

The ESP will work as a Serial device, always when you Serial.print("something"), something will be sent using the protocol you've chosen. When you send something to its IP address and port (don't forget the '\n' in the end), it will be printed to Arduino too.

Things to make it better:

  • Choose another language (currently, EN-US and PT-BR available) by opening espSuite.ino and replacing index_en by index_br
  • Edit /pages/index_xx.html with your custom html, then generate a new index_xx.html.h with the provided page_converter tool by running it from the pages folder:
..\tools\page_converter.exe .\index_xx.html

Note: a linux binary for the page converter will come soon, but you should be able to build it with gcc in no time.

The Setup Page

Setup Page

The Wiring Diagram

Just in case you forgot:

ESP-01 Wiring

Notes

  • Disconnect DTR and RTS before opening Arduino Serial Monitor
  • Make sure to use Newline('\n') as line ending char, or change dataTrailer in the sketch to use something else.

About

Full-featured Serial bridge for ESP8266, supports MQTT, WebSockets,Telnet, and also comes with a nice Config Page

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published