GalaxyRVR MicroController

Can I replace UNO R3 with Uno R4 Minima

Yes, it can. The Uno R4 Minima belongs to the same Arduino R4 family as the Uno R4 WiFi and uses the same UNO form factor and pin layout as the UNO R3 (5V logic level), so it can be plugged directly into the GalaxyRVR shield.

Thanks, I thought so.
However, my first trial with the UltraSonic Distance Sensor failed. Worked properly with the Sunfounder Uno R3, but not with Uno R4 Minima, also showing 0.0.
(And yes, I changed the Microcontroller and the port).

Why are Trigger and Echo both connected to Pin D10?