Preface: Actually, this five-port Gigabit switch is the first switch I made, but I didn't expect it to take so long to debug. I'm so mad! I didn't expect that Gigabit would generate so much heat!
QQ exchange group: 362898144 Currently, there are very few people in the QQ group. Welcome everyone to come in for technical exchanges! ! !
This is a five-port Gigabit switch, which has been verified and tested 7*24h (no minor problems have been found for the time being).
If you want to copy the homework directly, please download the bill of materials and shell information in the attachment directly! ! ! (Finally, the shell can be printed "Moving China"!!!)
When you see this project open source, the circuit board has actually reached VT1.4 version. After VT1.0-VT1.3, it can finally be used with confidence! ! ! (You can open it with a programmer to see that I have specially noted the optimization and changes in each version)
Debugging instructions:
I will not focus on other functions. Here I will mainly talk about expansion port 1 and expansion port 2! ! !
The expansion port supports two modes: RGMII (1Gbps) and MII MAC/PHY (10/100Mbps).
I have heard from a senior that although the expansion port of the RTL8367RB switch chip needs register (software) configuration, each chip is initialized by default configured as MII MAC/PHY. Then I found a PHY chip RLT8201F to use.
At this time, another problem arises: as shown in the figure below,
in MII MAC mode: MIM_TXD is sending; MIM_RXD
is receiving. In MII PHY mode: MIP_TXD is receiving; MIP_RXD is sending.
Because of this situation, I adjusted the pins correctly in the latest version of VT1.4! ! !
But it still doesn't work, but it can communicate with the LED light (and sometimes it works and sometimes it doesn't, so I am very surprised)

After a long time of verification, it can connect to the intranet, but can't surf the Internet! ! ! So I think the expansion port is still not adjusted properly, but I hope my research can give you some inspiration! ! !
Component selection and main matters:
If you are an electronics enthusiast or a student, you will have the same components as me. Don't pick out components that you don't need to buy (such as resistors and capacitors 0603 commonly used 1k 10k 100nf 1uf)
If you have other USB interfaces (such as Type-C female sockets, you can clone them to modify the schematics and PCB by yourself)
If you don't know anything and don't have anything, please purchase directly according to the component list in the attachment! ! !
The 0603 packaged LED lights do not specify what color to use. If you have other colors, you can solder them yourself! ! !
All components are mainly for saving money! ! !
Soldering instructions:
When you don't need to solder to expand two ports! These 1K resistors must be soldered or they will not start! ! !

The schematic diagram indicates that they are reserved and do not need to be soldered! ! ! The schematic diagram indicates that they are reserved and do not need to be soldered! ! ! The schematic diagram indicates that they are reserved and do not need to be soldered! ! ! The schematic diagram indicates that they are reserved and do not need to be soldered! ! ! !
Installation instructions:
When installing the bottom radiator: (As shown below, the capacitor is packaged in 0.1u 0402. If it is packaged in 0603, it cannot dissipate heat) The

purple-blue color in the figure below is a thermal conductive silicone sheet with a thickness of 1.0mm. You can buy it and cut it yourself! ! !
When installing the top radiator: (tear it open and stick it on)
Power consumption and heat:
Use a 5V2A adapter! ! ! (Using a 5V1A adapter will burn the adapter)
Maximum power consumption 4.8W-4.9W
(I forgot to take a photo, so I will just describe the situation in words)
When stress testing the switch, it was found that the heat of a gigabit cannot be ignored. Once it is overheated, the gigabit will become a hundred megabits! ! ! So the heat dissipation must be well suppressed! ! !
At present, the latest VT1.4 version has been stress tested: after connecting five ports, files can be transferred to each other, but the heat is very hot. It doesn't matter. As long as you install a heat sink, the 100M rate will not be reduced. At most, it will only slightly affect the transmission rate.
Cost link:
switch chip: about 10 yuan/PCS;
RJ45 with network port transformer: about 2.8 yuan/PCS;
3.3vLDO: about 1.8 yuan/PCS;
1.0vLDO: about 1.5 yuan/PCS;
Acrylic printing: 11 yuan/a whole set of shell heat dissipation. Sign in for free on Taobao to get a red envelope (if you don't understand, join the group and ask for free).
Other resistors, capacitors, and LED lights are negligible...
Finished product picture:
Front:
Back:
Copyright statement:
Attention! Attention! Attention!
The project is not for any commercial use! ! ! Please comply with the relevant open source agreement! ! !
If it is useful to you, please like and collect it to support my research and development
. If it is useful to you, please like and collect it to support my research and development.
If it is useful to you, please like and collect it to support my research and development.
(Important things are said three times!!!)