I am not sure how to ask this correctly, but I will try.
I am wanting to use WLED on an ESP32 to control some lights in a vehicle. The ESP32 and LEDs will be powered directly from a 12v source. ( I already have the ESP32 / WLED / LEDs working)
To turn on / off the lights the trigger will be coming from the dome light circuit. The dome lights fade on and fade off. If I use a relay that is connected to the dome light ground side, that is activated by the 12 volts that pass when the dome light is activated, this will trigger the relay that takes a pin to ground on the ESP32 that will turn on the LEDs via WLED.
So the DC signal from the dome light circuit, I assume is a PWM signal, will this operate the relay without any adverse effects on the life of the relay, and will this also make the signal out of the relay to the ESP32 a PWM signal? If so how will this effect the LEDs turning on?
I want the LEDs to have the same on / off ramp as the dome light.
Is there a more elegant way to make this happen?
Thank you for any suggestions.
I am wanting to use WLED on an ESP32 to control some lights in a vehicle. The ESP32 and LEDs will be powered directly from a 12v source. ( I already have the ESP32 / WLED / LEDs working)
To turn on / off the lights the trigger will be coming from the dome light circuit. The dome lights fade on and fade off. If I use a relay that is connected to the dome light ground side, that is activated by the 12 volts that pass when the dome light is activated, this will trigger the relay that takes a pin to ground on the ESP32 that will turn on the LEDs via WLED.
So the DC signal from the dome light circuit, I assume is a PWM signal, will this operate the relay without any adverse effects on the life of the relay, and will this also make the signal out of the relay to the ESP32 a PWM signal? If so how will this effect the LEDs turning on?
I want the LEDs to have the same on / off ramp as the dome light.
Is there a more elegant way to make this happen?
Thank you for any suggestions.