C
add readme cht
YU CHIH CHANGdbd9905f1c09
diff --git a/README.md b/README.mdindex e69de29..8d7e227 100644--- a/README.md+++ b/README.md@@ -0,0 +1,224 @@++# ESP32 GT7 Dashboard++<p align="center">+ <img src="photos/001.jpg" width="900" alt="ESP32 GT7 Dashboard">+</p>++A standalone **Gran Turismo 7 dashboard** running entirely on an ESP32.++**No SimHub. No PC.**++Simply connect your ESP32 to the same Wi-Fi network as your PS5 and enjoy real-time telemetry directly from Gran Turismo 7.++ ┌──────────────┐+ │ PS5 │+ │ Gran Turismo │+ │ 7 │+ └──────┬───────┘+ │ UDP+ Wi-Fi │+ ▼+ ┌─────────────────┐+ │ ESP32 Dashboard │+ │ Auto Detect │+ └─────────────────┘+ │+ 2.8" TFT Display++---++## Features++- 🚗 Direct GT7 telemetry over Wi-Fi+- 📡 Automatic PS5 discovery+- 🔍 No IP address configuration required+- ⚡ No SimHub required+- 💻 No PC required after installation+- 📶 Built-in Wi-Fi configuration portal+- 🏁 Current, Last and Best lap times+- ⏱ Live Delta+- ⛽ Fuel consumption and remaining fuel estimation+- 🔄 Estimated laps remaining+- 🚦 RPM bar with configurable shift lights+- 🚨 ABS indicator+- 📊 Real-time telemetry display+- 🌙 Manual screen off+- 😴 Automatic sleep and automatic wake+- 💾 Wi-Fi credentials stored in flash memory+- 🎯 Designed specifically for Gran Turismo 7++---++## Supported Hardware++Currently supported:++- ESP32+- ESP32-2432S028 (2.8" ILI9341 Touch Display)++Additional ESP32 displays may be supported in future releases.++---++## Installation++### Web Installer (Recommended)++No development tools are required.++1. Connect your ESP32 to your computer using USB.+2. Open the Web Installer.+3. Click **Install**.+4. Wait for the installation to complete.+5. Disconnect the USB cable and power the device.++👉 **https://caa1211.github.io/esp32-gt7-dashboard/**++---++## Quick Start++### First Time Setup++When powered on for the first time (or after resetting Wi-Fi), the dashboard automatically starts Wi-Fi setup mode.++1. Connect your phone or computer to the Wi-Fi network:++```+GT7-DASH-SETUP+```++2. A configuration page should open automatically.++If it doesn't, open:++```+http://192.168.4.1+```++3. Select your home Wi-Fi network.+4. Enter the Wi-Fi password.+5. Click **Save**.+6. The dashboard will reboot automatically.+7. Launch **Gran Turismo 7**.++The dashboard will automatically discover your PS5 on the local network.++No IP address configuration is required.++<p align="center">+ <img src="photos/002.jpg" width="900" alt="ESP32 GT7 Dashboard">+</p>++---++## Controls++### Touch Screen++**Tap**++- Turn the display on or off.++**Press and Hold (3sec)**++- Clear the saved Wi-Fi configuration.+- Reboot into Wi-Fi setup mode.++<p align="center">+ <img src="photos/003.jpg" width="900" alt="ESP32 GT7 Dashboard">+</p>++---++## Sleep Mode++To reduce power consumption and extend display life:++- The display automatically enters sleep mode after several minutes without GT7 telemetry.+- It automatically wakes when GT7 telemetry is detected again.+- The display can also be turned off manually by tapping the screen.++---++## Screenshots++Coming soon.++---++## Roadmap++- [x] Direct GT7 telemetry+- [x] Automatic PS5 discovery+- [x] Wi-Fi configuration portal+- [x] Fuel prediction+- [x] Remaining laps estimation+- [x] Live Delta+- [x] ABS indicator+- [x] Automatic sleep mode+- [x] Manual screen off+- [ ] OTA firmware update+- [ ] Additional display support+- [ ] Custom themes+- [ ] Multiple dashboard layouts++---++## Building from Source++This project is built using:++- PlatformIO+- Arduino Framework+- ESP32++Clone the repository and build with PlatformIO.++```bash+git clone https://github.com/caa1211/esp32-gt7-dashboard.git+cd esp32-gt7-dashboard+pio run+```++---++## Contributing++Bug reports, feature requests and pull requests are welcome.++If you have ideas for new features or support for additional ESP32 displays, feel free to open an Issue.++---++## Open Source Credits++This project would not have been possible without the following open-source projects.++### SIMHUB ESP32 SUNTON Screen++https://github.com/1achy/https---github.com-1achy-SIMHUB-ESP32---SUNTON-screen++This project originally started as a fork of the SIMHUB ESP32 SUNTON Screen project.+It has since been substantially rewritten into a standalone GT7 dashboard with direct PS5 telemetry support and no longer depends on SimHub.++### gt7-udp++https://github.com/MacManley/gt7-udp++Used as a reference implementation for parsing Gran Turismo 7 UDP telemetry packets.++### WiFiManager++https://github.com/tzapu/WiFiManager++Provides the Wi-Fi configuration portal and captive portal functionality.++Many thanks to all of the authors and contributors who made these projects available to the community.++---++## License++This project is released under the MIT License.diff --git a/README.zh-TW.md b/README.zh-TW.mdnew file mode 100644index 0000000..302ebe4--- /dev/null+++ b/README.zh-TW.md@@ -0,0 +1,224 @@+# ESP32 GT7 Dashboard++一個專為 **Gran Turismo 7** 打造、完全運行於 **ESP32** 的獨立儀表板。++**不需要 SimHub • 不需要 PC • 自動搜尋 PS5**++<p align="center">+ <img src="photos/001.jpg" width="900" alt="ESP32 GT7 Dashboard">+</p>++只需將 ESP32 與 PS5 連接到同一個 Wi-Fi 網路,即可直接接收 Gran Turismo 7 的即時遙測資料。++```+ ┌──────────────┐+ │ PS5 │+ │ Gran Turismo │+ │ 7 │+ └──────┬───────┘+ │ UDP+ Wi-Fi │+ ▼+ ┌─────────────────┐+ │ ESP32 Dashboard │+ │ Auto Detect │+ └─────────────────┘+ │+ 2.8" TFT Display+```++---++## 功能特色++- 🚗 透過 Wi-Fi 直接接收 GT7 遙測資料+- 📡 自動搜尋並連線 PS5+- 🔍 不需要手動設定 PS5 IP 位址+- ⚡ 不需要 SimHub+- 💻 安裝完成後不需要電腦+- 📶 內建 Wi-Fi 設定頁面+- 🏁 目前圈速、上一圈、最佳圈+- ⏱ 即時 Delta(圈速差)+- ⛽ 油耗與剩餘油量預估+- 🔄 預估剩餘可行駛圈數+- 🚦 RPM 轉速條與換檔提示燈+- 🚨 ABS 指示燈+- 📊 即時賽車資訊顯示+- 🌙 手動熄屏+- 😴 自動休眠與自動喚醒+- 💾 自動儲存 Wi-Fi 設定+- 🎯 專為 Gran Turismo 7 設計++---++## 支援硬體++目前支援:++- ESP32+- ESP32-2432S028(2.8 吋 ILI9341 觸控螢幕)++未來將陸續支援更多 ESP32 顯示器。++---++## 安裝方式++### Web Installer(推薦)++不需要安裝任何開發工具。++1. 使用 USB 將 ESP32 連接到電腦。+2. 開啟 Web Installer。+3. 點擊 **Install**。+4. 等待安裝完成。+5. 拔除 USB 並重新上電。++👉 **https://caa1211.github.io/esp32-gt7-dashboard/**++---++## 快速開始++### 首次設定++第一次開機(或重設 Wi-Fi 後),裝置會自動進入 Wi-Fi 設定模式。++1. 使用手機或電腦連接下列 Wi-Fi:++```+GT7-DASH-SETUP+```++2. 設定頁面會自動開啟。++若沒有自動開啟,請手動瀏覽:++```+http://192.168.4.1+```++3. 選擇家中的 Wi-Fi。+4. 輸入 Wi-Fi 密碼。+5. 點擊 **Save**。+6. 裝置會自動重新啟動。+7. 開啟 **Gran Turismo 7**。++之後儀表板會自動搜尋並連線到同一個區域網路中的 PS5。++**不需要設定 IP 位址。**++<p align="center">+ <img src="photos/002.jpg" width="900" alt="ESP32 GT7 Dashboard">+</p>++---++## 操作方式++### 觸控螢幕++**點一下**++- 手動熄屏/開屏。++**長按(3 秒)**++- 清除已儲存的 Wi-Fi 設定。+- 重新進入 Wi-Fi 設定模式。++<p align="center">+ <img src="photos/003.jpg" width="900" alt="ESP32 GT7 Dashboard">+</p>++---++## 自動休眠++為了降低耗電並延長螢幕壽命:++- 長時間未收到 GT7 遙測資料時,螢幕會自動進入休眠。+- 收到 GT7 遙測資料後,會自動恢復顯示。+- 也可以透過點擊螢幕手動熄屏。++---++## 開發計畫++- [x] GT7 即時遙測+- [x] 自動搜尋 PS5+- [x] Wi-Fi 設定頁面+- [x] 油耗預估+- [x] 剩餘圈數預估+- [x] 即時 Delta+- [x] ABS 指示燈+- [x] 自動休眠+- [x] 手動熄屏+- [ ] OTA 韌體更新+- [ ] 支援更多顯示器+- [ ] 自訂主題+- [ ] 多種儀表版面++---++## 從原始碼編譯++本專案使用:++- PlatformIO+- Arduino Framework+- ESP32++下載原始碼後使用 PlatformIO 編譯:++```bash+git clone https://github.com/caa1211/esp32-gt7-dashboard.git+cd esp32-gt7-dashboard+pio run+```++---++## 貢獻++歡迎提出 Bug 回報、功能建議或 Pull Request。++如果你有新的功能想法,或希望支援其他 ESP32 顯示器,也歡迎提出 Issue。++---++## 開源專案致謝++本專案參考並使用了許多優秀的開源專案,沒有這些專案就無法完成本作品。++### SIMHUB ESP32 SUNTON Screen++https://github.com/1achy/https---github.com-1achy-SIMHUB-ESP32---SUNTON-screen++本專案最初由此專案 Fork 而來,之後已大幅改寫,發展為可直接接收 GT7 遙測資料、與 PS5 通訊,且完全不依賴 SimHub 的獨立儀表板。++### gt7-udp++https://github.com/MacManley/gt7-udp++提供 GT7 UDP 遙測封包解析的重要參考。++### WiFiManager++https://github.com/tzapu/WiFiManager++提供 Wi-Fi 設定頁面與 Captive Portal 功能。++### ESP32 CYD 3D 列印外殼++MakerWorld 上提供了一款專為 **ESP32-2432S028(2.8 吋 CYD)** 設計的輕薄外殼。++https://makerworld.com/zh/models/2171220-slim-minimal-case-for-esp32-cyd-2-4-2-8#profileId-2354976++感謝所有作者與貢獻者對開源社群的付出。++---++## 授權++本專案採用 **MIT License**。\ No newline at end of filediff --git a/photos/001.jpg b/photos/001.jpgnew file mode 100644index 0000000..58eee9dBinary files /dev/null and b/photos/001.jpg differdiff --git a/photos/002.jpg b/photos/002.jpgnew file mode 100644index 0000000..7c46644Binary files /dev/null and b/photos/002.jpg differdiff --git a/photos/003.jpg b/photos/003.jpgnew file mode 100644index 0000000..60ab43eBinary files /dev/null and b/photos/003.jpg differ