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.

Arduino Fixed-point Vehicle Proximity Detector.

Arduino Fixed-point Vehicle Proximity Detector.
This is the high-tech version of hanging a tennis ball from the ceiling from a piece of string.  Of course, if you have two different types of vehicles, that tennis ball isn't going to land in the same place on both of them.  This project can prevent hundreds of dollars in dry-wall repair and bicycle crank replacements, not to mention the shame of poor parking skills.

In this instructable, we'll be making everything "plug-n-play."  This gives us three advantages.  First off, you don't have to worry about frying electronics with poor soldering technique.  Second, modular impermanence means you can use almost all the parts again just by pulling them out of their sockets.  Third, good Arduino hardware and breadboard practices are oriented towards pin-plugging, so we'll include a technique that can be adapted to almost anything you want to plug into your Arduino (servos, motors, sensors, even speakers.)

To begin, gather your materials:
-An Arduino UNO board.  (Duemillanoves and Megas should work just as well, I just haven't tested them.)
-An HC-SR04 Ultrasonic Ping sensor.  There are two types commonly available-you want the four pin type for this tutorial.
-One Red LED
-One Yellow LED
-One Green LED
-Two 8-pin Din sockets
-One 180Ω Resistor
-24 gauge solid 2-twisted Pair Telephone hookup wire.
-Eight #17 stick pins
-about 4 inches of 1/8" heat-shrink tubing.
 
Tools:
-Soldering Iron and solder
-Angle snips
-Heat source for the heat shrink tubing (candle lighters or paint-remover guns work well.)
-Needle nose pliers and a "helping hand" work stand never hurt



 
Remove these adsRemove these ads by Signing Up
 

Step 1Step One:Ground the Current Limiting Resistor

Step One:Ground the Current Limiting Resistor
First, take one of the 8-Pin DIP sockets and your 180Ω resistor.  Place the resistor across three pins of the socket and solder it to each pin.  (It won't hurt anything to solder it to all 4.  Also, a resistor will probably stand up to the soldering without the heat-sink in the photo.  It's just good practice and it holds it in place well.)
« Previous StepDownload PDFView All StepsNext Step »
1 comment
Mar 27, 2012. 3:23 PMGelfling6 says:
Nicely done! I whipped up something similar, when I got my 1st Duemilinove about 1/2 a year ago, with one minor extra step.. the distances were

>5 feet = all off
5-4 ft. = Green
4-3 ft = yellow
3-2 ft = Red
<2 ft. ALL flashed rapidly! (warning a panic)


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!
4
Followers
2
Author:maxhirez