{"id":15725176,"url":"https://github.com/eggplants/esp32","last_synced_at":"2025-03-31T01:24:35.257Z","repository":{"id":104454647,"uuid":"323805326","full_name":"eggplants/esp32","owner":"eggplants","description":"handle esp32 with micropython and arduino IDE","archived":false,"fork":false,"pushed_at":"2021-02-04T15:10:34.000Z","size":3350,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-06T06:44:21.562Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/eggplants.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":"2020-12-23T04:49:55.000Z","updated_at":"2021-02-04T15:10:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"1b3a6d8b-673f-4a8c-bdfe-a5cab1e5d998","html_url":"https://github.com/eggplants/esp32","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggplants%2Fesp32","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggplants%2Fesp32/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggplants%2Fesp32/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggplants%2Fesp32/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eggplants","download_url":"https://codeload.github.com/eggplants/esp32/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246401325,"owners_count":20771155,"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":"2024-10-03T22:19:57.560Z","updated_at":"2025-03-31T01:24:35.216Z","avatar_url":"https://github.com/eggplants.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What is this\n\n- handle esp32 with [micropython](https://github.com/micropython/micropython)\n- with [arduino ide](https://www.arduino.cc/en/software)\n\n## First\n\n```bash\n$ ./allow_dev.sh\n```\n\n## Useful links\n\n- ESP32 MicroPython documentation\n  - ja: \u003chttps://micropython-docs-ja.readthedocs.io/ja/latest/esp32/quickref.html\u003e\n\n- The reference of Arduino ESP32\n  - ja: \u003chttps://garretlab.web.fc2.com/arduino/esp32/reference\u003e\n\n## Useful commands\n\n### ampy\n\n- write/read file\n\n```bash\n$ pip install adafruit-ampy\n$ export AMPY_PORT=/dev/ttyUSB0\n$ ampy ls\n```\n\n### mu-editor\n\n- GUI code editor for micropython\n\n```bash\n$ pip install pipenv\n$ pipenv --python 3.7\n$ pipenv install mu-editor\n# not japanese but english\n$ LANG=C pipenv run mu-editor\n# use latest version\n$ git clone https://github.com/mu-editor/mu\n$ pyenv global 3.7.9\n$ cd mu \u0026\u0026 python -m pip install -e .\n$ mu-editor\n```\n\n### picocom\n\n- Connect to REPL through serial communication\n\n```bash\n$ sudo apt install picocom\n$ picocom /dev/ttyUSB0 -b 115200\n```\n\n### fritzing\n\n- Designing Circuits IDE\n\n```bash\n$ sudo apt install fritzing\n$ fritzing\n```\n\n### esptool.py\n\n```bash\n$ pip install esptool\n$ esptool.py --port /dev/ttyUSB0 erase_flash\n# Micropython\n$ wget \\\n    \"http://micropython.org/resources/firmware/esp32-idf3-20200902-v1.13.bin\"\n# Original firmware\n# Goto: https://github.com/espressif/esp-at/releases/tag/v2.1.0.0_esp32s2\n# Download: ESP32-S2-WROOM_AT_Bin_V2.1.0.0.zip\n# Copy: factory/factory_WROOM.bin\n$ esptool.py --chip esp32 --port /dev/ttyUSB0 write_flash \\\n    -z 0x1000 esp32-*.bin\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feggplants%2Fesp32","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feggplants%2Fesp32","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feggplants%2Fesp32/lists"}