Driver for ENC28J60 Ethernet chip

Discuss development of drivers for external hardware and components, such as LCD screens, sensors, motor drivers, etc.
Target audience: Users and developers of drivers.
Post Reply
User avatar
WZab
Posts: 25
Joined: Tue Jan 21, 2020 7:45 pm

Driver for ENC28J60 Ethernet chip

Post by WZab » Wed Jun 03, 2020 11:53 am

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

Fork
Posts: 2
Joined: Sat Feb 06, 2021 8:59 am

Re: Driver for ENC28J60 Ethernet chip

Post by Fork » Sat Feb 06, 2021 9:02 am

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

User avatar
WZab
Posts: 25
Joined: Tue Jan 21, 2020 7:45 pm

Re: Driver for ENC28J60 Ethernet chip

Post by WZab » Mon Feb 08, 2021 6:37 pm

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

User avatar
WZab
Posts: 25
Joined: Tue Jan 21, 2020 7:45 pm

Re: Driver for ENC28J60 Ethernet chip

Post by WZab » Wed Feb 10, 2021 1:27 pm

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

Fork
Posts: 2
Joined: Sat Feb 06, 2021 8:59 am

Re: Driver for ENC28J60 Ethernet chip

Post by Fork » Sun Feb 21, 2021 8:59 am

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

przemobe
Posts: 1
Joined: Sun Dec 26, 2021 11:22 pm

Re: Driver for ENC28J60 Ethernet chip

Post by przemobe » Sun Dec 26, 2021 11:30 pm

Hello,
Please find out my C to MicroPython ENC28J60 driver port:
https://github.com/przemobe/micropy-ENC28J60

I hope it will be helpful.

Przemobe

User avatar
jcf
Posts: 60
Joined: Wed Mar 03, 2021 11:14 am

Re: Driver for ENC28J60 Ethernet chip

Post by jcf » Mon Jan 16, 2023 4:52 pm

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.

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

Re: Driver for ENC28J60 Ethernet chip

Post by Roberthh » Tue Jan 17, 2023 11:35 am

You could look at the W5500_EVB_PICO config.

Post Reply