The Unit CamS3-5MP ESPHome integration includes PSRAM, a status LED, and the camera component.
| Item | Information |
|---|---|
| Product | Unit CamS3-5MP |
| SKU | U174-B |
| Main Functions | 5 MP image capture and status LED control |
| Interfaces | I2C, camera parallel interface, GPIO |
| ESPHome Components | psram, switch.gpio, esp32_camera |
| ESPHome Version | / |
The camera frame buffer uses the official ESPHome PSRAM component:
psram:
mode: octal
speed: 80MHz The status LED uses the official ESPHome GPIO Switch component. GPIO14 is active low, and the LED is enabled by default after startup.
switch:
- platform: gpio
name: "Active LED"
pin:
number: GPIO14
inverted: true
restore_mode: ALWAYS_ON The PY260 uses the official ESPHome ESP32 Camera component:
i2c:
- id: camera_i2c
sda: GPIO17
scl: GPIO41
scan: true
esp32_camera:
name: "PY260 camera"
external_clock:
pin: GPIO11
frequency: 20MHz
i2c_id: camera_i2c
data_pins: [GPIO6, GPIO15, GPIO16, GPIO7, GPIO5, GPIO10, GPIO4, GPIO13]
vsync_pin: GPIO42
href_pin: GPIO18
pixel_clock_pin: GPIO12
reset_pin: GPIO21
resolution: 320x240
jpeg_quality: 12 See unit-cams3-5mp.yaml for the complete configuration. It includes the network, API, PSRAM, status LED, and camera settings.
Home Assistant during device setup:
After the device is added, the camera entity is available on the device page and in the Dashboard: