{"id":20738490,"url":"https://github.com/led-mirage/raspipicow-rssdisplay","last_synced_at":"2026-07-16T02:31:55.406Z","repository":{"id":181366294,"uuid":"666650694","full_name":"led-mirage/RaspiPicoW-RSSDisplay","owner":"led-mirage","description":"RSS Display for Raspberry Pi Pico W. ","archived":false,"fork":false,"pushed_at":"2023-07-23T06:13:21.000Z","size":21,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-29T00:52:55.422Z","etag":null,"topics":["raspberry-pi-pico-w","rss","ssd1306"],"latest_commit_sha":null,"homepage":"","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/led-mirage.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-07-15T05:44:41.000Z","updated_at":"2025-08-24T02:10:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"ecea1c49-588d-4e04-a637-b579b61582eb","html_url":"https://github.com/led-mirage/RaspiPicoW-RSSDisplay","commit_stats":null,"previous_names":["led-mirage/raspipicow-rssdisplay"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/led-mirage/RaspiPicoW-RSSDisplay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/led-mirage%2FRaspiPicoW-RSSDisplay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/led-mirage%2FRaspiPicoW-RSSDisplay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/led-mirage%2FRaspiPicoW-RSSDisplay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/led-mirage%2FRaspiPicoW-RSSDisplay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/led-mirage","download_url":"https://codeload.github.com/led-mirage/RaspiPicoW-RSSDisplay/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/led-mirage%2FRaspiPicoW-RSSDisplay/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35528482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-16T02:00:06.687Z","response_time":83,"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":["raspberry-pi-pico-w","rss","ssd1306"],"created_at":"2024-11-17T06:18:40.030Z","updated_at":"2026-07-16T02:31:55.386Z","avatar_url":"https://github.com/led-mirage.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raspi Pico W RSS Display\n\nRaspberry Pi Pico WでRSSサイトにアクセスし、記事のタイトルと概要をディスプレイに表示するプログラムです。\n\nThis program is designed to sequentially display the titles and summaries of articles from an RSS website using Raspberry Pi Pico W and an OLED display.\n\n## 機能概要\n\n- プログラム内で指定したRSSサイトにアクセスし、タイトルと記事の概要を順次表示します\n- タクトスイッチを押すとフォントサイズが切り替わります(3段階)\n\n## 使用パーツ\n\n- Raspberry Pi Pico WH … 1,518円（税込）\n- 有機ELディスプレイ SSD1306 … 580円（税込）\n- タクトスイッチ … 30円（税込）\n- ブレッドボード … 449円（税込）\n- 配線用のワイヤー\n\n合計：2,577円（税込）\n\n## 配線図\n\n\u003cimg src=\"https://github.com/led-mirage/RaspiPicoW-RSSDisplay/assets/139528700/b0e6df4f-4e0d-4a36-9acb-897446c70daf\" alt=\"配線図\" width=\"500\"\u003e\n\n## 実行画面\n\nhttps://github.com/led-mirage/RaspiPicoW-RSSDisplay/assets/139528700/15349fb8-4f12-49a9-a633-08aec476a31c\n\n## 開発環境\n\n- Thonny 4.0.2\n- Windows 10 / 11\n\n## 実行環境\n\n- Raspberry Pi Pico\n- MicroPython v1.20.0\n\n## インストール\n\nPCとRaspberry Pi Pico Wを接続して、以下のファイルをPicoにコピーしてください。Thonnyを使うと簡単です。\n\n```\n  main.py [メインプログラム]\n  ssd1306.py [ssd1306用ドライバ]\n  ssd1306_mfont.py [ssd1306用ドライバ拡張]\n  mfont [フォントライブラリ（外部ライブラリ）]\n    │  mfont.py [フォントドライバモジュール]\n    │  tma_jp_utl.py [フォントモジュール用サブルーチン]\n    │  __init__.py [フォントドライバモジュール用]\n    └─ fonts [フォントファイル]\n            u_12x12.fnt [東雲フォント(12ドット)]\n            u_14x14.fnt [東雲フォント(14ドット)]\n            u_16x16.fnt [東雲フォント(16ドット)]\n```\n\n※mfontフォルダ以下はTamakichiさん作成のライブラリです。  \n以下のリンクから別途ダウンロードしてください。  \nhttps://github.com/Tamakichi/pico_MicroPython_Multiifont  \nfontsフォルダのフォントは、オリジナルのフォルダの中から12、14、16ドットフォントを抜粋してインストールします。\n\n## WiFiアクセスポイントの設定\n\nmain.pyの先頭部分にある以下の設定をお使いの環境に合わせて書き換えてください。アクセスポイントを複数記載してある場合は、上から順次接続を試みます。\n\n```py\n# WiFiアクセスポイント\nWIFI_ACCESS_POINTS = [\n    {\"ssid\": \"ssid_A\", \"password\": \"pass_A\"},\n    {\"ssid\": \"ssid_B\", \"password\": \"pass_B\"},\n    ]\n```\n\n## RSSサイトの設定\n\nmain.pyの先頭部分にある以下の設定を、閲覧したいRSSサイトに合わせて編集してください。\n\n```py\n# RSSサイト\nRSS_SITES = [\n    {\"name\": \"NHK主要ニュース\", \"url\": \"https://www.nhk.or.jp/rss/news/cat0.xml\"},\n    {\"name\": \"CNET Japan\", \"url\": \"http://feeds.japan.cnet.com/rss/cnet/all.rdf\"},\n    {\"name\": \"GIGAZINE\", \"url\": \"https://gigazine.net/news/rss_2.0/\"},\n    {\"name\": \"ITMedia 科学\", \"url\": \"https://rss.itmedia.co.jp/rss/2.0/news_technology.xml\"},\n    {\"name\": \"ITMedia セキュリティ\", \"url\": \"https://rss.itmedia.co.jp/rss/2.0/news_security.xml\"},\n    {\"name\": \"ITMedia 国内\", \"url\": \"https://rss.itmedia.co.jp/rss/2.0/news_domestic.xml\"},\n    ]\n```\n\n## 実行\n\n電源を入れると自動的に実行されます。\n\n## 外部ライブラリ\n\nこのプログラムは以下の外部ライブラリを使用しています。これらの外部ライブラリのライセンスに関してはそれぞれのプロジェクトをご参照ください。\n\n- ssd1306.py  \n  [micropython-ssd1306](https://github.com/stlehmann/micropython-ssd1306)\n- mfontフォルダ  \n  [pico_MicroPython_Multiifont](https://github.com/Tamakichi/pico_MicroPython_Multiifont)\n\n## プログラムの留意点\n\nRSSサイトにアクセスする際、取得するデータが大きすぎるとメモリ不足でエラーになる場合があります。その場合、以下の例外処理によって端末がリセットされ、プログラムが最初から再実行されます。\n\n```py\ntry:\n    main()\nexcept Exception as e:\n    print(e)\n    machine.reset()\n```\n\n## 制限\n\nRSSサイトから配信されるXMLが適度に改行されていないと、正常に動作しません。ライブラリを使用してXMLをパースできれば問題ないのですが、Picoのメインメモリが足りずエラーになってしまう場合があるので、このプログラムでは独自のパースロジックを使用しています。この制限はこの独自のパースロジックに由来するものです。例えばCNNが配信しているRSSデータは、このプログラムでは正常にパース出来ません。これはCNNのデータに問題があるわけではなく、単にこのプログラムの制限事項です。\n\n## バージョン履歴\n\n### 1.0 (2023/07/15)\n- ファーストリリース\n\n### 1.1 (2023/07/23)\n- RSSの配信日を表示するように変更\n- 起動時にアプリ名を表示するように変更\n- Readmeに制限事項を追加\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fled-mirage%2Fraspipicow-rssdisplay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fled-mirage%2Fraspipicow-rssdisplay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fled-mirage%2Fraspipicow-rssdisplay/lists"}