I’m thinking of taking my space creator further for this week’s Arduino project. I’ve spent some time today working with an IR sensor. The most useful link I found to learn the basics of this was a distance calculation project.
Through this, I was able to switch on an LED when the sensor reads an obstacle. I also found this project which details LED-IR led arduino instructions with some helpful links.
Last I saw, it was working. Good luck!