Skip to content

Instantly share code, notes, and snippets.

@jcpowermac
Created June 14, 2024 17:05
Show Gist options
  • Save jcpowermac/6ed7ca1c438e1e22411f1a1750f166a4 to your computer and use it in GitHub Desktop.
Save jcpowermac/6ed7ca1c438e1e22411f1a1750f166a4 to your computer and use it in GitHub Desktop.
T-CameraPlus-S3 esphome config
esphome:
name: newcamera
friendly_name: newcamera
esp32:
board: esp32-s3-devkitc-1
framework:
type: arduino
# Enable logging
logger:
ota:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Newcamera Fallback Hotspot"
password: "VKQl6C17qtQW"
captive_portal:
output:
- platform: ledc
pin: GPIO46
id: screen_led
light:
- platform: monochromatic
output: screen_led
id: backlight
name: Backlight
restore_mode: ALWAYS_ON
spi:
clk_pin: GPIO36
mosi_pin: GPIO35
miso_pin: GPIO37
font:
- file: "gfonts://Roboto"
id: testfont
size: 20
color:
- id: my_red
red: 100%
green: 3%
blue: 5%
display:
- platform: ili9xxx
model: ST7789V
dc_pin: GPIO45
cs_pin: GPIO34
reset_pin: GPIO33
invert_colors: true
dimensions:
width: 240
height: 240
lambda: |-
it.print(0, 10, id(testfont), "Hello World!");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment