ESP 32 - is it possible to use W5500 ?

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
greg161
Posts: 10
Joined: Wed May 06, 2020 1:54 pm

ESP 32 - is it possible to use W5500 ?

Post by greg161 » Wed May 06, 2020 1:58 pm

Is it posiible to use ethernet like WizNet 5500k on ESP32 board under micropython ?

User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: ESP 32 - is it possible to use W5500 ?

Post by jimmo » Thu May 07, 2020 3:19 am

greg161 wrote:
Wed May 06, 2020 1:58 pm
Is it posiible to use ethernet like WizNet 5500k on ESP32 board under micropython ?
At this stage, not that I am aware of (although it would be possible for someone to make it work). See viewtopic.php?f=2&t=5851&p=36361 for details.

danielm
Posts: 167
Joined: Mon Oct 05, 2015 12:24 pm

Re: ESP 32 - is it possible to use W5500 ?

Post by danielm » Thu May 07, 2020 9:26 am

My understanding is that you can still use socket API of the Wiznet chip if you write a driver for that. It just won't be exposed to lwip. Am I right?

greg161
Posts: 10
Joined: Wed May 06, 2020 1:54 pm

Re: ESP 32 - is it possible to use W5500 ?

Post by greg161 » Mon May 11, 2020 7:57 am

So the other solution for wired connection on ESP 32 is to use LAN8720 according to https://github.com/micropython/micropython/issues/4502 ?

vinz-uts
Posts: 22
Joined: Fri Sep 10, 2021 9:22 am

Re: ESP 32 - is it possible to use W5500 ?

Post by vinz-uts » Fri Nov 12, 2021 9:53 pm

Hi, I've done some test with a ESP32-WROVER-IE and an external SPI Wiznet5500 ethernet chip. After a lot of research on this forum and github, I've decided to try to modify a pure-python adafruit driver (developed for circuitpython) for this chip. Now it seems works, but maybe it need more test. I can share this driver if someone will try to use it, or, if someone help me to understand the right steps, I will upload it in the right folder of micropython repo.

beyonlo
Posts: 58
Joined: Thu Nov 26, 2015 8:03 pm

Re: ESP 32 - is it possible to use W5500 ?

Post by beyonlo » Fri Apr 15, 2022 9:38 pm

vinz-uts wrote:
Fri Nov 12, 2021 9:53 pm
Hi, I've done some test with a ESP32-WROVER-IE and an external SPI Wiznet5500 ethernet chip. After a lot of research on this forum and github, I've decided to try to modify a pure-python adafruit driver (developed for circuitpython) for this chip. Now it seems works, but maybe it need more test. I can share this driver if someone will try to use it, or, if someone help me to understand the right steps, I will upload it in the right folder of micropython repo.
Hello @vinz-uts

1. Could you please share the source code Wiznet5500 driver to me test on the ESP32-S3?
2. Do you know if SSL/TLS works on sockets using the Wiznet5500?

Thank you.

tepalia02
Posts: 99
Joined: Mon Mar 21, 2022 5:13 am

Re: ESP 32 - is it possible to use W5500 ?

Post by tepalia02 » Sat Apr 16, 2022 2:21 am

Possible with circuitpython library: https://learn.adafruit.com/ethernet-for-circuitpython

User avatar
liudr
Posts: 211
Joined: Tue Oct 17, 2017 5:18 am

Re: ESP 32 - is it possible to use W5500 ?

Post by liudr » Mon May 02, 2022 4:52 am

tepalia02 wrote:
Sat Apr 16, 2022 2:21 am
Possible with circuitpython library: https://learn.adafruit.com/ethernet-for-circuitpython
Do you mean that you have used the circuitpython library and it will work? I've tested it and it didn't work entirely. Got IP address from DHCP but requests module didn't work. I was testing under circuitpython, not even micropython.

ayyoubzadeh
Posts: 3
Joined: Sun Aug 14, 2022 6:03 pm

Re: ESP 32 - is it possible to use W5500 ?

Post by ayyoubzadeh » Mon Aug 15, 2022 5:38 pm

I have implemented ESP32+W5500 check this repo:
https://github.com/Ayyoubzadeh/ESP32-Wi ... icropython

Post Reply