Well it's a bit dificult to concrete my desire architecture Lok24. My son have two new trains from this chirstmas and I've an arduino with bluettoth and ESP32 to make some simple circuits. And this days I found legoino library example navigating from internet. First I think is put a screen info in the station with information and make some servo barriers, but it could be nice that train go in the little circuit I've and stops when found a lego color brick like this video. But when my son put this bricks it posible to have a crach and I think hc-sr04 that I 've from arduino pack I could be nice to avoid it. And here we are with 2 trains, 1 arduino and 1 ESP32 and searching as musch information as I can to build something simple to my son and strat my first project.
Thanks