-
-
Notifications
You must be signed in to change notification settings - Fork 769
Added Seeed Studio WT32-SC01 #1182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,119 @@ | ||||||
| --- | ||||||
| title: Seeed Studio WT32-SC01 | ||||||
| date-published: 2025-08-12 | ||||||
| type: misc | ||||||
| standard: global | ||||||
| board: esp32 | ||||||
| difficulty: 2 | ||||||
| --- | ||||||
|
|
||||||
| https://www.seeedstudio.com/ESP32-Development-board-WT32-SC01-p-4735.html | ||||||
|
|
||||||
|  | ||||||
|  | ||||||
|
|
||||||
| ``` | ||||||
| esphome: | ||||||
| name: test | ||||||
|
||||||
|
|
||||||
| esp32: | ||||||
| board: esp-wrover-kit # ~ Seeed WT32-SC01 | ||||||
| framework: | ||||||
| type: esp-idf | ||||||
|
|
||||||
| psram: | ||||||
| mode: quad | ||||||
| speed: 80MHz | ||||||
|
|
||||||
| # Enable logging | ||||||
| logger: | ||||||
|
|
||||||
| # SPI bus for display | ||||||
| spi: | ||||||
| clk_pin: GPIO14 # TFT_SCLK | ||||||
| mosi_pin: GPIO13 # TFT_MOSI | ||||||
| miso_pin: GPIO12 # Optional, set if you need SPI read capability | ||||||
|
|
||||||
| # I2C bus for touch | ||||||
| i2c: | ||||||
| sda: GPIO18 # TOUCH_SDA | ||||||
| scl: GPIO19 # TOUCH_SCL | ||||||
| frequency: 400kHz # From original code | ||||||
|
|
||||||
| font: | ||||||
|
||||||
| - file: "gfonts://Roboto" # Using Google Fonts Roboto as an example | ||||||
| id: font20 # This is the ID you'll reference in the display | ||||||
| size: 20 | ||||||
|
|
||||||
| # Display configuration | ||||||
| display: | ||||||
| - platform: mipi_spi | ||||||
| model: ST7796 | ||||||
| id: display_screen | ||||||
| dimensions: | ||||||
| width: 480 | ||||||
| height: 320 | ||||||
| dc_pin: GPIO21 # TFT_DC | ||||||
| cs_pin: GPIO15 # TFT_CS | ||||||
| reset_pin: GPIO22 # TFT_RST | ||||||
| rotation: 90 # For landscape mode | ||||||
| invert_colors: false | ||||||
| spi_mode: "0" | ||||||
| auto_clear_enabled: False | ||||||
|
|
||||||
|
|
||||||
| # Touch configuration | ||||||
| touchscreen: | ||||||
| - platform: ft63x6 | ||||||
| id: display_touch | ||||||
| interrupt_pin: GPIO39 | ||||||
| display: display_screen | ||||||
| address: 0x38 | ||||||
| transform: | ||||||
| swap_xy: true | ||||||
| mirror_y: true | ||||||
| calibration: | ||||||
| x_min: 0 | ||||||
| x_max: 480 | ||||||
| y_min: 0 | ||||||
| y_max: 320 | ||||||
| on_touch: | ||||||
| - lambda: |- | ||||||
| ESP_LOGI("Touch", "Touch detected at x=%d, y=%d, x_raw=%d, y_raw=%d", touch.x, touch.y, touch.x_raw, touch.y_raw); | ||||||
| id(x_marker).set_points({ {touch.x, 0}, {touch.x, 320} }); | ||||||
| id(y_marker).set_points({ {0, touch.y}, {480, touch.y} }); | ||||||
|
|
||||||
|
|
||||||
| lvgl: | ||||||
|
||||||
| pages: | ||||||
| - id: debug_page | ||||||
| bg_color: 0x000000 | ||||||
| scrollbar_mode: "OFF" | ||||||
| widgets: | ||||||
| - line: | ||||||
| id: x_marker | ||||||
| points: | ||||||
| - 0, 0 | ||||||
| line_width: 1 | ||||||
| line_color: 0xFFFFFF | ||||||
| line_rounded: true | ||||||
| - line: | ||||||
| id: y_marker | ||||||
| points: | ||||||
| - 0, 0 | ||||||
| line_width: 1 | ||||||
| line_color: 0xFFFFFF | ||||||
| line_rounded: true | ||||||
|
|
||||||
| output: | ||||||
| - platform: ledc | ||||||
| pin: GPIO23 | ||||||
| id: display_backlight_pwm | ||||||
|
|
||||||
| light: | ||||||
| - platform: monochromatic | ||||||
| output: display_backlight_pwm | ||||||
| id: display_backlight | ||||||
| restore_mode: ALWAYS_ON | ||||||
| internal: True | ||||||
|
||||||
| internal: True | |
| internal: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea. Do it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The device documentation should include a proper description of the device features and capabilities, not just a bare URL. Consider adding a brief description above the purchase link.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea. Go to that link and create summary about this board.