{"id":26091758,"url":"https://github.com/alcalzone/nc-zwave-esp-bridge","last_synced_at":"2025-04-12T06:43:03.623Z","repository":{"id":280414289,"uuid":"936518277","full_name":"AlCalzone/nc-zwave-esp-bridge","owner":"AlCalzone","description":"Firmware for the ESP UART bridge","archived":false,"fork":false,"pushed_at":"2025-04-03T11:38:25.000Z","size":57,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T06:42:58.838Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlCalzone.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-02-21T08:18:12.000Z","updated_at":"2025-04-03T11:30:51.000Z","dependencies_parsed_at":"2025-03-03T10:24:30.898Z","dependency_job_id":"c8c0264f-c81e-41ec-b1e3-8c3b8e81bdb3","html_url":"https://github.com/AlCalzone/nc-zwave-esp-bridge","commit_stats":null,"previous_names":["alcalzone/nc-zwave-esp-bridge"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlCalzone%2Fnc-zwave-esp-bridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlCalzone%2Fnc-zwave-esp-bridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlCalzone%2Fnc-zwave-esp-bridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlCalzone%2Fnc-zwave-esp-bridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlCalzone","download_url":"https://codeload.github.com/AlCalzone/nc-zwave-esp-bridge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248530610,"owners_count":21119592,"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":[],"created_at":"2025-03-09T10:23:43.011Z","updated_at":"2025-04-12T06:43:03.586Z","avatar_url":"https://github.com/AlCalzone.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## USB to UART Bridge\n\nUSB to serial bridge tool using the USB and UART capabilities of the ESP32-S2/S3 microcontroller. This tool serves as a debugging and downloading utility with the following features:\n\n1. Bidirectional transparent data communication between USB and UART.\n2. Configurable serial port settings (supports baud rates up to 3000000 bps).\n3. Compatibility with automatic firmware download functionality for `esptool`, enabling firmware updates for other ESP SoCs.\n\n```c\n/*\n *                                │\n *                                │USB\n *                                │\n *                                ▼\n *                            ┌──────┐\n *                            │      │\n *                            │ O  O │\n *                            │      │\n *                        ┌───┴──────┴───┐\n *                        │              │\n * ┌───────────┐          │ ESP32-S3-OTG │\n * │           │          │              │\n * │           │ RX       │ ┌──┐         │\n * │           │◄─────────┼─┤  │expend IO│\n * │           │ TX       │ │  │         │\n * │Target_MCU │◄─────────┼─┤  │         │\n * │           │ IO0      │ │  │         │\n * │           │◄─────────┼─┤  │         │\n * │           │ EN       │ │  │         │\n * │           │◄─────────┼─┤  │         │\n * │           │          │ └──┘         │\n * └───────────┘          │              │\n *                        │              │\n *                        │              │\n *                        └───┬──────┬───┘\n *                            │ [  ] │\n *                            └──────┘\n */\n```\n\n### Default IO Configuration\n\nThe example using `ESP32-S3-OTG` board by default, the IO configuration is as follows:\n\n| ESP32-Sx IO | Function  |             Remark             |\n| :---------: | :-------: | :----------------------------: |\n|     20      |  USB D+   |             Fixed              |\n|     19      |  USB D-   |             Fixed              |\n|     46      |  UART-RX  |    Link to target board TX     |\n|     45      |  UART-TX  |    Link to target board RX     |\n|     26      | Boot(IO0) | Link to target board Boot(IO0) |\n|      3      | EN (RST)  |  Link to target board EN(RST)  |\n\n### Build and Flash\n\n1. Make sure `ESP-IDF` is setup successfully\n\n2. Set up the `ESP-IDF` environment variables, please refer [Set-up the environment variables](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/index.html#step-4-set-up-the-environment-variables), Linux can use:\n\n    ```bash\n    . $HOME/esp/esp-idf/export.sh\n    ```\n\n3. Set ESP-IDF build target to `esp32s2` or `esp32s3`\n\n    ```bash\n    idf.py set-target esp32s3\n    ```\n\n4. Build, Flash, output log\n\n    ```bash\n    idf.py build flash monitor\n    ```\n\n### Automatic Firmware Download with esptool\n\n* The automatic download feature is enabled by default. You can disable this option in `menuconfig → USB UART Bridge Demo → Enable auto download`.\n* When using the automatic download feature, connect the development board's `AUTODLD_EN_PIN` and `AUTODLD_BOOT_PIN` pins to the target MCU's IO0 (Boot) and EN (RST) pins respectively.\n* The automatic download feature may not function correctly on certain development boards (due to delays caused by RC circuits). In such cases, please fine-tune the code with gpio_set_level software delays.\n\n### Wireless USB UART Bridge\n\nPlease refer to [Wireless USB UART Bridge](https://github.com/espressif/esp-dev-kits/tree/master/esp32-s3-usb-bridge/examples/usb_wireless_bridge).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falcalzone%2Fnc-zwave-esp-bridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falcalzone%2Fnc-zwave-esp-bridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falcalzone%2Fnc-zwave-esp-bridge/lists"}