{"id":32713466,"url":"https://github.com/asathiskumar98-byte/esp8266-oled-graphics-display-ssd1306-micropython","last_synced_at":"2026-04-12T02:35:34.124Z","repository":{"id":321346199,"uuid":"1085476365","full_name":"asathiskumar98-byte/ESP8266-OLED-Graphics-Display-SSD1306-MicroPython","owner":"asathiskumar98-byte","description":"This project demonstrates how to use an **SSD1306 128x64 OLED display** with an **ESP8266** board using **MicroPython**.   It covers **text display**, **pixel plotting**, and **basic graphics drawing** (lines, boxes, and shapes) using the `ssd1306` library.","archived":false,"fork":false,"pushed_at":"2025-10-29T05:06:26.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-29T07:09:47.334Z","etag":null,"topics":["embedded-systems","esp8266","esp8266-projects","micropython","micropython-esp8266","oled-display-ssd1306","oled-ssd1306","thonny-ide"],"latest_commit_sha":null,"homepage":"","language":"Python","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/asathiskumar98-byte.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-29T05:01:22.000Z","updated_at":"2025-10-29T05:06:30.000Z","dependencies_parsed_at":"2025-10-29T07:09:57.170Z","dependency_job_id":"304b62c5-f406-4796-87d6-9157d6064b7b","html_url":"https://github.com/asathiskumar98-byte/ESP8266-OLED-Graphics-Display-SSD1306-MicroPython","commit_stats":null,"previous_names":["asathiskumar98-byte/esp8266-oled-graphics-display-ssd1306-micropython"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/asathiskumar98-byte/ESP8266-OLED-Graphics-Display-SSD1306-MicroPython","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asathiskumar98-byte%2FESP8266-OLED-Graphics-Display-SSD1306-MicroPython","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asathiskumar98-byte%2FESP8266-OLED-Graphics-Display-SSD1306-MicroPython/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asathiskumar98-byte%2FESP8266-OLED-Graphics-Display-SSD1306-MicroPython/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asathiskumar98-byte%2FESP8266-OLED-Graphics-Display-SSD1306-MicroPython/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asathiskumar98-byte","download_url":"https://codeload.github.com/asathiskumar98-byte/ESP8266-OLED-Graphics-Display-SSD1306-MicroPython/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asathiskumar98-byte%2FESP8266-OLED-Graphics-Display-SSD1306-MicroPython/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":282271384,"owners_count":26642101,"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","status":"online","status_checked_at":"2025-11-02T02:00:06.609Z","response_time":64,"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":["embedded-systems","esp8266","esp8266-projects","micropython","micropython-esp8266","oled-display-ssd1306","oled-ssd1306","thonny-ide"],"created_at":"2025-11-02T11:00:43.402Z","updated_at":"2025-11-02T11:01:53.634Z","avatar_url":"https://github.com/asathiskumar98-byte.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🖥️ ESP8266 OLED Graphics Display (SSD1306) — MicroPython\n\n## 🧠 Overview\nThis project demonstrates how to use an **SSD1306 128x64 OLED display** with an **ESP8266** board using **MicroPython**.  \nIt covers **text display**, **pixel plotting**, and **basic graphics drawing** (lines, boxes, and shapes) using the `ssd1306` library.\n\n---\n\n## ⚙️ Hardware Setup\n\n| Component | ESP8266 Pin | Description |\n|------------|-------------|--------------|\n| OLED SDA   | GPIO4 (D2)  | I2C Data line |\n| OLED SCL   | GPIO5 (D1)  | I2C Clock line |\n| VCC        | 3.3V        | Power supply |\n| GND        | GND         | Common ground |\n\n🪛 **Connections:**\n- OLED **VCC → 3.3V**\n- OLED **GND → GND**\n- OLED **SDA → GPIO4 (D2)**\n- OLED **SCL → GPIO5 (D1)**\n\n---\n\n## 🧩 Code\n\n```python\nfrom machine import Pin, I2C\nimport ssd1306\n\n# D1 = SCL = GPIO5\n# D2 = SDA = GPIO4\n\n# Initialize I2C and OLED display\ni2c = I2C(sda=Pin(4), scl=Pin(5))\ndisplay = ssd1306.SSD1306_I2C(128, 64, i2c)\n\n# Function to display text easily\ndef oled_string(x, y, z, c):\n    display.fill(0)  # Clear display\n    display.text(x, y, z, c)\n    display.show()\n\n# --- Drawing individual pixels (vertical line example) ---\nfor y in range(0, 11):\n    display.pixel(0, y, 1)  # Draw pixel column from y=0 to 10\n\n# --- Drawing lines to form a rectangle ---\ndisplay.hline(0, 0, 10, 1)   # Top edge\ndisplay.vline(0, 0, 10, 1)   # Left edge\ndisplay.vline(10, 0, 10, 1)  # Right edge\ndisplay.hline(0, 10, 11, 1)  # Bottom edge\n\ndisplay.show()\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasathiskumar98-byte%2Fesp8266-oled-graphics-display-ssd1306-micropython","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasathiskumar98-byte%2Fesp8266-oled-graphics-display-ssd1306-micropython","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasathiskumar98-byte%2Fesp8266-oled-graphics-display-ssd1306-micropython/lists"}