Smart Home Automation Forum

Full Version: how to use AG8 work with tasmota using ethernet w5500 chip
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
1. connect AG8 with USB-C cable to your computer, connect ethernet cable with router.
[attachment=8159]
2. download tasmota firmware by web tool.
[attachment=8160]
3. define Ethernet GPIO for module config option:

Ethernet (W5500) I/O define:

clk_pin: GPIO42
mosi_pin: GPIO43
miso_pin: GPIO44
cs_pin: GPIO41
interrupt_pin: GPIO2
reset_pin: GPIO1

* Used SPI W5500
* SPI_MOSI
* SPI_MISO
* SPI_CLK
* SPI_RST = Tasmota ETH_POWER
* SPI_IRQ = Tasmota ETH_MDIO
* SPI_CSĀ  = Tasmota ETH_MDC

[attachment=8161]
[attachment=8162]

4. send "EthType 8" command from tasmota console

EthType Ethernet type.
0 = ETH_PHY_LAN8720 (default)
1 = ETH_PHY_TLK110
2 = ETH_PHY_RTL8201
3 = ETH_PHY_DP83848
4 = ETH_PHY_DM9051 (SPI)
5 = ETH_PHY_KSZ8081
6= ETH_PHY_KSZ8041
7 = ETH_PHY_JL1101
8 = ETH_PHY_W5500 (SPI)
9 = ETH_PHY_KSZ8851 (SPI)

[attachment=8163]

5. now you will see the ethernet w5500 ip address:
[attachment=8164]