Так все работает – Ethernet and Tasmota – ESP32 LAN8720A Board – All is Working.
ESP32 | LAN8720 board |
---|---|
GPIO16 – OSC_ENABLE | NC – Осциллятор ENABLE (белый провод, 4.7K к Ground) |
GPIO22 – EMAC_TXD1 | TX1 |
GPIO19 – EMAC_TXD0 | TX0 |
GPIO21 – EMAC_TX_EN | TX_EN |
GPIO26 – EMAC_RXD1 | RX1 |
GPIO25 – EMAC_RXD0 | RX0 |
GPIO27 – EMAC_CRS_DV | CRS |
GPIO00 – EMAC_CLK (Возле кнопки) | nINT/REFCLK (50MHz) |
GPIO23 – SMI_MDC | MDC |
GPIO18 – SMI_MDIO | MDIO |
GND | GND |
3V3 | VCC |
Tasmota Config Ethernet:
#define USE_ETHERNET // Add support for ethernet (+20k code)
#define USE_WT32_ETH01 // Add support for Wireless-Tag WT32-ETH01
#define ETH_TYPE 0 // [EthType] 0 = ETH_PHY_LAN8720
#define ETH_ADDRESS 1 // [EthAddress] 0 = PHY0 .. 31 = PHY31
#define ETH_CLKMODE 0 // [EthClockMode] 0 = ETH_CLOCK_GPIO0_IN