so is this problem not caused by my coding, but rather towards wiring or signal?
it is noting to do at your end. it is just how it is suppose to be.
so whether this problem can be solved or already stuck, if it can be solved what method should I try
as you need alot of pins for your project, the current setup is best or if your project can be wired then add a ethernet shield to connect with a LAN cable.