I have an ili9341 screen attached to an ESP32 which works fine with no other sensors connected.
But as soon as I connect the MHZ19c the ili9341 screen flickers (dims a little) each time the co2 flashes/updates.
This is how I connected the co2 sensor:
uart:
rx_pin: GPIO3
tx_pin: GPIO1
baud_rate: 9600
sensor:
- platform: mhz19
id: master_bedroom_mhz19e
co2:
name: "Master Bedroom CO2"
temperature:
name: "Master Bedroom MH-Z19E Temperature"
filters:
- offset: -3.0
update_interval: 60s
automatic_baseline_calibration: true
The screen:
display:
- platform: ili9341
model: TFT 2.4
rotation: 90
cs_pin: GPIO14 # (Pin on display - CS)
dc_pin: GPIO27 # (Pin on display - DC)
led_pin: GPIO32 # (Pin on display - LED)
reset_pin: GPIO33 # (Pin on display - RESET)
update_interval: 30s
id: my_display
pages:
- id: page1....
Anyone have a fix for this?