← Back to Explore

Ethernet Interface

Design approved card · advanced

Made by
Simon

About this project

Who doesn't like a bit of hardwired internet???????

MD0
1k1
MD1
1k5

Journals

Follow the progress behind this project.

1h

Case

At first i imported the pcb into onshape as a step file with the 3d models so i could base the case off the 3d models.

image

Then i created a sketch that had a perimeter and some other features all included in the sketch so it would only take a few extrudes to finish it.

image

Then i extruded the perimeter on the outside of the case.

image

Now i created a top so it wouldn't be a open module.

image

Now it looked like this a bit not so nice, i wanted to create some fillits so it looked a bit nicer and here is a before and after.

image

image

Credits

@KOEG

5h

PCB layout and routing

At first i started with the layout of the bigest components like the network connector the ic and the expansion connector, these would be the most irritatingly in the way so i wanted to get them out of the way as soon as possible.

image

Then i started with routing the most important traces off them all the ethernet pairs. I used the calculator from jlcpcb to calculate the impedance needed, tho for this short length it wouldn't matter much.

image

now it was time to do the next thing This was where i would want all the components, i also looked at other ethernet connectors but 90% of them where to long so this was the way to go.

image

Then i started with decoupling the ic and also adding the crystal for the ic, i decided on a 2 sided pcb because of the space constraints.

image

Now i had some more components placed down i needed to length match the tx trace, i did this and this worked, but just barely.

image

Next things next I started thinking about how i wanted to lay out the rx trace, it was really aquard spot and i had tried a few different things. Here i had a general idea of where i wanted the components that where needed in between the rx and tx traces.

image

The next picture was a small step of brainstorming the ethernet traces.

image

Then i routed the RX side and found out this is what i had to deal with.

image

So i tried a few different things but ended up here with this botched up trace so + and - of the RX trace would line up.

image

Then it was time for some length matching, and some was an understatement, 5mm for this was crazy but eah its what we have to do, im just gradefull i didn't need to lenght match rx to tx that would be terror.

image

Now time for the length matching here is its beutifull sight.

image

Then i routed the 3.3V power trace and the spi bus.

image

Now at the end, here are a few final pictures of the end product.

image

image

image

image

image

Credits

@KOEG

1h 30m

Schematic

So at first i laid out all the ic's and connectors i needed. With the things i choose in the last journal image Then i started following the datasheet of the W5500 for the right capacitances and resistances needed for the different pins used first i started with the pins that were defined what stuff they needed in the pinout diagram. image Then i found the specs of the crystal i needed. I directly implemented that into the schematic as per datasheet rules. image After this i dug a bit deeper and did allot of decoupling for the voltage in. image Then i started on the Ethernet connector, at first i did the status leds for the ethernet connector so it would show the rights stuff you would expect it to show. image Then i started on the hardest part, the decoupling and resistors needed for the tx and rx pairs of the Ethernet connection, this is after 2 times still black magic for me but i just follow the datasheet of the W5500. image After some tries i got it done and had it laid out nicely that i was happy with. image Then i did the right labels for the Ethernet ic, the spi pins and the reset pins ext. the rest i stopped of with those cross thingies. image Now it was time to connect it to the module connector. This was a bit of a unknown. I only connected the pins that would need to go to specific pins so i could choose the pinout for the others while doing the PCB design so it would match the PCB better. image Then at the end a total of the schematic. image

20m

Brainstorm

So long story short i wanted internet and specifically Ethernet because who doesn't love a wire :yay: Well i did a bit of digging and most of the phys i found used in most devices need a special part in the microcontroller so to prevent that i went for the good old W5500 SPI ethernet phy. Then i went for the best selling Ethernet connector with integrated magnetics. image Apart from that it will be a very tight module but o well challenges are fun.