Just about every “getting started with microcontrollers” kit, Arduino or otherwise, includes an ultrasonic distance sensor ...
I’m not usually a fan of AI cameras, but this one at least looks like it has some interesting educational ideas that I could ...