ESPixelstick and Lan8720a

Hi.
So, I've successfully connected the ESP32 80pin to the LAN8720a board. It does work, but I have questions/observations.
I've wired it up as per this image https://github.com/flusflas/esp32-ethernet

Firstly.
Is this how you would wire it up @MartinMueller2003 ? as per the image in the link.
And if so, do I need to connect any resistors in between some of the pins?
There seems to be some inconsistencies when it boots. Sometimes I need to press the reboot button to get it connected to the ethernet.
I am using pins 0, 2 and 4. to control 3 props.
The power led doesn't lights and I presume it's because I'm using pin 2 as an output instead of the internal LED.
Can I gain back the gpio that are assigned to the SD card now that I'm not using the sd card but the fields are still populated in ESP4

I think that's all for now.
Thanks
 
Yes you can use the SD card pins as outputs. FYI: It is always a bad idea to use GPIO 2 unless you provide a high impedance device that will not affect the internal usage of the pin at boot time.

You do not need to add external resistors. The internal pullups work just fine. In my code I list all of the pins in the gpio defs files so that you can use that to check your pin usage.
 
Take a look at the quinled quad eth platform file.

#define DEFAULT_RMT_0_GPIO gpio_num_t::GPIO_NUM_16
#define DEFAULT_RMT_2_GPIO gpio_num_t::GPIO_NUM_3
#define DEFAULT_RMT_3_GPIO gpio_num_t::GPIO_NUM_1
#define DEFAULT_RMT_4_GPIO gpio_num_t::GPIO_NUM_4
 
Thank you. Got it working on the quad eth platform. Only thing I had to do was move the power on wire from pin 16 from the wiring diagram to pin 5 as per the default pin settings in ESPixelstick. I also had to change another setting on the network page from 0 to 1. I forget what it was called. Something about Physical MDIO.
 
Back
Top