For an article explaining how real-life parking sensors work, I built a home version and rigged one of my kid's toy truck with it. It's based on the common HC-SR04 ultrasonic range sensor, an ATtiny85 microcontroller and a Decade Counter IC for lighting u