Hi everyone, i've recentloy posted a diagram showing a esp32 connected to a pc817 octocoupler then to an ESP32, @Wawa did correct me about the value of a resistance (100ohm was too low) so i changed the circuit, tried it yesterday with a friend's driver as mine is waterproof so it would be a pain to use for testing (no clips, no nothing) and it lit the LED this time but it would nearly instantly shutdown, we tried a few times, changing the brightness value would lit the LED again but they again shut almost immediatly, so i figured/assumed we triggered one of the protection mecanism of the driver (it has plenty : OVER CURRENT, SHORT CIRCUIT , OVER VOLTAGE , OVER TEMPERATURE)
Im using ESPHOME as the software as indicated in this video with this configuration :
output: - platform: ledc pin: 23 frequency: 1220 Hz inverted: true id: led_pwm channel: 0
Here is the new diagram after wawa's advice (thanks)
Here's a picture of the circuit in case i missed something and misrepresented it
the octocoupler's mark is represented by the red dot and the blue and white wire should be connected to DIM+, DIM- on the driver.
Thanks in advance, i hope i can get this to work !
PS: just thought about it but i used the wires showed in the picture to connect to the dim using wire clips, could they have been too thin to witstand the current ?