loading
I've been tinkering with Arduino for a few months now. It's a lot of fun but one of the challenges is to find useful projects. Blinking LEDs is nice but I'd like to make something to fill a need or do something in a new way. Parking our cars in the garage has always been a bit of a pain. Is the car/truck in far enough to get the door closed? Is it in too far? (signified by a "crunch" from the stuff stored along the back wall) This seemed like something that could be done with an Arduino, a distance sensor and some LEDs.

Turns out it was a bit more difficult than I thought.

I tried at first with an Infrared rangefinder sensor however this proved to be too erratic probably due to the shiny surfaces on the front of the vehicle. Also the narrow beam of the IR sensor made adjusting the sensor problematic. I then went with a Maxbotix ultrasonic sensor which has a wider beam and was not sensitive to the light refracting surfaces.

I didn't include much as far as step-by-step, I've included some photos, a circuit diagram and the Arduino code i used.  With this information any Arduino hobbyist should be able to make a similar sensor.  The case I used was an old hard drive box from a Compaq laptop, of course any suitable sized project box would work fine.

The board I picked was a Diavolino from Evil Mad Science.  I pickted it because it was inexpensive and cool looking.  The board doesn't have a USB controller for programming so I bought the Adafruit FTDI Friend.  This makes projects less expensive since I can buy an Arduino board without the controller then reuse the programmer for different projects. 

I created a Youtube video showing a quick overview of the parts and showing the sensor in action.

Please post questions or comments below.  Have fun!

As I mentioned to a similar design someone posted, using the PING)), I concepted a similar idea, which only used 1 each red, yellow, & green.. as long as nothing was within 6 feet, all LED's would remain off.. 4-6 feet, the green LED would light.. 3-4 feet, the yellow would light, 1-3 feet, the red would light, and anything less than 1-foot, would cause all three to flash rapidly. (objective, attention getter.. "Hey! You're Close Enough!!") Great design!
Nicely done! I'll definitely use your solution as a basis for my garage position project. Now... when will I get to _this_ one... :-)
Nice one! I'm going to make this for my mom.

About This Instructable

17,997views

50favorites

License:

More by atatistcheff:Ultrasonic Parking Sensor 
Add instructable to: