Hi,
Anybody has example code for sending and receiving data between ESP32-Ethernet-Kit and laptop using Ethernet cable.
ESP32-Ethernet-Kit and Laptop Communication over Ethernet
-
- Posts: 63
- Joined: Wed Mar 06, 2019 4:39 am
- Contact:
-
- Posts: 827
- Joined: Mon Jul 22, 2019 3:20 pm
Re: ESP32-Ethernet-Kit and Laptop Communication over Ethernet
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.
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.
-
- Posts: 9730
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32-Ethernet-Kit and Laptop Communication over Ethernet
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.
Who is online
Users browsing this forum: Baidu [Spider] and 73 guests