Hii all
I’m trying to setup andyboeh’s DMX512 extension, I’m stuck with implementation because I can’t see any data coming out of assigned GPIO. DMX uses a break signal. that one I can see every about 100us on GPIO04 with the Scope, but no data.
Any hints?
Thanks,
Regards,
Mike
Hardware is a ESP32-S3-DevKitC
Log output with simple debug on UART shows me:
[D][uart_debug:114]: >>> 00:0F:17:FF:FF:2D:00
I have two RGB lamps configured, so that makes sense for me.
Configuration:
uart:
id: uart_dmx_bus
baud_rate: 250000
debug:
tx_pin:
number: GPIO04
allow_other_uses: true # For ESPHome >= 2023.12.0
stop_bits: 2
dmx512:
id: dmx
uart_id: uart_dmx_bus
# enable_pin: GPIO06
tx_pin:
number: GPIO04
allow_other_uses: true # For ESPHome >= 2023.12.0
uart_num: 1
output:
- platform: dmx512
channel: 1
universe: dmx
id: pool_left_red
- platform: dmx512
channel: 2
universe: dmx
id: pool_left_green
- platform: dmx512
channel: 3
universe: dmx
id: pool_left_blue
- platform: dmx512
channel: 4
universe: dmx
id: pool_right_red
- platform: dmx512
channel: 5
universe: dmx
id: pool_right_green
- platform: dmx512
channel: 6
universe: dmx
id: pool_right_blue
light:
- platform: rgb
name: "Pool Light Left"
red: pool_left_red
green: pool_left_green
blue: pool_left_blue
icon: mdi:spotlight
default_transition_length: 1s
gamma_correct: 0
restore_mode: RESTORE_DEFAULT_ON
- platform: rgb
name: "Pool Light Right"
red: pool_right_red
green: pool_right_green
blue: pool_right_blue
icon: mdi:spotlight
default_transition_length: 1s
gamma_correct: 0
restore_mode: RESTORE_DEFAULT_ON