Skip to content
Get started

Texas Instruments TPS65185 E-Paper Power Supply

The tps65185 component controls the Texas Instruments TPS65185, which makes the source driver, gate driver and VCOM supplies for parallel e-paper panels without a controller chip, such as the ED047TC1 on the LilyGo T5 E-Paper S3 Pro (datasheet). It is set up over the I²C bus and switched with three control pins.

The component does nothing on its own: a display such as the epaper_parallel display asks it to turn the panel supplies on for each update and off again afterwards. Between updates the chip sleeps.

# Example configuration entry
tps65185:
id: epd_pmic
wakeup_pin: GPIOXX
pwrup_pin: GPIOXX
vcom_ctrl_pin: GPIOXX
vcom: -1.56V

The control pins can be on an I/O expander. On the LilyGo T5 E-Paper S3 Pro they are on its PCA9535, which is set up separately with the PCA9554 component (device: PCA9535, here with the ID io_expander):

tps65185:
id: epd_pmic
wakeup_pin:
pca9554: io_expander
number: 13
pwrup_pin:
pca9554: io_expander
number: 11
vcom_ctrl_pin:
pca9554: io_expander
number: 12
power_good_pin:
pca9554: io_expander
number: 14
vcom: -1.56V
  • id (Optional, ID): Manually specify the ID used to reference this component from a display.
  • wakeup_pin (Required, Pin Schema): The pin connected to the chip’s WAKEUP input.
  • pwrup_pin (Required, Pin Schema): The pin connected to the chip’s PWRUP input.
  • vcom_ctrl_pin (Required, Pin Schema): The pin connected to the chip’s VCOM_CTRL input.
  • power_good_pin (Optional, Pin Schema): The pin connected to the chip’s PWR_GOOD output. Without it, the chip’s power good register is read instead.
  • vcom (Required, voltage): The VCOM voltage of the panel, between 0V and 5.11V in steps of 10 mV. The output is always negative, so -1.56V and 1.56V set the same value. Each panel has its own VCOM value, often printed on its flex cable; a wrong value gives poor gray levels and can damage the panel over time.
  • address (Optional, int): The I²C address of the chip. Defaults to 0x68.
  • i2c_id (Optional, ID): Manually specify the ID of the I²C bus.

If the panel supplies do not all come up within 500 ms, the component logs the chip’s status and fault registers, turns the supplies off and sets a warning.

The tps65185 sensor platform reads the panel temperature from the thermistor connected to the chip. If the chip is asleep when a reading is due, it is woken briefly.

sensor:
- platform: tps65185
name: "Panel temperature"
  • tps65185_id (Optional, ID): The ID of the tps65185 component.
  • update_interval (Optional, Time): How often to read the temperature. Defaults to 60s.
  • All other options from Sensor.