Using the ESP with a Ethernet Port through SPI

Discuss development of drivers for external hardware and components, such as LCD screens, sensors, motor drivers, etc.
Target audience: Users and developers of drivers.
User avatar
Roberthh
Posts: 2141
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: Using the ESP with a Ethernet Port through SPI

Post by Roberthh » Sat Dec 07, 2019 7:57 am

I have set up one W5500 board with an Pyboard V1.1, and it works well at first glance. Never tried to get it up with an ESP32 or Pyboard D.

User avatar
ta1db
Posts: 52
Joined: Mon Sep 02, 2019 12:05 pm
Contact:

Re: Using the ESP with a Ethernet Port through SPI

Post by ta1db » Sat Dec 07, 2019 8:22 am

@Roberthh Thanks for your prompt feedback..

I have a W5100 board in my hand and I prefer to use it if I can.
As far as I see the MicroPython official repository doesn't have w5100 c h files required for this. I found a source here: https://github.com/Wiznet/ioLibrary_Driver however the w5100 c h files found here need to be reworked to work with MicroPython. This is a little complicated for me with my existing MicroPython knowledge but I will try.. I appreciate your advise and help..

On the other hand I could flash ESP8266 with wiznet5K but I couldn't try because I don't have any W5500 or W5200 board in my hand, I will order soon.. By the way where did you buy your W5500 modules, the internet link given above in this thread gives about 1,5 month shipment time..

EDIT: In MicroPython documentation here http://docs.micropython.org/en/latest/l ... NET5K.html the Wiznet5K Class has been advertised as "class WIZNET5K – control WIZnet5x00 Ethernet modules" however the 5100 is not implemented; come on and add 5100 all together and make many people including me happy :lol:

User avatar
Roberthh
Posts: 2141
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: Using the ESP with a Ethernet Port through SPI

Post by Roberthh » Sat Dec 07, 2019 9:44 am

I do not remember where I purchased that. Could be Aliexpress (30 days delivery, ~2 €) or Amazon (2 days delivery, ~7 €).

User avatar
ta1db
Posts: 52
Joined: Mon Sep 02, 2019 12:05 pm
Contact:

Re: Using the ESP with a Ethernet Port through SPI

Post by ta1db » Sat Dec 07, 2019 11:57 am

Thanks Roberth ..

pdinoto
Posts: 2
Joined: Fri Jan 10, 2020 3:32 pm

Re: Using the ESP with a Ethernet Port through SPI

Post by pdinoto » Fri Jan 10, 2020 3:35 pm

Hi everyone,
i have a esp32 board with W5500 ethernet chip connected in SPI and i would like to use MicroPython with it so i can use all my previous code to create custom firmware.

Do someone have been able to integrate this chip into MicroPython?

pdinoto
Posts: 2
Joined: Fri Jan 10, 2020 3:32 pm

Re: Using the ESP with a Ethernet Port through SPI

Post by pdinoto » Thu Jan 16, 2020 12:38 pm

Ok probably nobody integrated the w5k chips with ESP32.

I'm a web software developer, so i have not enough embedded programming background/experience.
Can someone more experienced give me a starting point and/or a todo list of files/changes that must be done to integrate those drivers with ESP32 in MicroPython?

Thank you

Post Reply