Arduino + TF Mini

The accumulated distance data could be used to map the room in 2D, but I doubt the serial plotter would be useful to display the result.

More information would be required to make the map, though, such as the location of the distance sensor, and the direction it is pointing when it makes a measurement.