Page 1 of 1

Driver for ENC28J60 Ethernet chip

Posted: Wed Jun 03, 2020 11:53 am
by WZab
I have found a documentation to the ENC28J60 driver: https://software.open-dev.ru/docs/onlin ... 28J60.html
However I can't see the driver itself in the repository.
Does anybody know if that driver is going to be released?

With best regards,
Wojtek

Re: Driver for ENC28J60 Ethernet chip

Posted: Sat Feb 06, 2021 9:02 am
by Fork
Hi WZab,

I have seen your post and i searching also the implementation of the ENC-Driver. Do you have good news for this topic?

Fork

Re: Driver for ENC28J60 Ethernet chip

Posted: Mon Feb 08, 2021 6:37 pm
by WZab
Hi Fork,

Unfortunately, the driver for ENC28J60 seems to be not available. There is documentation on the page I have referenced, but no sources.
There are a lot of drivers for Arduino (e.g. https://github.com/njh/EtherCard ), there are drivers in C, but nothing ready for use with MicroPython. That's really a pity, because it would enable creating simple safely interconnected devices...
Theoretically it should be possible to convert a driver written in C into a MicroPython driver, however an issue describing such a conversion still remains open - https://github.com/micropython/micropython/issues/2593 .

With best regards,
Wojtek

Re: Driver for ENC28J60 Ethernet chip

Posted: Wed Feb 10, 2021 1:27 pm
by WZab
I have received information from open-dev.org, that the driver described in https://software.open-dev.ru/docs/onlin ... 8J60.html can't be released as open source.
It means that if we want an open MicroPython driver for ENC28J60 (it would be really nice), we have to do it ourselves.

With best regards,
Wojtek

Re: Driver for ENC28J60 Ethernet chip

Posted: Sun Feb 21, 2021 8:59 am
by Fork
Hi WZab,

Thanks for this informations. I saw also that driver available for Arduino. Probably I will switch with my project to the Arduino environment.

Fork

Re: Driver for ENC28J60 Ethernet chip

Posted: Sun Dec 26, 2021 11:30 pm
by przemobe
Hello,
Please find out my C to MicroPython ENC28J60 driver port:
https://github.com/przemobe/micropy-ENC28J60

I hope it will be helpful.

Przemobe

Re: Driver for ENC28J60 Ethernet chip

Posted: Mon Jan 16, 2023 4:52 pm
by jcf
Thanks for your driver! I got it to work with my chip.
However I have not enough knowledge (or maybe it is not possible / not easy) to make the Pico work like a PicoW, with the difference that it would be connected by cable.

Not to speek of doing MQTT ...

What would be needed is what is in the network and socket modules of the PicoW I suppose?
And they don't exist for the Pico.

Re: Driver for ENC28J60 Ethernet chip

Posted: Tue Jan 17, 2023 11:35 am
by Roberthh
You could look at the W5500_EVB_PICO config.