Hello, ladies and gentlemen. I am a home haunter who is just starting out with Arduino's and shields. What I would like advice on is this: I want to build a set of cemetery gates (they're lightweight, made of PVC and furring strips, only about 36" wide) that open independently of anyone touching them. I have an arduino uno, a parallax ping sensor, a motor drive shield, and a couple of servo motors.
What I'm missing is the code, as well as any general advice someone might have. I have generalized ping code to measure distance, but I do not know how to make it work with my application.
The best way I have been able to imagine setting this up is to place the ping sensor in the bottom of the arch facing out at an angle towards the end of my sidewalk at about a 30 degree angle, and run wiring from the arduino to a servo motor on both sides, which will be connected to the gates with small arms.
Does anyone see an issue with the way I am planning to set this up?