New boards Wishlist

BigTreeTech Panda Touch

bhammer-legionSuggested this wish Β·

Board or product name and model

PandaTouch (ESP32-S3)

Link to the product listing or datasheet

github.comhttps://github.com/bigtreetech/PandaTouch_IDF/blob/master/docs/pinout.md

Display controller and resolution, if known

MIPI RGB

Touch controller, if known

GT911

Do you own this board and can test it?

Yes, I have it and can test

Anything else

espHome BTT Panda Touch.yml

Originally shared on GitHubOriginal authors and dates are preserved.

View original

Hardware testing

We often do not have this board ourselves. Community testing helps establish what actually works. A successful report is evidence for the maintainer to review, not an automatic compatibility claim.

1 owner has volunteered to test.

Sign in to volunteer

Discussion 2

Add a comment
yellowicz

Β· Edited

Add BTT Panda Touch (5 inch, 800 x 480) board

What this adds

  • packages/boards/pandatouch.yaml: the board file, which holds only packages: and substitutions: (the glass, the grid, the features it includes).
  • packages/hardware/pandatouch.yaml: the board's own hardware (ESP32-S3, 5" 800 x 480 RGB panel, GT911, PWM backlight on GPIO21, 16 MB flash / 8 MB octal PSRAM). It includes hardware/esp32s3-rgb.yaml like the Guition and has no expander, so brightness, standby and night mode work. It is a hardware file and not a part because test_board_declarations lets a new board file hold no components, and there are no parts for a panel or a touch yet; it follows hardware/waveshare-esp32s3-43.yaml. Say if you would like it somewhere else.
  • packages/pandatouch.yaml, checkout/pandatouch.yaml, the boards.yaml entry (status experimental), screen_manager/app/boards.json, the override fixture and docs/PANDATOUCH.md.
  • Everything tools/check.sh asked for: tools/i18n.py LINT_KEEP, the issue template, the board lists in three tests, and the final full stop of DESCRIPTION in claude_skill.py (see below).

Where the hardware facts come from

Pins and panel timings are BTT's (bigtreetech/PandaTouch_IDF: pandatouch_board.h, pandatouch_display.c, pandatouch_touch.c, sdkconfig.defaults). They agree with the ESPHome configuration in the forum thread linked in the wish. I compared pins one by one.

Tried on the glass (one Panda Touch, lying down)

Picture, touch, page swipes from the glass edge, adding and editing tiles, brightness from 5 to 100 %, standby and night brightness down to 0 (the backlight switches off), wake from standby, reboot, and several days of running with a power cut in between. Heap minimum free stayed above 44 KB with four kept pages.

Not tried

Standing up, camera pictures, audio/other extras, a second unit.

Things to look at in review

  • Pixel clock 16 MHz instead of BTT's 23 MHz (BTT states 14 MHz as the minimum; the Waveshare 4.3 and 5 run 16 MHz on the same chip and PSRAM speed). Once, after the screen had probably been without power for a while, it flickered through flat colours (black, white, red, green, blue) through cold starts, restarts and wake. It was gone after flashing again and did not return in the days since. I did not find the cause. If you'd rather start at 23 MHz, I can test that.
  • min_power: 0.005: the backlight driver starts from dark only at about 0.5 % duty (it keeps shining down to 0.1 % once lit), so a lower floor can leave the screen dark when it wakes onto the lowest brightness. It is the same kind of start threshold as GitHub #337 on the Guition; here the floor is simply set above it.
  • GT911 without interrupt_pin (polled every 20 ms, like the Guition). Page swipes were only tried without it.
  • Load warnings on firmware 0.60.0: every minute or two the Pressure text sensor says "own camera 1/2, sensing 1/2, background 1/2 (the main loop held up)" for a few seconds and goes back to "normal", and ui_refresh takes 70 to 90 ms at idle (the clock saver), against the 50 ms the log warns at. The screen works normally meanwhile. I don't know whether other boards show the same, or what the cause is on this one.
  • LVGL_BUFFER_SIZE: 12% and no snapshot.yaml, as on the Waveshare 5 (same glass).
  • claude_skill.py: with BTT in the list the skill description is 201 characters (the limit is 200; dev was at 196), so I dropped its final full stop. That leaves no headroom, so the next maker a board brings will hit the limit again. Say if you want another fix.

Checks

Rebased on dev at the time of the PR.

tools/check.sh passes (Python 1637 tests, C++ 54/54, packages, board shapes, entries, issue template, icons, translations) except the editor step, because npm is not installed on the machine I ran it on.

The board is in a pull request to dev: https://github.com/MaxGramser/homeassistant_espscreen/pull/404

Add your thoughts, a screenshot or a useful link.

Markdown & basic HTML
Paste or drop images Β· URLs on their own line become previews0 / 10,000
Create your account to join in

We need a verified email address to reach you about your contribution. Your address stays private.

Continue with GitHub

Your draft stays in this tab. Return here after verification.