WebSerial is a Serial Monitor for ESP8266 & ESP32 Microcontrollers that can be accessed remotely via a web browser. Webpage is stored in program memory of the microcontroller.
- Works on Websockets
- Realtime logging
- Any number of Serial Monitors can be opened on the browser
- Uses Async Webserver for better performance
- ESP8266 Arduino Core - v2.5.0
- ESPAsyncTCP - v1.2.0
- ESPAsyncWebServer - v1.2.0
- ESP32 Arduino Core - v1.0.1
- AsyncTCP - v1.0.3
- ESPAsyncWebServer - v1.2.0
Directly Through Arduino IDE ( Currently Submitted for Approval. Use Mannual Install till it gets Approved.)
Go to Sketch > Include Library > Library Manager > Search for "WebSerial" > Install
For Windows: Download the Repository and extract the .zip in Documents>Arduino>Libraries>{Place "WebSerial" folder Here}
For Linux: Download the Repository and extract the .zip in Sketchbook>Libraries>{Place "WebSerial" folder Here}
Download the Repository, Go to Sketch>Include Library>Add .zip Library> Select the Downloaded .zip File.
WebSerial is very similar to the default Serial Monitor Library of Arduino.
Please see Demo
examples for better understanding on how to setup WebSerial for your Project: Click Here
WebSerial has 2 main functions:
print
println
print
- simply prints the data sent over WebSerial without any newline character.
println
- prints the data sent over WebSerial with a newline character.
Both functions support the following datatypes: String
, const char
, char
, int
, uint8_t
, uint16_t
, uint32_t
, double
, float
.
To Access Webserial: Go to <IP Address>/webserial
in your browser ( where <IP Address>
is the IP of your ESP).
Every Contribution to this repository is highly appriciated! Don't fear to create pull requests which enhance or fix the library as ultimatly you are going to help everybody.
If you want to donate to the author then you can become my patron, It really helps me keep these libraries updated:
ESP-DASH is licensed under General Public License v3 ( GPLv3 ).