{"id":26406820,"url":"https://github.com/asukiaaa/raspi_tft_display_camera","last_synced_at":"2026-05-19T09:08:07.655Z","repository":{"id":87452451,"uuid":"125618377","full_name":"asukiaaa/raspi_tft_display_camera","owner":"asukiaaa","description":null,"archived":false,"fork":false,"pushed_at":"2018-03-20T14:13:22.000Z","size":106,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T17:32:22.623Z","etag":null,"topics":["fbtft","lcd-display","raspberry-pi"],"latest_commit_sha":null,"homepage":null,"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/asukiaaa.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}},"created_at":"2018-03-17T10:28:34.000Z","updated_at":"2021-02-24T11:01:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"3f8b6ae8-393d-4b97-8c38-0a28a02c26d8","html_url":"https://github.com/asukiaaa/raspi_tft_display_camera","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/asukiaaa/raspi_tft_display_camera","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asukiaaa%2Fraspi_tft_display_camera","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asukiaaa%2Fraspi_tft_display_camera/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asukiaaa%2Fraspi_tft_display_camera/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asukiaaa%2Fraspi_tft_display_camera/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asukiaaa","download_url":"https://codeload.github.com/asukiaaa/raspi_tft_display_camera/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asukiaaa%2Fraspi_tft_display_camera/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33209539,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-19T07:54:09.561Z","status":"ssl_error","status_checked_at":"2026-05-19T07:54:08.508Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["fbtft","lcd-display","raspberry-pi"],"created_at":"2025-03-17T17:28:15.981Z","updated_at":"2026-05-19T09:08:07.650Z","avatar_url":"https://github.com/asukiaaa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# raspi_tft_display_camera\n![image](images/pi_lcd_camera_viewer.jpg)\n\n# Components\n- Raspberry pi (Tested with using zero WH)\n- Raspberry pi camera (Tested with using that for zero)\n- [0.96\" 160x80 Color TFT Display](https://www.adafruit.com/product/3533)\n\n# Wiring\n\nRaspberry pi | LCD\n--- | ---\n5V  | VCC\nGND | GND\nGPIO3 | TFTCS\nGPIO27 | DC\nGPIO22 | RST\nGPIO10 (SPI0 MOSI) | MOSI\nGPIO9  (SPI0 MISO) | MISO\nGPIO11 (SPI0 SCLK) | SCLK\n\n# Setup\n## Activate SPI and Camera\n```\nsudo raspi-config\n```\n\n1. Activate `Interfaces` -\u003e `SPI`\n2. Activate 'Interfaces' -\u003e `Camera`\n3. reboot\n\n## Install dependencies\n```\nsudo apt install python3-pygame python3-picamera\n```\n\n# Usage\n## Start TFT display\n```\nsudo modprobe fbtft_device name=adafruit18 gpios=reset:22,dc:27,cs:3 rotate=90\n```\n\nStop fbtft_device\n(But sometime it is not enough. I suggest rebooting to reset fbtft.)\n```\nsudo modprobe -r fbtft_device\n```\n\n## Show hello world\n```\nsudo python3 hello.py\n```\n\n## Show polygon and lines\n```\nsudo python3 drawing.py\n```\n\n## Show camera image\n```\nsudo python3 show_camera_image.py\n```\n\n## Auto start\nAdd commands to `/etc/rc.local`.\n\n```\nmodprobe fbtft_device name=adafruit18 gpios=reset:22,dc:27,cs:3 rotate=90\npython3 [path for this project]/[program name] \u0026\n```\n\n# License\nMIT\n\n# References\n- [Raspberry Piに0.96インチのLCDを付けて、カメラの画像を表示してみた](http://asukiaaa.blogspot.jp/2018/03/raspberry-pi096lcd.html)\n- [Raspberry Pi 2でカラーグラフィック液晶の制御](https://sakura87.net/archives/2232)\n- [サインスマート 1.8″ TFT カラー LCD用のグラフィックライブラリの作成](https://qiita.com/TomoSoft/items/15430603cc8294130d8d)\n- [adafruit/Adafruit-ST7735-Library](https://github.com/adafruit/Adafruit-ST7735-Library)\n- [Wiring \u0026 Test | Adafruit Mini TFT - 0.96\" 160x80](https://learn.adafruit.com/adafruit-mini-tft-0-dot-96-inch-180x60-breakout/wiring-test)\n- [ILI9341ベースのQVGA/SPI TFT液晶モジュールを試してみる](https://qiita.com/toyoshim/items/84c026e97f6be200cb19)\n- [Sensor Modes | Picamera Hardware](https://picamera.readthedocs.io/en/release-1.13/fov.html#sensor-modes)\n- [adafruit-pi-cam/cam.py](https://github.com/adafruit/adafruit-pi-cam/blob/master/cam.py)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasukiaaa%2Fraspi_tft_display_camera","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasukiaaa%2Fraspi_tft_display_camera","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasukiaaa%2Fraspi_tft_display_camera/lists"}