Hi all,
EtherNet/IP is becoming a bigger and bigger part of industrial communications. I thought it would be really neat to use an RPi 2040 to act as as a gateway to handle communications and interface with another board over UART. The idea being that one core would handle the EIP side of things and the other would communicate via UART with another microcontroller and update tags.
The physical layer seems straightforward but I am struggling with where to start on the firmware side of things. I was thinking an approach would be to adapt the pycomm3 module (https://github.com/ottowayi/pycomm3) to the rpi.
I thought I would open this up for any thoughts or words of wisdom. Has anyone done something like this?
Thanks!
EtherNet/IP Adapter
-
- Posts: 1
- Joined: Mon Jul 11, 2022 4:17 pm
Re: EtherNet/IP Adapter
Try one of these: https://www.wiznet.io/product-item/w5500-evb-pico/
Re: EtherNet/IP Adapter
There is also a PR outstanding by use @omogenot which support the W5500_EVB_PICO. See https://github.com/micropython/micropython/pull/8962. The W5100S_EVB_PICO is already supported by MicroPython.
Other RP2040/W5500 boards should be adapted easily. You can as well just wire a W5500 breakout board to a standard rp2040 Pico and use the W5500 firmware. That's what I did for testing.
Other RP2040/W5500 boards should be adapted easily. You can as well just wire a W5500 breakout board to a standard rp2040 Pico and use the W5500 firmware. That's what I did for testing.
Re: EtherNet/IP Adapter
Ah didn't realize there was a built in W5500 with an RPi. In any case, I definitely planned on the W5500 for the physical ethernet layer. Was more curious if anyone had thoughts on the software side of things