08-30-2018, 06:58 PM
Pages: 1 2
08-30-2018, 07:26 PM
Ethernet support is updated couple of days ago.
It is now fully functional and tested with LAN8720 interface.
Embeded Ftp and Telnet servers works over Ethernet the same way as over WiFi (a fix for the current bug in Ftp server will be commited tomorrow).
Full documentation will be placed on Wiki in the next couple of days.
It is now fully functional and tested with LAN8720 interface.
Embeded Ftp and Telnet servers works over Ethernet the same way as over WiFi (a fix for the current bug in Ftp server will be commited tomorrow).
Full documentation will be placed on Wiki in the next couple of days.
08-31-2018, 08:18 AM
(08-30-2018, 07:26 PM)lobo Wrote: [ -> ]Ethernet support is updated couple of days ago.
It is now fully functional and tested with LAN8720 interface.
Embeded Ftp and Telnet servers works over Ethernet the same way as over WiFi (a fix for the current bug in Ftp server will be commited tomorrow).
Full documentation will be placed on Wiki in the next couple of days.
Thank you very much

09-12-2018, 06:12 AM
I have see you have
updated ethernet module
Thank you
How must I connect the LAN8720 Board to the ESP32 Board?
updated ethernet module
Thank you
How must I connect the LAN8720 Board to the ESP32 Board?
09-12-2018, 11:03 AM
It will be documented soon ( I know I'm late with all the new documentation).
The connections needed (user selectable pins in orange):
--------------------------------------------------------
ESP32 : LAN8720 board
--------------------------------------------------------
"power" - PHY_POWER : NC - Osc. Enable - 4k7 Pulldown (board modification needed)
GPIO22 - EMAC_TXD1 : TX1
GPIO19 - EMAC_TXD0 : TX0
GPIO21 - EMAC_TX_EN : TX_EN
GPIO26 - EMAC_RXD1 : RX1
GPIO25 - EMAC_RXD0 : RX0
GPIO27 - EMAC_RX_DV : CRS
GPIO00 - EMAC_TX_CLK : nINT/REFCLK (50MHz) - needs Pullup, but most esp32 boards already have one
"mdc" - SMI_MDC : MDC
"mdio" - SMI_MDIO : MDIO
GND : GND
3V3 : VCC
--------------------------------------------------------
LAN instance object has to be created:
lan=network.LAN(id=0, mdc=None, mdio=None, power=None, phy_addr=1, phy_type=0, clk_type=0)
mdc & mdio arguments are mandatory, power is mandatory with this type of boards.
Small modification is needed on the board, see attachment.
The connections needed (user selectable pins in orange):
--------------------------------------------------------
ESP32 : LAN8720 board
--------------------------------------------------------
"power" - PHY_POWER : NC - Osc. Enable - 4k7 Pulldown (board modification needed)
GPIO22 - EMAC_TXD1 : TX1
GPIO19 - EMAC_TXD0 : TX0
GPIO21 - EMAC_TX_EN : TX_EN
GPIO26 - EMAC_RXD1 : RX1
GPIO25 - EMAC_RXD0 : RX0
GPIO27 - EMAC_RX_DV : CRS
GPIO00 - EMAC_TX_CLK : nINT/REFCLK (50MHz) - needs Pullup, but most esp32 boards already have one
"mdc" - SMI_MDC : MDC
"mdio" - SMI_MDIO : MDIO
GND : GND
3V3 : VCC
--------------------------------------------------------
LAN instance object has to be created:
lan=network.LAN(id=0, mdc=None, mdio=None, power=None, phy_addr=1, phy_type=0, clk_type=0)
mdc & mdio arguments are mandatory, power is mandatory with this type of boards.
lan=network.LAN(mdc=23, mdio=18, power=5)
lan.active(True)
Small modification is needed on the board, see attachment.
09-13-2018, 10:17 AM
Im using for a while Ethernet chip which is LAN8720. Its easy to use and works good stable.
Attached a photo about connection if you want to use only LAN8720 chip
lan = network.LAN(id = None, mdc = Pin(23), mdio = Pin(18), power = Pin(12), phy_addr = 1, phy_type = network.PHY_LAN8720)
lan.active(True)
Attached a photo about connection if you want to use only LAN8720 chip
10-25-2018, 11:21 AM
I've recently bought ESP32-POE [1] board from OLIMEX that incorporates LAN8710 ethernet chip. Do you think I can use it without hardware modifications with this firmware?
Best regards,
[1]
https://www.olimex.com/Products/IoT/ESP3...e-hardware
Best regards,
[1]
https://www.olimex.com/Products/IoT/ESP3...e-hardware
10-25-2018, 02:01 PM
(10-25-2018, 11:21 AM)readylan Wrote: [ -> ]I've recently bought ESP32-POE [1] board from OLIMEX that incorporates LAN8710 ethernet chip. Do you think I can use it without hardware modifications with this firmware?
Best regards,
[1]
https://www.olimex.com/Products/IoT/ESP3...e-hardware
It should work.
You may need to use different parameters, I think the correct settings are (clk_type=3, mdc=23, mdio=18, power=21).
If not working with the default phy_addr=1 you may try phy_addr=1.
Please report if it works.
10-25-2018, 05:18 PM
(10-25-2018, 02:01 PM)lobo Wrote: [ -> ]Yes for sure, thank you !(10-25-2018, 11:21 AM)readylan Wrote: [ -> ]I've recently bought ESP32-POE [1] board from OLIMEX that incorporates LAN8710 ethernet chip. Do you think I can use it without hardware modifications with this firmware?
Best regards,
[1]
https://www.olimex.com/Products/IoT/ESP3...e-hardware
It should work.
You may need to use different parameters, I think the correct settings are (clk_type=3, mdc=23, mdio=18, power=21).
If not working with the default phy_addr=1 you may try phy_addr=1.
Please report if it works.
I'm waiting for it to arrive from Bulgaria

It will be better to go step by step but, do you think It's posible to use both interfaces simultaneously to work on this scenary (local area network):
ESP_1 (wifi) \
10.0.0.101 \
ESP_2 (wifi) ---> ESP_0 (wifi AP + Ethernet) --> Other staff (Ethernet)
10.0.0.102 / 10.0.0.100 10.0.0.1
ESP_3 (wifi) /
10.0.0.103
Best regards,
Eduardo
10-25-2018, 11:37 PM
While we're at it I just thought I'd mention that there is a Crowd Supply campaign (already funded) for the wESP32 [1] which is another ESP32 with Ethernet+POE that uses the LAN8720.
[1] https://www.crowdsupply.com/silicognition/wesp32
[1] https://www.crowdsupply.com/silicognition/wesp32
Pages: 1 2