I have an Espressif ESP32 running a lighting circuit. When I switch the circuit on the ESP gets power and the ESP is programmed to switch on a relay (connected to a light) in the setup routine. The relay switch-on ...Read more
I have an Espressif ESP32 running a lighting circuit.
When I switch the circuit on the ESP gets power and the ESP is programmed to switch on a relay (connected to a light) in the setup routine.
The relay switch-on is practically the first command after initializing the GPIO pins in the setup routine.
My problem is that on some occasions the relay switches on within 500ms of the circuit being powered (which is acceptable) and other times there is a delay of about 20-30 seconds before the relay is activated.
What would cause this and how can I fix it?
The hardware User Manual contains the information required to access I/O and peripherals among other things. RH850/F1KM, RH850/F1KH User's Manual: Hardware (R01UH0684EJ0110) Sample code is available to demonstrate many of the concepts.
The hardware User Manual contains the information required to access I/O and peripherals among other things. RH850/F1KM, RH850/F1KH User’s Manual: Hardware (R01UH0684EJ0110) Sample code is available to demonstrate many of the concepts.