{"id":24583401,"url":"https://github.com/abduznik/micropython_uart","last_synced_at":"2026-05-19T00:34:57.236Z","repository":{"id":273839248,"uuid":"921048297","full_name":"abduznik/Micropython_UART","owner":"abduznik","description":"Simple code for UART included a pyserial interface with support for windows,Linux,android","archived":false,"fork":false,"pushed_at":"2025-01-23T08:52:26.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T09:32:15.831Z","etag":null,"topics":["library","micropython","template","uart"],"latest_commit_sha":null,"homepage":"","language":"Python","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/abduznik.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":"2025-01-23T08:38:45.000Z","updated_at":"2025-01-23T08:54:22.000Z","dependencies_parsed_at":"2025-01-23T09:32:19.024Z","dependency_job_id":"0d6997e1-21f2-407c-b580-0cd0d04637b1","html_url":"https://github.com/abduznik/Micropython_UART","commit_stats":null,"previous_names":["abduznik/micropython_uart"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abduznik%2FMicropython_UART","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abduznik%2FMicropython_UART/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abduznik%2FMicropython_UART/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abduznik%2FMicropython_UART/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abduznik","download_url":"https://codeload.github.com/abduznik/Micropython_UART/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244075638,"owners_count":20393979,"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":["library","micropython","template","uart"],"created_at":"2025-01-24T04:40:39.008Z","updated_at":"2026-05-19T00:34:57.229Z","avatar_url":"https://github.com/abduznik.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Micropython UART Controller\n\n![Python](https://img.shields.io/badge/Python-3.x-blue?style=for-the-badge\u0026logo=python)\n![MicroPython](https://img.shields.io/badge/MicroPython-Enabled-green?style=for-the-badge\u0026logo=micropython)\n![Platform](https://img.shields.io/badge/Platform-Windows%20|%20Linux%20|%20Android-lightgrey?style=for-the-badge)\n\nA simple, cross-platform tool to communicate with MicroPython-based microcontrollers (like **Raspberry Pi Pico**, **ESP32**, etc.) via UART. Control hardware directly from your PC or Android phone!\n\n---\n\n## Features\n\n- Cross-Platform:** Works on **Windows**, **Linux**, and **Android** (via Pydroid 3).\n- **Auto-Detection:** Automatically detects your OS and available serial ports.\n- **GUI Control:** User-friendly interface to switch ports and send commands.\n- **Instant Feedback:** Turn specific pins/LEDs ON or OFF with a click.\n\n---\n\n## Project Structure\n\n| File | Description |\n| :--- | :--- |\n| **`serialcomm.py`** | **The GUI App.** Run this file to start the controller. Connects to the device and sends commands. |\n| **`s_searcher.py`** | **The Backend.** Handles OS detection, list available ports, and manages serial connections. |\n| **`UART_MICRO.py`** | **Firmware.** The code that goes onto your Microcontroller (Pico/ESP32). |\n\n---\n\n## Installation \u0026 Setup\n\n### PC (Windows / Linux)\nEnsure you have Python installed. Then, install the required library:\n\n```bash\npip install pyserial\n```\n\n### Android (via Pydroid 3)\n1. Install **Pydroid 3** from the Google Play Store.\n2. Open Pydroid 3 -\u003e **Pip**.\n3. Install `usb4a` and `usbserial4a`.\n   *(Note: Android support requires an OTG adapter)*.\n\n### Microcontroller Setup\n1. Open your MicroPython IDE (like **Thonny**).\n2. Open `UART_MICRO.py`.\n3. **Save/Flash** it to your microcontroller as `main.py` (or run it manually).\n   \u003e **Important:** Check your specific board's Pinout! The code uses `UART(0)` and `Pin(25)` (default LED for Pico). Adjust if using ESP32 or others.\n\n---\n\n## How to Use\n\n1. **Connect** your microcontroller to your computer/phone via USB.\n2. **Run** the application:\n   ```bash\n   python serialcomm.py\n   ```\n3. **Select Port:**\n   - Use the dropdown to select your device (e.g., `COM3`, `/dev/ttyUSB0`).\n   - Or keep it on **`Auto`** to let the app find it.\n4. **Control:**\n   - Click **`Turn ON`** 🟢 -\u003e Sends `11111111` (LED ON)\n   - Click **`Turn OFF`** 🔴 -\u003e Sends `00000000` (LED OFF)\n\n---\n\n## Contributing\n\nContributions are welcome! Feel free to:\n- Report bugs\n- Suggest features\n- Submit Pull Requests\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabduznik%2Fmicropython_uart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabduznik%2Fmicropython_uart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabduznik%2Fmicropython_uart/lists"}