3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Ultrasonic Parking Sensor

Ultrasonic Parking Sensor
«
  • 2011-08-07 19.10.06.jpg
  • 2011-04-29 20.25.01.jpg
  • 2011-05-04 22.04.32.jpg
  • 2011-05-04 22.05.03.jpg
  • 2011-05-04 22.05.20.jpg
  • 2011-05-05 11.19.56.jpg
  • 2011-05-05 11.37.31.jpg
  • 2011-05-05 13.11.38.jpg
  • 2011-05-05 13.21.16.jpg
  • 2011-05-05 14.42.49.jpg
  • 2011-05-05 14.45.19.jpg
  • 2011-05-05 21.17.48.jpg
  • 2011-05-06 09.50.03.jpg
  • 2011-05-05 21.18.11.jpg
  • last photo ←
»
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!

2 comments
Aug 17, 2011. 7:34 AMSprechenRabe says:
Nicely done! I'll definitely use your solution as a basis for my garage position project. Now... when will I get to _this_ one... :-)
Aug 9, 2011. 2:32 AMbertus52x11 says:
Nice one! I'm going to make this for my mom.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
0
Followers
1
Author:atatistcheff