Web-based Serial monitor for ESP32 for debugging & viewing the logs.
Follow these steps to set up and run the project on a Linux PC (Not yet tested on Mac/ Windows)
First, clone the repository to your local machine using the following command:
git clone https://github.com/developer-srj/ESP32-serial.git
Change to the project directory:
cd ESP32-serial
Install the required Python packages listed in the requirements.txt
file:
pip install -r requirements.txt
Before running the script, ensure that the run.sh
file is executable:
chmod +x run.sh
Execute the run.sh
script by running the run.sh
located in the ESP32-serial
directory to start the Serial Monitor in your Browser
Or use below bash command
./run.sh
Ensure that the following dependencies are listed in your requirements.txt
file:
asyncio
pyserial
websockets
These packages can be installed using pip
and are required for the project to run.
Once you have completed the installation steps, you can run the project by executing the run.sh
script. This script will run the server.py
& open the index.html
for your Browser.
Execute the run.sh
script by running the run.sh
located in the ESP32-serial
directory to start the Serial Monitor in your Browser:
use below shell command
./run.sh
Execute the run.sh
script to start the Serial Monitor in your Browser:
use below shell command
./run.sh
If you’d like to contribute to this project, please follow these steps:
- Fork the repository on GitHub.
- Create a new branch for your feature or bug fix (
git checkout -b feature-branch
). - Make your changes and commit them (
git commit -am 'Add new feature'
). - Push your branch to GitHub (
git push origin feature-branch
). - Open a pull request on GitHub to merge your changes into the main repository.
Please ensure that your code adheres to the project's coding standards and includes appropriate tests.
This project is licensed under the MIT License - see the LICENSE file for details.