Jim, I am not asking anyone to provide me whole code, I am just asking for basics, What will be the logic and how this transmission will be possible,
I haven't mentioned anywhere to provide me code. Read that again
@jim-p Hey jim, While implementing the control box, we need the distance between LCD (20x4) and esp 32 (within control box), you can say 4 meters, So the Voltage connection from LCD to esp 32 can surely decrease. Can I use a regulator here to maintain voltages? Or suggest me any other better alternate.
Thankyou.
The biggest problem will be with data integrity. You can't send I2C data over 4 meters of cable.
Put the ESP32 next to the LCD and make the relay wires longer.
jim, you said, it will not work with internal pull up (INPUT_PULUP), now for connection of button, should I use resistor for external pull up or just do connection of pins with GND and other with digital pin? is 5V needed for one of pin of button?