I will attach a code to be modified. I am looking to use an ESP32 with a 3 or 4 channel relay board to simulate a button press on another contact board for 3 of the relays over wifi. Basically, just using the 3 relays as a dry contact momentary switch each. Like it presses a button (so maybe closes the relay for one second and then opens the circuit to simulate a button press)? I need three dry contact momentary buttons to work through wifi. The attached sketch is to turn on and turn off a relay. I just want to turn each one on for a second or so and then do not need it to turn off since it is really just a button press. You can eliminate the turn off section. It would also be helpful to get a confirmation of the button press.
Hello, I am a senior device developer. I have plenty of experience in firmware development and micro-controller developments. I can write the firmware based on Arduino, Raspberry Pi, Pic, FPGA, ARM, DSP and so on. And Daha Fazla