{"id":22253935,"url":"https://github.com/mcauser/micropython-esp8266-nokia-5110-quad-7-segment","last_synced_at":"2025-10-09T00:41:36.169Z","repository":{"id":150620653,"uuid":"84844125","full_name":"mcauser/MicroPython-ESP8266-Nokia-5110-Quad-7-segment","owner":"mcauser","description":"MicroPython library for emulating quad 7-segment LED displays on a Nokia 5110 with PCD8544 driver","archived":false,"fork":false,"pushed_at":"2018-08-07T16:12:08.000Z","size":832,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-01T08:46:28.281Z","etag":null,"topics":["7-segment","esp8266","micropython","nokia-5110","pcd8544","wemos-d1-mini"],"latest_commit_sha":null,"homepage":null,"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/mcauser.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":"2017-03-13T15:40:02.000Z","updated_at":"2024-04-30T15:16:52.000Z","dependencies_parsed_at":"2023-05-06T09:32:41.218Z","dependency_job_id":null,"html_url":"https://github.com/mcauser/MicroPython-ESP8266-Nokia-5110-Quad-7-segment","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mcauser/MicroPython-ESP8266-Nokia-5110-Quad-7-segment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcauser%2FMicroPython-ESP8266-Nokia-5110-Quad-7-segment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcauser%2FMicroPython-ESP8266-Nokia-5110-Quad-7-segment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcauser%2FMicroPython-ESP8266-Nokia-5110-Quad-7-segment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcauser%2FMicroPython-ESP8266-Nokia-5110-Quad-7-segment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcauser","download_url":"https://codeload.github.com/mcauser/MicroPython-ESP8266-Nokia-5110-Quad-7-segment/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcauser%2FMicroPython-ESP8266-Nokia-5110-Quad-7-segment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000640,"owners_count":26082879,"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-10-08T02:00:06.501Z","response_time":56,"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":["7-segment","esp8266","micropython","nokia-5110","pcd8544","wemos-d1-mini"],"created_at":"2024-12-03T07:21:08.429Z","updated_at":"2025-10-09T00:41:36.152Z","avatar_url":"https://github.com/mcauser.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MicroPython ESP8266 Nokia 5110 Quad 7-segment\n\nA MicroPython library for emulating a quad 7-segment LED display modules using a Nokia 5110 display with PCD8544 driver.\n\n![demo](docs/demo.jpg)\n\nThe 84x48 PCD8544 buffer:\n\n![demo](docs/7seg-84x48.png)\n\nThey are called 7-segment displays as there are 7 LEDs for each digit (segment).\nOne byte (7 lower bits) for each segment. The 8th bit (MSB) is for the decimal point.\n\n```\n      A\n     ---\n  F |   | B\n     -G-\n  E |   | C\n     ---   * H\n      D\n\n  HGFEDCBA\n0b01101101 = 0x6D = 109 = show \"5\"\n```\n\nDisplay | Bin        | Hex  | Dec\n------- | ---------- | ---- | ---\n0       | 0b00111111 | 0x3F | 63\n1       | 0b00000110 | 0x06 | 6\n2       | 0b01011011 | 0x5B | 91\n3       | 0b01001111 | 0x4F | 79\n4       | 0b01100110 | 0x66 | 102\n5       | 0b01101101 | 0x6D | 109\n6       | 0b01111101 | 0x7D | 125\n7       | 0b00000111 | 0x07 | 7\n8       | 0b01111111 | 0x7F | 127\n9       | 0b01101111 | 0x6F | 111\nA       | 0b01110111 | 0x77 | 119\nb       | 0b01111100 | 0x7C | 124\nC       | 0b00111001 | 0x39 | 57\nd       | 0b01011110 | 0x5E | 94\nE       | 0b01111001 | 0x79 | 121\nF       | 0b01110001 | 0x71 | 113\nG       | 0b00111101 | 0x3D | 61\nH       | 0b01110110 | 0x76 | 118\nI       | 0b00000110 | 0x06 | 6\nJ       | 0b00011110 | 0x1E | 30\nK       | 0b01110110 | 0x76 | 118\nL       | 0b00111000 | 0x38 | 56\nM       | 0b01010101 | 0x55 | 85\nn       | 0b01010100 | 0x54 | 84\nO       | 0b00111111 | 0x3F | 63\nP       | 0b01110011 | 0x73 | 115\nq       | 0b01100111 | 0x67 | 103\nr       | 0b01010000 | 0x50 | 80\nS       | 0b01101101 | 0x6D | 109\nt       | 0b01111000 | 0x78 | 120\nU       | 0b00111110 | 0x3E | 62\nv       | 0b00011100 | 0x1C | 28\nW       | 0b00101010 | 0x2A | 42\nX       | 0b01110110 | 0x76 | 118\ny       | 0b01101110 | 0x6E | 110\nZ       | 0b01011011 | 0x5B | 91\nblank   | 0b00000000 | 0x00 | 0\n\\-      | 0b01000000 | 0x40 | 64\n\\*      | 0b01100011 | 0x63 | 99\n\n## Parts\n\n* [WeMos D1 Mini](http://www.aliexpress.com/store/product/D1-mini-Mini-NodeMcu-4M-bytes-Lua-WIFI-Internet-of-Things-development-board-based-ESP8266/1331105_32529101036.html) $4.00 USD\n* [Nokia 5110 module](http://www.aliexpress.com/item/1pc-Lowest-Price-84-48-84x84-LCD-Module-White-backlight-adapter-PCB-for-Nokia-5110-Newest/32401396134.html) $2.10 USD\n* [Breadboard 400 point](http://www.aliexpress.com/item/Quality-mini-bread-board-breadboard-8-5CM-x-5-5CM-400-holes/32347239015.html) $1.02 USD\n* [Jumper wire](http://www.aliexpress.com/item/Free-Shipping-140pcs-in-one-package-convenient-New-Solderless-Flexible-Breadboard-Jumper-wires-Cables-HOT-Sale/2044172287.html) $1.72 USD\n\n## Connections\n\nWeMos D1 Mini | Nokia 5110 PCD8544 LCD\n------------- | ---------------\nD3 (GPIO0)    | 0 RST\nD4 (GPIO2)    | 1 CE\nD8 (GPIO15)   | 2 DC\nD7 (GPIO13)   | 3 Din\nD5 (GPIO14)   | 4 Clk\n3V3           | 5 Vcc\nD6 (GPIO12)   | 6 BL\nG             | 7 Gnd\n\n## Links\n\n* [MicroPython PCD8544 Driver](https://github.com/mcauser/micropython-pcd8544)\n* [WeMos D1 Mini](https://wiki.wemos.cc/products:d1:d1_mini)\n* [micropython.org](http://micropython.org)\n* [TM1637 version](https://github.com/mcauser/micropython-tm1637)\n\n## License\n\nLicensed under the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcauser%2Fmicropython-esp8266-nokia-5110-quad-7-segment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcauser%2Fmicropython-esp8266-nokia-5110-quad-7-segment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcauser%2Fmicropython-esp8266-nokia-5110-quad-7-segment/lists"}