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 ads by
Signing UpStep 1Step One:Ground the Current Limiting Resistor
| « Previous Step | Download PDFView All Steps | Next Step » |














































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