OpenLightingProject / rp2040-dmxsun

RP2040-based USB DMX dongle with integrated web server
Apache License 2.0
96 stars 17 forks source link

pins for ws5500 #82

Open jazzvivi2 opened 1 year ago

jazzvivi2 commented 1 year ago

Hello! I'm doing some tests with the ws5500 branch, does it work? What would be the pins used to connect my ws5500 board to the rp2040?

Thank you!!

kripton commented 10 months ago

Hi, the W5500-branch relates to the v0.7 hardware. You can check the Kicad schematics and board files to see the connections. Due to personal reasons, I was not able to fully check the v0.7 hardware yet and it might well be that not everything works as expected. I plan to fix this in the upcoming days and weeks. If you do not want to install KiCad or are not familiar with it, you can also check one of the latest GitHub Action's build results. They should contain the schematics as PDF

phill-85 commented 9 months ago

I'm struggling to find the w5500 branch. Can the ethernet port be used instead of connecting it to via usb to a computer?

kripton commented 9 months ago

I'm struggling to find the w5500 branch. Can the ethernet port be used instead of connecting it to via usb to a computer?

Sorry, my fault. I keep very unstable developments in my own fork: https://github.com/kripton/rp2040-dmxsun/tree/ethernet_w5500

Yes, the Ethernet port can be used instead of the USB for web server, ArtNet and sACN/E1.31

phill-85 commented 9 months ago

Having looked further, it appears to be for a standalone W5500 board.

I've a couple of these laying around: https://docs.wiznet.io/Product/iEthernet/W5500/w5500-evb-pico only pins GPIO20, GPIO21 seem to be duplicated. Is this something that could be designed around?

kripton commented 8 months ago

Well, yes and no. It's not for a standalone-board, it's for the dmxsun hardware. The KiCad files are in this folder: https://github.com/OpenLightingProject/rp2040-dmxsun/tree/main/hardware. So, no, the pinout is most probably not compatible with https://docs.wiznet.io/Product/iEthernet/W5500/w5500-evb-pico. That board didn't even exist when I did the W5500 code.

For a workaround: Have a look at https://github.com/kripton/rp2040-dmxsun/blob/ethernet_w5500/src/pins.h to get an idea of the pinout. Or have a look at the schematics. You should be able to get the W5500 running but if pins overlap with what the dmxsun has, you will not be able to output 16 universes anymore. Are 8 universes enough for you? ;)