How can iI connect and send data between two arduinosArduinos using a ENC28J60 ethernet adapters on both of them.? Is there any guidesguide or example codescode for me to take a look from or any library which iI can use to achieve this communication?
I have one arduinoArduino connected to an ultrasound sensor and the other to ana relay module so that one arduinoArduino measures the distance between certain objects and send the distance to the other arduinoArduino, which then processes it to check if it is within a certain limit if. If not then turnit turns on the relay. I could have used two esp32ESP32 with one in AP mode but the range is not enough and serial communication is not possible, as the cables are fragile and the distance is too large and also i couldnt. Also I couldn't find another way of sending the data.
OpenI'm open to any suggestionssuggestion, even changing the method of communication? or. Or using of any other ethernet modules?module.