Process followed to solve the problem has been starting from scratch. So once the connections are made as indicated in the diagram, I use an elementary Arduino code to verify that the distance capture works correctly. once this is done it is necessary to eliminate text supply to the console since Firefly shows errors when it receives text since its functions are prepared to receive only integers. The rest is 20 park, the port of cooing corresponds to the one indicated in firefly and verify that the connection is correct.
connections
arduino verification
firefly working