Cheap depth camera with a small footprint to use with Arduino or Raspberry Pi

There are plenty of inexpensive distance sensors. Specify budget and range desired.