Use two MKR RS-485 and a UNO Wifi rev2 and a NANO

The MAX3157 on the MKR-485 shield can operate from a 5V supply. Careful examination of the MKR-485 schematic will show you were to apply 5V to operate it at that level.

Have a look at this discussion for a bit more info: