{"id":24275689,"url":"https://github.com/silasberger/nodemcu-setup","last_synced_at":"2026-04-30T06:33:29.217Z","repository":{"id":241796096,"uuid":"807645134","full_name":"SilasBerger/nodemcu-setup","owner":"SilasBerger","description":"Setup instructions, scripts and helper files for ESP32 NodeMCU development boards.","archived":false,"fork":false,"pushed_at":"2024-07-16T15:06:43.000Z","size":311,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-15T21:19:57.297Z","etag":null,"topics":["documentation","education","esp32","iot","mcu","microcontroller","nodemcu"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/SilasBerger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2024-05-29T13:53:22.000Z","updated_at":"2024-07-16T15:06:46.000Z","dependencies_parsed_at":"2025-01-15T21:52:53.380Z","dependency_job_id":"242d35d3-39d0-40ce-85d6-c5e78cea8f14","html_url":"https://github.com/SilasBerger/nodemcu-setup","commit_stats":null,"previous_names":["silasberger/nodemcu-setup"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SilasBerger/nodemcu-setup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SilasBerger%2Fnodemcu-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SilasBerger%2Fnodemcu-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SilasBerger%2Fnodemcu-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SilasBerger%2Fnodemcu-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SilasBerger","download_url":"https://codeload.github.com/SilasBerger/nodemcu-setup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SilasBerger%2Fnodemcu-setup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32457110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["documentation","education","esp32","iot","mcu","microcontroller","nodemcu"],"created_at":"2025-01-15T21:43:54.242Z","updated_at":"2026-04-30T06:33:29.183Z","avatar_url":"https://github.com/SilasBerger.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NodeMCU Setup\nSetup instructions, scripts and helper files for ESP32 NodeMCU development boards.\n\n## Initial setup\nFor the initial setup, run the following commands from the root of this repository:\n- `pip3 -m venv venv`\n- `source ./venv/bin/activate`\n- `pip install -r requirements.txt`\n- `python esptool.py --help`\n- `chmod +x ./download_firmwares.sh \u0026\u0026 ./download_firmwares.sh`\n- `chmod +x setup_scripts/*`\n\n## Board inventory for Micropython firmware\n_For diagrams (such as pinout, etc.), see `diagrams/device_\u003cdeviceNr\u003e`._\n\n| Nr. | Name                                                                                                                    | SoC      | Micropython Firmware                                 | Link                                                  |\n|-----|-------------------------------------------------------------------------------------------------------------------------|----------|------------------------------------------------------|-------------------------------------------------------|\n| 1   | ESP32 C3 / RP2040 Raspberry Pi Pico Development Board With 0.42 Inch LCD Risc-v WiFi Bluetooth for Arduino Microprython | ESP32 C3 | https://micropython.org/download/ESP32_GENERIC_C3/   | https://www.aliexpress.com/item/1005006051061995.html |\n| 2   | LILYGO TTGO LORA32                                                                                                      | ESP32    | https://micropython.org/download/LILYGO_TTGO_LORA32/ | https://www.aliexpress.com/item/1005003088139358.html |\n| 3   | SX1267 ESP32 LoRa                                                                                                       | ESP32    | https://micropython.org/download/ESP32_GENERIC/      \u003cbr/\u003e| https://de.aliexpress.com/item/1005005967763162.html  |\n\n## Flashing firmware\nDetermine the appropriate setup script for your chip / board. Use the above board inventory for assistance.\n\nNext, plugin in the ESP32 device. **Make sure to only plug in the device you wish to flash!**.\n\nThen Execute the appropriate setup script (e.g. `setup_scripts/esp32_c3_v1.22.2.sh`) from the **repository root**.\n\n```shell\nsetup_scripts/esp32_c3_v1.22.2.sh\n```\n\n## Serial connections: REPL and file transfer\n### REPL / Shell\nYou can connect your shell to the Micropython environment by using serial I/O command-line tool such as [tio](https://github.com/tio/tio) (recommended, manual installation required) or the PySerial Miniterm (provided in this project's virtualenv).\n\nTo establish a serial connection, you first need to determine which serial port to use. The easiest way to accomplish this is to run\n\n```shell\n./esptool.py chip_id | grep \"Serial port\"\n```\n\nThen, run\n\n```shell\ntio \u003cserial_port\u003e\n```\n\nto connect to the device. \n\nIf you prefer using the provided PySerial Minitern, run\n\n```shell\npython -m serial.tools.miniterm \u003cserial_port\u003e\n```\n\ninstead.\n\nOnce the serial connection is established, you have access to the Python REPL on the ESP32 Micropython device.\n\nRun\n\n```python\nprint(\"Hello, world!\")\n```\n\nto verify that everything is working correctly. You can also execute Python files on the device (see [Working with files](#working-with-files)) by running\n\n```python\nimport some_file\n```\n\n### Working with files\nFile management is handled through the `ampy` Python module.\n\nFirst, determine the serial port to be used by running\n\n```shell\n./esptool.py chip_id | grep \"Serial port\"\n```\n\nThen, you can use the following file management commands:\n- **Upload a file:** `./ampy.py -p \u003cserial_port\u003e put demos/hello_world.py main.py`. This uploads a local file `demos/hello_world.py` to the device's flash memory root and names it `main.py`.\n- **List files:** `./ampy.py -p \u003cserial_port\u003e ls`. This lists all files in the device's flash memory.\n- **See all commands:** `./ampy --help`\n\n## ESP32 Micropython essentials\nFor more, see https://docs.micropython.org/en/latest/esp32/quickref.html.\n\n### Networks\n```python\nimport network\nwlan = network.WLAN(network.STA_IF)\nwlan.active(True)\nwlan.scan()\n```\n\n### GPIO output\n```python\nfrom machine import Pin\npin8 = Pin(8, Pin.OUT)\npin8.on()\n```\n\n## Demo files\nThe `demos` directory contains some demo scripts that can be uploaded to the device (see [Working with files](#working-with-files)).\n\n**Note:** Some demos may be specific to a particular development board; especially with respect to the pin layout.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilasberger%2Fnodemcu-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsilasberger%2Fnodemcu-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilasberger%2Fnodemcu-setup/lists"}