Good afternoon, I have a Yaml file that uploads correctly into my ESP WROOM 32U and partially works. The Yaml file is below.
As can be seen, this controls 5*5v relays via GPIO pins. The issue is that GPIO pins 21 and 22 do not control the Ralays as the other GPIO pins do. I must be doing something wrong, if anyone cpould assist I would be grateful.
I notice with your current code, the relays will be on by default, if you want them to be off by default, you must add the inverted: true option.
maybe that’s the issue, the relays are already on?
Yizhet 5V 8 Channel-Relay, DC 5V 230V Relay Shield Module Control Board with Optocoupler for Raspberry Pi Arduino PIC AVR MCU DSP ARM TTL Logi
From Amazon.
With gnd from ESP32 to gnd pin next to the control pins and 5v from the ESPP32 to the VCC pin next to the control pins. A seperate 5v DC power supply conected to GND (-5v) and vcc (+5v) connected to JD-VCC.