loading
Picture of Deer Chaser
IMG_3382.JPG
IMG_3383.JPG
IMG_3384.JPG
IMG_3385.JPG
Protect your garden with the Deer Chaser Mk I. Guaranteed to protect your precious crops from voracious deer. All weather operation. 100% effective.

What you will need:
Arduino Mega 2560
Motor shield
LEDs
Parallax Ultrasonic sensor
Servo
Various wires
Ribbon cable
Cheap Tupperware
USB wall charger
Arduino cable (3 ft) 

Step 1: Wiring

Picture of Wiring
We will begin wiring the ultrasonic sensor and the LEDs.

You will be connecting the wires to these pins:
20
21
26
36
38
40
GND
GND
 
The BAD thing is, you are using a 40 pin connector, 80 conductor cable here.
The concept is cool, BUT not all the pins on the connectors are actually connected in an 80 conductor 40 pin cable.
If you were using a 40 conductor 40 pin cable, you could wire to your heart's content without worry.
I just thought that needed to be pointed out!
You give a list of the pins you connected but you don't say what you connected them to? Could you add a schematic/wiring diagram. Thanks!
Also from the pictures I assume you are using the servo to move/ rattle the "pringles" can. Am I correct?
ljmays (author)  Lectric Wizard1 year ago
It does rattle the can. I'll add a schematic soon. I didn't realize that it is a bit confusing just looking at a picture of the wires.