Add Tab5 touch dashboard project

This commit is contained in:
2026-08-01 18:29:57 +00:00
commit 6c5ec3cbb4
3 changed files with 59 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
.pio/
.vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json
.vscode/launch.json
.vscode/ipch/
+38
View File
@@ -0,0 +1,38 @@
# M5Stack Tab5 Touch Dashboard
PlatformIO starter for the M5Stack Tab5. It demonstrates the 1280x720 display,
touch buttons, a brightness slider, touch coordinates, memory, battery, Wi-Fi,
and accelerometer status.
## Build and upload
```powershell
pio run
pio run --target upload
pio device monitor --baud 115200
```
If needed, append the port: `--upload-port COM29`.
## Controls
- **RED**, **GREEN**, and **BLUE** change the central panel.
- **RESET** restores the default and clears the counter.
- Drag the bottom slider to change brightness.
- Touching the colour panel draws a white marker.
Current M5Unified and M5GFX versions support the different display/touch
controller variants shipped in Tab5 units.
## Next steps
1. Connect Wi-Fi and show the IP address.
2. Add an SD-card browser.
3. Add camera and audio tests.
4. Recreate the dashboard with LVGL widgets.
## References
- [Tab5 documentation](https://docs.m5stack.com/en/core/Tab5)
- [M5Unified](https://github.com/M5Stack/M5Unified)
- [M5GFX](https://github.com/M5Stack/M5GFX)
+16
View File
@@ -0,0 +1,16 @@
[env:tab5]
platform = https://github.com/pioarduino/platform-espressif32.git#54.03.21
board = esp32-p4-evboard
framework = arduino
monitor_speed = 115200
upload_speed = 1500000
board_build.mcu = esp32p4
board_build.flash_mode = qio
build_flags =
-DBOARD_HAS_PSRAM
-DCORE_DEBUG_LEVEL=3
-DARDUINO_USB_CDC_ON_BOOT=1
-DARDUINO_USB_MODE=1
lib_deps =
https://github.com/M5Stack/M5Unified.git
https://github.com/M5Stack/M5GFX.git