{"id":16239807,"url":"https://github.com/nopnop2002/esp-idf-web-serial","last_synced_at":"2025-03-19T16:31:35.180Z","repository":{"id":63931483,"uuid":"483690212","full_name":"nopnop2002/esp-idf-web-serial","owner":"nopnop2002","description":"Serial Monitor for esp-idf","archived":false,"fork":false,"pushed_at":"2025-01-30T22:53:51.000Z","size":84,"stargazers_count":18,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-28T19:53:13.267Z","etag":null,"topics":["esp-idf","esp32","serial-communication","uart","websocket"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nopnop2002.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-20T14:33:21.000Z","updated_at":"2025-01-30T22:53:55.000Z","dependencies_parsed_at":"2023-12-23T09:20:21.765Z","dependency_job_id":"c7f6a014-09b1-4dc9-bcc6-98ed6ed5a8e9","html_url":"https://github.com/nopnop2002/esp-idf-web-serial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nopnop2002%2Fesp-idf-web-serial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nopnop2002%2Fesp-idf-web-serial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nopnop2002%2Fesp-idf-web-serial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nopnop2002%2Fesp-idf-web-serial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nopnop2002","download_url":"https://codeload.github.com/nopnop2002/esp-idf-web-serial/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244006260,"owners_count":20382441,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["esp-idf","esp32","serial-communication","uart","websocket"],"created_at":"2024-10-10T13:45:13.391Z","updated_at":"2025-03-19T16:31:35.167Z","avatar_url":"https://github.com/nopnop2002.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# esp-idf-web-serial\n\nThis project is a Serial Monitor for esp-idf that can be accessed remotely via a web browser.   \nI used [this](https://github.com/Molorius/esp32-websocket) component.   \nThis component can communicate directly with the browser.   \nIt's a great job.   \n\n![Web-Serial](https://user-images.githubusercontent.com/6020549/204442158-0e8e1b11-caa8-4937-b830-99d331ca3fa6.jpg)\n\nI referred to [this](https://github.com/ayushsharma82/WebSerial).\n\n\n# Software requirements\nESP-IDF V5.0 or later.   \nESP-IDF V4.4 release branch reached EOL in July 2024.   \nESP-IDF V5.1 is required when using ESP32-C6.   \n\n\n# How to Install\n\n- Write this sketch on Arduino Uno.   \nYou can use any AtMega328 microcontroller.   \n\n```\nunsigned long lastMillis = 0;\n\nvoid setup() {\n  Serial.begin(115200);\n}\n\nvoid loop() {\n  while (Serial.available()) {\n    String command = Serial.readStringUntil('\\n');\n    Serial.println(command);\n  }\n\n  if(lastMillis + 1000 \u003c= millis()){\n    Serial.print(\"Hello World \");\n    Serial.println(millis());\n    lastMillis += 1000;\n  }\n\n  delay(1);\n}\n```\n\n- Configuration of esp-idf\n```\nidf.py set-target {esp32/esp32s2/esp32s3/esp32c2/esp32c3}\nidf.py menuconfig\n```\n![config-top](https://user-images.githubusercontent.com/6020549/164256546-da988299-c0ff-41e0-8c5a-45cdd11f9fe7.jpg)\n![config-app](https://user-images.githubusercontent.com/6020549/164256573-1e6fc379-699a-4464-a93d-70160fe2a0b0.jpg)\n\n\nSet the information of your access point.   \n![config-wifi](https://user-images.githubusercontent.com/6020549/164256660-c2def5c5-d524-483b-885a-fa8f32e9b471.jpg)\n\n\nSet the information of your time zone.   \n![config-ntp](https://user-images.githubusercontent.com/6020549/164256796-cf851736-2a8e-400f-b809-992aa2ff867e.jpg)\n\n\nSet GPIO to use with UART.   \n![config-uart](https://user-images.githubusercontent.com/6020549/164256738-0f59817b-0deb-41b5-a4e5-379cbe3c2574.jpg)\n\n\n- Connect ESP32 and AtMega328 using wire cable   \n\n|AtMega328||ESP32|ESP32-S2/S3|ESP32-C2/C3|\n|:-:|:-:|:-:|:-:|:-:|\n|TX|--|GPIO16|GPIO34|GPIO0|\n|RX|--|GPIO17|GPIO35|GPIO1|\n|GND|--|GND|GND|GND|\n\n__You can change it to any pin using menuconfig.__   \n\n\n- Flash firmware\n```\nidf.py flash monitor\n```\n\n- Launch a web browser   \nEnter the following in the address bar of your web browser.   \nYou can communicate to Arduino-UNO using browser.   \nThe Change button changes the number of lines displayed.   \nThe Copy button copies the received data to the clipboard.   \n```\nhttp:://{IP of ESP32}/\nor\nhttp://esp32-server.local/\n```\n\n![Web-Serial](https://user-images.githubusercontent.com/6020549/204442158-0e8e1b11-caa8-4937-b830-99d331ca3fa6.jpg)\n\n# WEB Pages\nWEB Pages are stored in the html folder.   \nYou cam change root.html as you like.   \n\n# References\n\nhttps://github.com/nopnop2002/esp-idf-uart2bt\n\nhttps://github.com/nopnop2002/esp-idf-uart2udp\n\nhttps://github.com/nopnop2002/esp-idf-uart2mqtt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnopnop2002%2Fesp-idf-web-serial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnopnop2002%2Fesp-idf-web-serial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnopnop2002%2Fesp-idf-web-serial/lists"}