{"id":14963364,"url":"https://github.com/martinberlin/h-cinread-it8951","last_synced_at":"2025-10-25T01:30:28.815Z","repository":{"id":46510684,"uuid":"497902567","full_name":"martinberlin/H-cinread-it8951","owner":"martinberlin","description":"CINWRITE pcb is the Hardware repository for the HAT that provides GoodDisplay DEXA-C097 controller a fast way to talk SPI and 5V boost converter. The goal of this HAT is to provide WiFi, Bluetooth, RTC and extra I2C connector for sensors","archived":false,"fork":false,"pushed_at":"2023-02-27T12:22:11.000Z","size":8663,"stargazers_count":11,"open_issues_count":5,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-31T04:51:26.333Z","etag":null,"topics":["ds3231","epaper","esp32s3","pcb-design","schematics"],"latest_commit_sha":null,"homepage":"https://www.tindie.com/stores/fasani","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/martinberlin.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":"2022-05-30T10:55:42.000Z","updated_at":"2024-11-24T07:48:31.000Z","dependencies_parsed_at":"2024-09-13T19:12:07.517Z","dependency_job_id":"85d56cd5-042b-42b2-a83d-bcd89fdd4c5f","html_url":"https://github.com/martinberlin/H-cinread-it8951","commit_stats":{"total_commits":64,"total_committers":1,"mean_commits":64.0,"dds":0.0,"last_synced_commit":"72276ee5f3683cf1ec15841ed1173715d128d65c"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinberlin%2FH-cinread-it8951","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinberlin%2FH-cinread-it8951/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinberlin%2FH-cinread-it8951/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinberlin%2FH-cinread-it8951/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/martinberlin","download_url":"https://codeload.github.com/martinberlin/H-cinread-it8951/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238053514,"owners_count":19408699,"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":["ds3231","epaper","esp32s3","pcb-design","schematics"],"created_at":"2024-09-24T13:31:24.518Z","updated_at":"2025-10-25T01:30:28.125Z","avatar_url":"https://github.com/martinberlin.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# DEXA-C097 ESP32S3 HAT\n\nHardware repository for Cinwrite PCB, a HAT for 9.7 inch parallel epaper display controller **DEXA-C097** sold by Good display which uses IT8951 as epaper timings controller and display engine.\n\nThis hardware is open source and you can use it commercially or modify it for your own purpouses according to the terms specified in the [License](https://github.com/martinberlin/H-cinread-it8951/blob/main/LICENSE). The only restriction is that it should be not mass produced and not sold without the permission of the Licensor.\n\n![License SVG](/Schematic/oshw_license.svg)\n\nLicensed by:\n\n![Fasani Corporation Logo](/Schematic/Fasani_logo.png)\n\nWe only ask to be notified if you make a product based on this so we can showcase it as a success story. Collaborations and corrections on any terms including lowering consumption are welcome, please make an Issue, or feel free to contact me to the email in my github profile.\n\n## OSHWA Certification UID [ES000029](https://certification.oshwa.org/es000029.html)\n\n**The goal of this HAT is to provide:**\n\n- WiFi\n- BLE\n- DS3231 real time clock\n- Fast 40Mhz SPI\n- 3V to 5V step-up\n- 3.7v LiPo battery charger\n\nYou can get the produced and tested [Cinwrite board in Tindie](https://www.tindie.com/products/fasani/cinwrite-dexa-c097-hat-for-parallel-epapers) and at the same time you collaborate with our research.\n\n## Where to get this\n\nEven if you plan to send a batch for fabrication, we strongly recommend to get one first, so you collaborate with my work. But more importantly you can test the hardware to evaluate if it suits your project.\nI don't have big quantities at the moment but you can get one at:\n\n- [Lectronz FASANI store](https://lectronz.com/stores/fasani)\n- https://www.tindie.com/stores/fasani\n\nBoth have similar prices. We can ship to all European countries and also to China mainland. Please check the hardware notices and also the DEXA-CO97 board from GOOD-DISPLAY if you want to drive a 1200x825 9.7\" epaper display.\n\n## Hardware notices\n\nCinread early revisions that Goodisplay is selling need a small very tiny bridge in the resistances at the side of SPI. Also the Silkscreen has an error and SI is swapped by CLK.\nPlease refer to the following image to the correct SPI labels:\n\n![Corrected labels](components/assets/cinread-correct-IO.jpg)\n\nImportant: Please mind that the Cinread PCB has the SPI labels wrong. And that it needs a 0 Ω 0402 in the position marked as yellow. 6th counting from below at the SO Slave Output pin is please check the image carefully and place it in the right side. This will enable SPI.\n\nUPDATE: On last point about the 0 Ω resistance just check that is there. But Good-Display is selling this with the hardware modification done so SPI should be running as it should.\n\n## Ideas that could be added to the schematic\n\nProvided by colleagues [Larry Bank](https://github.com/bitbank2) and [Lovyan03](https://github.com/lovyan03)\n\n1) Increase the pull-up resistors from 2.2 to 4.7K. Safer if the external I2C device already has its own pullups. DONE\n2) Add a voltage divider to measure the battery voltage. Something with one end connected to another GPIO to allow the current to be shut off completely when not needed. DONE\n3) You might want to get a connector to connect a JTAG debugger. DONE\n\n## ESP32-S3 Pin for JTAG\n\nReferenced from this page in [Espressif documentation](https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/api-guides/jtag-debugging/configure-builtin-jtag.html)\n\n\t\n```\nGPIO19 D-\n\nGPIO20 D+\n\n5V -\u003e V_BUS\n```\n\nThis second USB will also enable DFU mode to flash the Microcontroller.\n\n### Connection IOs used for preliminary tests\n\nOn my first tests to implement this using an Espressif ESP32-S3-WROOM-1U-N8R2 module with 2MB PSRAM I used the following GPIOs:\n\n```\nCONFIG_EINK_SPI_MOSI=11\nCONFIG_EINK_SPI_MISO=12\nCONFIG_EINK_SPI_CLK=13\nCONFIG_EINK_SPI_CS=10\nCONFIG_EINK_BUSY=3\n```\n\nNote: Reset PIN is not needed and it's also not in [Cinread PCB sold by Good display](https://www.good-display.com/product/425.html).\n\nMISO pin should be connected and spi_3wire parameter for Lovyan GFX set to false, since it is in fact 4 wire SPI (CLK, MOSI, MISO)\n\nThis is using at the testing breadboard Lovyan GFX in their develop branch, since it reads the [mem_address to write the image from SPI](https://github.com/lovyan03/LovyanGFX/issues/242), hence using the master branch of the library it will not work or it will write the image incorrectly on the 9.7\" display.\n\n![PCB front](/components/assets/IT8951-HAT-Front.jpg)\n![PCB back](/components/assets/IT8951-HAT-Back.jpg)\n\n### Hardware requirements\n\n- [DEXA-C097](https://www.good-display.com/product/425.html) PCB sold by Good-Display\n- One ED097OC* or **ED097TC2 parallel epaper**, sold by Aliexpress, check more [9.7\" details in EPDiy project](https://github.com/vroland/epdiy#join-the-discussion) supported epapers table\n- This board that is still on production.\n\nIn case you want to test it earlier, please get a ESP32-S3-WROOM-1U-N8R2 and connect the 4 required SPI cables, plus 5V and GND making your own PCB.\n\n### Firmware examples\n\nMeet [epaper weather station](https://github.com/martinberlin/epaper-weather-station) first project featuring this hardware and our test PCB.\n![epaper-weather-station-blurred](https://user-images.githubusercontent.com/2692928/174765248-a73e6c50-6e04-450f-8496-265ebc25c480.jpg)\n\n[Schematics](/Schematic/IT8951-S3-HAT-Schematic.pdf)\n\n### Other hardware projects\n\n- [Bistable-smart-switch](https://github.com/martinberlin/bistable-smart-switch) smart switch built with ESP32C3 and epaper display\n- [SPI Adapters](https://github.com/martinberlin/H-spi-adapters) various SPI adapters and related PCBs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinberlin%2Fh-cinread-it8951","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartinberlin%2Fh-cinread-it8951","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinberlin%2Fh-cinread-it8951/lists"}