-
-
Save adotagarwal/dac61f0eaa30a8903c9d88d0007214d7 to your computer and use it in GitHub Desktop.
esphome configuration for the TTGO T-Camera ESP32-WROVER-B
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# esphome configuration for the TTGO T-Camera ESP32-WROVER-B | |
# https://www.aliexpress.com/item/TTGO-T-Camera-ESP32-WROVER-B-PSRAM-Camera-Module-ESP32-WROVER-OV2640-Camera-Module-0-96/32966036489.html | |
# I use this 3D-printed case for the device: | |
# https://www.thingiverse.com/thing:3540059 | |
esphome: | |
name: woonkamer | |
platform: ESP32 | |
board: esp32dev | |
wifi: | |
ssid: "your_network" | |
password: "xxxxx" | |
# Enable logging | |
logger: | |
# Enable Home Assistant API | |
api: | |
password: 'xxxx' | |
# Password for over-the-air updating of ESPHome firmware | |
ota: | |
password: 'xxxx' | |
i2c: | |
sda: 21 | |
scl: 22 | |
# Comment out if you have a font file in place, otherwise it won't compile | |
# font: | |
# - file: "Roboto-Bold.ttf" | |
# id: roboto | |
# size: 14 | |
# | |
# display: | |
# - platform: ssd1306_i2c | |
# model: "SSD1306 128x64" | |
# rotation: 180 | |
# lambda: |- | |
# it.print(0, 10, id(roboto), "Hello World!"); | |
esp32_camera: | |
name: Camera | |
external_clock: | |
pin: 32 | |
frequency: 20MHz | |
i2c_pins: | |
sda: 13 | |
scl: 12 | |
data_pins: | |
- 5 | |
- 14 | |
- 4 | |
- 15 | |
- 18 | |
- 23 | |
- 36 | |
- 39 | |
vsync_pin: 27 | |
href_pin: 25 | |
pixel_clock_pin: 19 | |
resolution: 640x480 # Can be higher, I think, but this has a pretty good framerate | |
binary_sensor: | |
- platform: gpio | |
pin: 33 | |
name: "PIR Sensor" | |
device_class: motion | |
- platform: gpio | |
pin: 34 | |
name: "Button" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment