Page 1 of 1
ESP32-Ethernet-Kit and Laptop Communication over Ethernet
Posted: Wed Aug 19, 2020 6:11 am
by Yuvaraj1867
Hi,
Anybody has example code for sending and receiving data between ESP32-Ethernet-Kit and laptop using Ethernet cable.
Re: ESP32-Ethernet-Kit and Laptop Communication over Ethernet
Posted: Wed Aug 19, 2020 3:41 pm
by lbernstone
Ethernet is based on a hub and spoke model, where a switch/hub is expected to be in the middle. To directly connect two devices you would need a null cable where the TX and RX lines are swapped. This would also require static IPs on both sides.
Or, just buy a 2/4 port switch for $10. This is also much easier to troubleshoot since you will get lights for link & activity.
Re: ESP32-Ethernet-Kit and Laptop Communication over Ethernet
Posted: Thu Aug 20, 2020 8:29 am
by ESP_Sprite
From what I can tell, the transceiver on the ESP-Ethernet-Kit has auto-MDIX, so you don't need a crossover cable; just using a normal patchcable to connect the two boards should work fine.