Finished the code for the parking sensor in about 10 minutes. I am using an arduino duemilanove microcontroller. The Arduino Duemilanove is a microcontroller board based on the ATmega328. It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz crystal oscillator, a USB connection, a power jack, an ICSP header, and a reset button.
I am using a PING))) Ultrasonic sensor, a large red LED, and the arduino. When an object gets within a certain programmed distance (in this case 40 inches), the red LED lights up. The sensor is amazingly accurate down to about 2 cm. Also, the response time in change in distances is within milliseconds.


