{"id":20935855,"url":"https://github.com/nyh-workshop/esp32s3-ulp_riscv_i2clcd","last_synced_at":"2025-09-12T03:41:39.905Z","repository":{"id":172470681,"uuid":"592679652","full_name":"nyh-workshop/esp32s3-ulp_RiscV_i2cLcd","owner":"nyh-workshop","description":"Using an I2C LCD (AIP31068) on ESP32S3's RiscV ULP using Software I2C","archived":false,"fork":false,"pushed_at":"2023-01-24T14:47:04.000Z","size":279,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T02:43:01.311Z","etag":null,"topics":["aip31068","esp-idf","esp32-s3","i2c-lcd","riscv","ulp"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nyh-workshop.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":"2023-01-24T09:42:31.000Z","updated_at":"2025-02-04T10:16:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"de49385e-ca1d-4327-9c6e-2084d1cfd4ed","html_url":"https://github.com/nyh-workshop/esp32s3-ulp_RiscV_i2cLcd","commit_stats":null,"previous_names":["nyh-workshop/esp32s3-ulp_riscv_i2clcd"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nyh-workshop/esp32s3-ulp_RiscV_i2cLcd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyh-workshop%2Fesp32s3-ulp_RiscV_i2cLcd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyh-workshop%2Fesp32s3-ulp_RiscV_i2cLcd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyh-workshop%2Fesp32s3-ulp_RiscV_i2cLcd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyh-workshop%2Fesp32s3-ulp_RiscV_i2cLcd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nyh-workshop","download_url":"https://codeload.github.com/nyh-workshop/esp32s3-ulp_RiscV_i2cLcd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyh-workshop%2Fesp32s3-ulp_RiscV_i2cLcd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274748792,"owners_count":25342005,"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-09-12T02:00:09.324Z","response_time":60,"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":["aip31068","esp-idf","esp32-s3","i2c-lcd","riscv","ulp"],"created_at":"2024-11-18T22:16:37.809Z","updated_at":"2025-09-12T03:41:39.809Z","avatar_url":"https://github.com/nyh-workshop.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# esp32s3-ulp_RiscV-hello\nThis is a demo code for I2C LCD (AIP31068) for the ESP32S3 ULP RiscV using software I2C.\n\nThe simple code drives the I2C 16x2 LCD (usually sold as [Grove 16x2 LCD](https://my.cytron.io/p-grove-16-x-2-lcd-white-on-blue)) with the AIP31068 controller on the ESP32-S3's RiscV ULP.\n\nThe code has been tested on [Cytron's Maker Feather AIOT S3](https://my.cytron.io/p-v-maker-feather-aiot-s3-simplifying-aiot-with-esp32?r=1).\n\nThe hardware I2C for the ULP is not accessible on this board (see page **479** and **480** on [ESP32-S3 Technical Reference Manual](https://www.espressif.com/sites/default/files/documentation/esp32-s3_technical_reference_manual_en.pdf)), software I2C is used.\n\nSoftware I2C routines by PascalPolygon: [STM32 Software I2C](https://github.com/PascalPolygon/stm32_bitbang_i2c), modified for the RiscV ULP.\n\nSince the ULP's RTC GPIO is only coupled up to GPIO 21, the example is using GPIO 4 and 7 instead.\n\nAfter programming the board, press Reset button to run the ULP program.\n\n![Board with I2C LCD](esp32s3-i2cLcd.jpg)\n\nReferences:\n- [ESP-IDF Example ULP RiscV GPIO](https://github.com/espressif/esp-idf/tree/db9586c53f31a65abf0a51cac7072d7750f7b073/examples/system/ulp_riscv/gpio)\n- [STM32 Software I2C](https://github.com/PascalPolygon/stm32_bitbang_i2c)\n- [AIP31068 Datasheet](https://support.newhavendisplay.com/hc/en-us/article_attachments/4414498095511/AiP31068.pdf)\n\nNote: For [Cytron's Maker Feather AIOT S3](https://my.cytron.io/p-v-maker-feather-aiot-s3-simplifying-aiot-with-esp32?r=1) users using this SDK, please enable the GPIO11 first if you need to use the diagnostic LEDs on board!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnyh-workshop%2Fesp32s3-ulp_riscv_i2clcd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnyh-workshop%2Fesp32s3-ulp_riscv_i2clcd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnyh-workshop%2Fesp32s3-ulp_riscv_i2clcd/lists"}